Update Hierarchy QuestionSet
This API is used to update the existing question set on the Sunbird-inQuiry Platform.
This API is used to update the existing question set on the Sunbird-inQuiry Platform.
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"id": "api.questionset.hierarchy.update",
"ver": "5.0",
"ts": "2023-06-29T07:51:03ZZ",
"params": {
"resmsgid": "221f9cdb-c220-4d3f-a579-4e7b82facf89",
"msgid": null,
"err": null,
"status": "successful",
"errmsg": null
},
"responseCode": "OK",
"result": {
"identifier": "do_113208431570984960123",
"identifiers": {
"section-1": "do_113208433229889536126",
"question-1": "do_113208433229873152124"
}
}
}{
"id": "api.questionset.hierarchy.update",
"ver": "5.0",
"ts": "2023-06-29T07:51:03ZZ",
"params": {
"resmsgid": "04e218fc-76bc-4fd3-b98d-5ed947a30b8b",
"msgid": null,
"err": "ERR_QS_UPDATE_HIERARCHY",
"status": "failed",
"errmsg": "Question cannot have children in hierarchy"
},
"responseCode": "CLIENT_ERROR",
"result": {
"messages": null
}
}Request Sample
Request Shema
Attribute
Type
Description
Required
Success result schema
Attribute
Type
Description
cURL
Last updated
Was this helpful?