Bulk Save During Answer
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
[
{
"questionId":"9",
"answer":"5"
},
{
"questionId":"10",
"answer":"2"
},
{
"questionId":"11",
"answer":"3"
}
]
Request Code Samples
curl --location --request POST 'https://service-dash.dlabssaas.io/rest/web/secured/participant/during/answer/bulk-save' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"questionId":"9",
"answer":"5"
},
{
"questionId":"10",
"answer":"2"
},
{
"questionId":"11",
"answer":"3"
}
]'
Responses
application/json {
"status": "success",
"data": [
{
"questionId": "9",
"answer": "5"
},
{
"questionId": "10",
"answer": "2"
},
{
"questionId": "11",
"answer": "3"
}
],
"info": {
"id": "SUCCESS_SAVE_DATA",
"message": "Answers successfully saved !",
"messageEn": null,
"messageId": null,
"field": null,
"redirect": null
}
}
Modified at 2024-08-05 08:24:31