Adds a response to a performer prompt.
Deprecated
Adds a response to a performer prompt. Response is checked to be the same as the performer prompt type.
Body
Required
-
response
string Required The response for the close task action plan question which we are updating
Minimum length is
0
, maximum length is2048
. -
taskNumber
string Required The number for the close task action plan which we are updating
-
periodId
string Required The period for the close task action plan which we are updating
Format should match the following pattern:
^[1-9]\d*$|latest
. -
questionNumber
integer(int32) Required The question for the close task action plan which we are updating
Minimum value is
1
, maximum value is30
.
POST
/cs-close-api/tasks/performer-prompts
curl \
--request POST 'http://close-service:8082/cs-close-api/tasks/performer-prompts' \
--header "Content-Type: application/json" \
--data '{"response":"string","taskNumber":"string","periodId":"string","questionNumber":42}'
Request examples
{
"response": "string",
"taskNumber": "string",
"periodId": "string",
"questionNumber": 42
}
Response examples (200)
{
"response": "string",
"taskNumber": "string",
"periodId": "string",
"questionNumber": 42
}