This API is associated with copying question on the Sunbird Platform.
This API is associated with copying question on the Sunbird Platform.
POST/question/v1/copy/{Question_Id}
• The endpoint for Copy Question is /question/v1/copy
• It points to inquiry-api-service (assessment service) - /question/v4/copy
• You need to provide a valid Question Id value in {Question_Id} field of the API URL.• All parameters marked with * are mandatory. You must provide values for these parameters.
• Mandatory fields cannot be null or empty.
{"id": "api.question.copy","ver": "3.0","ts": "2023-06-23T06:40:01ZZ","params": {"resmsgid":"d078ab42-7650-4e5f-8c30-43f37d3ac244","msgid":null,"err":"ERR_INVALID_REQUEST","status":"failed","errmsg":"Please provide valid value for [createdFor]" },"responseCode": "CLIENT_ERROR","result": {"messages":null }}
The Content-Type entity is the media type of the resource. The possible media types can be: Application/json
Authorization*
String
You require authorization to make use of the API. 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 organisation.
request*
Object
The body is the representation of the resource object for importing a question set
createdBy
Represents the the user who triggered the copy operation
string
createdFor
Represents the organization on behalf the request was triggered