Read Private Question
This API is used to read the private question on the Sunbird-inQuiry Platform.
This API is used to read the private question on the Sunbird-inQuiry Platform.
GET
/question/v2/private/read/{question_id}
Private Questions are created within a specific channel. The user can fetch the question by providing that channel id in a request header. • It points to inquiry-api-service (assessment service) - /question/v5/private/read • You need to provide a valid Question Id value in {question_id} field of the API URL. • It is mandatory to provide values for parameters marked with *. • Mandatory fields cannot be null or empty.
Path Parameters
Name | Type | Description |
---|---|---|
question_id* | String | Append a valid Question ID To the Request URL |
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | The Content-Type entity is the media type of the resource. It should 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. |
Sample Response
Success Result Schema
Name | Type | Description |
---|---|---|
identifier | String | Unique Question Identifier |
name | String | Name of the Question |
versionKey | String | Unique version key of Question |
code | String | Unique Code for Question |
lastStatusChangedOn | String | Last status changed time |
visibility | String | Question Visibility eg. parent |
mimeType | String | Question mimeType eg. |
createdOn | String | Time of question creation |
objectType | String | Question objectType |
primaryCategory | String | Type of question - |
status | String | Question status |
lastUpdatedOn | String | Last Updated time |
cURL
Last updated