Create Question
This API is used to create Questions on the Sunbird-inQuiry Platform.
This API is used to create Question on the Sunbird-inQuiry Platform.
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"id": "api.question.create",
"ver": "3.0",
"ts": "2021-02-02T19:28:24ZZ",
"params": {
"resmsgid": "8b75d237-1028-4e38-a94a-9ff4ca784d76",
"msgid": null,
"err": null,
"status": "successful",
"errmsg": null
},
"responseCode": "OK",
"result": {
"identifier": "do_11320791330308096015",
"versionKey": "1612294104382"
}
}{
"id": "api.question.create",
"ver": "3.0",
"ts": "2021-02-02T19:41:56ZZ",
"params": {
"resmsgid": "86481a2f-513e-4fd4-a1dd-46a7ebcb1e65",
"msgid": null,
"err": "CLIENT_ERROR",
"status": "failed",
"errmsg": "Validation Errors"
},
"responseCode": "CLIENT_ERROR",
"result": {
"messages": [
"Metadata mimeType should be one of: [application/vnd.sunbird.question]"
]
}
}Sample Request
Request Schema
Attribute
Type
Description
Required
Success Result Schema
Attribute
Type
Description
cURL:
Full Request Example
Last updated
Was this helpful?