...
API accepts the request payload similar to content state update API. Along with responseKeys in the assessment.
Code Block |
---|
{ "request": { "userId": "843a9940-720f-43ed-a415-26bbfd3da9ef", "assessments":[ { "assessmentTs": 1681284869464, "batchId": "0132677340746629120", "collectionId": "do_213267731619962880127", "userId": "843a9940-720f-43ed-a415-26bbfd3da9ef", "attemptId": "5486724f41afb4997118e6d97695684f", "contentId": "do_2129959063404544001107" }, responses:[{ "identifier":"<question-id>", "questionType": "", "userResponse":[""], "responseKey":["<response-key>"] }] }], "contents": [ { "contentId": "do_2132671468826214401203", "batchId": "0132677340746629120", "status": 2, "courseId": "do_213267731619962880127", "lastAccessTime": "2023-04-12 12:56:45:687+0530" }, ] } } |
...