/1/assessment - PATCH

Overview

This api is used to update data for the assessments like startDate or color etc

Headers

KeyValueExample
User-Agent<company identifier>The exact value here is not important, but it should include something to identify your company
Acceptapplication/json
AuthorizationBearer <your token>Bearer *****************
X-LearnerId
(Required)
123The learner Id of user for which you want to fetch the assessments data for

Params

KeyValueDescription
assessmentId (Required)<assessment to be updated>pass the assessment id of the the assessment to be updated e.g 123

Body

KeyValue
startDateStart date of the assessment to be updated
colorHex code of the color to be updated e.g #ffffff

curl --location --request PATCH 'https://api-sandbox.vbmappapp.com/1/assessment?assessmentId=1264' \
--header 'X-LearnerId: 19353' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer **********' \
--data '{
    "startDate" : "2025-04-24T05:16:09Z",
    "color" : "#fffff"
}'

Did this page help you?