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": "5.0",
"ts": "2023-06-29T03:20:53ZZ",
"params": {
"resmsgid": "5b4a288b-0875-4fc0-ab8d-b50a973f5ebd",
"msgid": null,
"err": null,
"status": "successful",
"errmsg": null
},
"responseCode": "OK",
"result": {
"identifier": "do_2138281685237841921513",
"versionKey": "1688008853076"
}
}{
"id": "api.question.create",
"ver": "5.0",
"ts": "2023-06-29T03:37:12ZZ",
"params": {
"resmsgid": "b0e80224-9327-4e91-a565-c8ede7b27e1f",
"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?