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.
PATCH/hierarchy/update
• /hierarchy/update/ endpoint executes the "Update Hierarchy QuestionSet" request based on parameters provided as metadata in the request body.
•This API is used to add new children and update the existing children or update a hierarchical structure of the question set.
• It points to inquiry-api-service (assessment service) - /questionset/v4/hierarchy/update
• 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.Possible media types can be: Application/json
Authorization*
String
All question APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.
Set Bearer {{api_key}}
x-channel-id
String
Unique identification number associated with a root organization.
Request Body
Name
Type
Description
request*
Object
It contains metadata and a hierarchy of the question set to be updated.