Adds a response to a performer prompt.
Adds a response to a performer prompt. Response is checked to be the same as the performer prompt type.
Path parameters
-
The identifier for the task which is set as a taskId. No need to set seprate
taksId
in the Request Body. -
The identifier for the question from the given taskId which is set as a questionNumber. No need to set separate
questionNumber
in the Request Body.
PATCH
/tasks/{id}/performer-prompts/{questionNumber}
curl \
--request PATCH 'https://usaapi02.cadencyservices.trintech.com/test/api/tasks/{id}/performer-prompts/{questionNumber}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"response":"string","taskId":42,"questionNumber":42}'
Request examples
{
"response": "string",
"taskId": 42,
"questionNumber": 42
}
Response examples (200)
{
"response": "string",
"taskId": 42,
"questionNumber": 42
}