Use this endpoint to deselect a previously selected option.
This endpoint works only for EXTENDING type questions. (See QuestionType )
Request
Request header additional fields
|
Parameter name |
Parameter type |
Parameter description |
|---|---|---|
|
|
string |
The ongoing check identifier |
Request body parameters
|
Parameter name |
Parameter type |
Parameter description |
|---|---|---|
|
|
string |
The ID of the question that should be removed from the selected option. |
|
|
Answer object including the ID of the option item to remove. |
Examples
A previously selected option item with ID ‘ebf2b5b3-1d42-40ec-bba0-6a43f9da5b5a' should be deselected from the question with ID 'e38f994b-6464-4c49-8b11-28687031d46d’.
JSON
{
"questionId": "e38f994b-6464-4c49-8b11-28687031d46d",
"answer": {
"id": "ebf2b5b3-1d42-40ec-bba0-6a43f9da5b5a"
}
}
Response
The endpoint returns with status code 204 if the operation was successful.