Use this endpoint to change the given answer for a previously answered question
Request
Request header additional fields
|
Parameter name |
Parameter type |
Parameter description |
|---|---|---|
|
|
string |
The ongoing check identifier |
|
|
In some cases, a question needs to be generated to the check during the change of an answer. This parameter determines the language of the generated question. Rolls back to check's language if not provided. |
Request body parameters
|
Parameter name |
Parameter type |
Parameter description |
|---|---|---|
|
|
string |
id of the answered question |
|
|
If the question is not skipped, the answer can be included in this object |
Examples
The patient changed the answer to the option item with id 'ebf2b5b3-1d42-40ec-bba0-6a43f9da5b5a'
{
"questionId": "e38f994b-6464-4c49-8b11-28687031d46d",
"answer": {
"id": "ebf2b5b3-1d42-40ec-bba0-6a43f9da5b5a"
}
}
The patient changed the answer to 'skip'
{
"questionId": "183d2cd6-567f-416b-befb-065500cbaf57"
}
Response
The endpoint returns with status code 200 if the operation was successful