/1/assessment - PATCH
Overview
This api is used to update data for the assessments like startDate or color etc
Headers
Key | Value | Example |
---|---|---|
User-Agent | <company identifier> | The exact value here is not important, but it should include something to identify your company |
Accept | application/json | |
Authorization | Bearer <your token> | Bearer ***************** |
X-LearnerId (Required) | 123 | The learner Id of user for which you want to fetch the assessments data for |
Params
Key | Value | Description |
---|---|---|
assessmentId (Required) | <assessment to be updated> | pass the assessment id of the the assessment to be updated e.g 123 |
Body
Key | Value |
---|---|
startDate | Start date of the assessment to be updated |
color | Hex 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"
}'
Updated about 1 month ago