Create QuestionSet
This API is used to create a question set on the Sunbird-inQuiry Platform.
This API is used to create a question set on the Sunbird-inQuiry Platform.
POST
/questionset/v2/create
• The endpoint for Create QuestionSet is /questionset/v2/create • It points to inquiry-api-service (assessment service) - /questionset/v5/create • It is mandatory to provide values for parameters marked with * • Mandatory fields cannot be null or empty.
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | The Content-Type entity is the media type of the resource. The possible media types can be:- Application/json |
Authorization* | String | To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here. Set Bearer {{api_key}} |
x-channel-id | String | Unique identification number associated with a root organization. |
Request Body
Name | Type | Description |
---|---|---|
request* | Object | The body is the representation of the resource object for creating questionset |
Sample Request
Request Schema
Attribute | Type | Description | Required |
---|---|---|---|
name | String | Represents the name of the questionset | Yes |
code | String | Represents the unique code for the questionset | Yes |
mimeType | String | questionset mime type | Yes |
primaryCategory | String | PrimaryCategory agains which questionset schema will be validated | Yes |
Success result schema
Attribute | Type | Description |
---|---|---|
identifier | String | Unique Question identifier |
versionKey | String | Unique version key for question |
cURL
Complete example
The following request is to create a question set object with basic information. To add additional metadata, and questions, please use the question-set update hierarchy API.
Last updated