Adds a response to a performer prompt. Deprecated

POST /cs-close-api/tasks/performer-prompts

Adds a response to a performer prompt. Response is checked to be the same as the performer prompt type.

Read More about Performer Prompts
application/json

Body Required

  • response string Required

    The response for the close task action plan question which we are updating

    Minimum length is 0, maximum length is 2048.

  • 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 is 30.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • response string Required

      The response for the close task action plan question which we are updating

      Minimum length is 0, maximum length is 2048.

    • 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 is 30.

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
}