Update Multiple Performer Prompts

PATCH /cs-close-api/tasks/{id}/performer-prompts

Update multiple performer prompts for the specified task ID with revised instructions or content as required.

Path parameters

  • id integer Required

    The identifier of task for update performers.

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.

  • taskId integer

    The ID of the close task action plan.

  • questionNumber integer(int32)

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

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • totalProcessed integer(int32)
    • successCount integer(int32)
    • successResults array[object]
      Hide successResults attributes Show successResults attributes object
      • success boolean
      • id string
      • message string
    • failureCount integer(int32)
    • failedResults array[object]
      Hide failedResults attributes Show failedResults attributes object
      • success boolean
      • id string
      • message string
PATCH /cs-close-api/tasks/{id}/performer-prompts
curl \
 --request PATCH 'https://customer.trintech.com/cs-close-api/tasks/{id}/performer-prompts' \
 --header "Content-Type: application/json" \
 --data '[{"response":"string","taskId":42,"questionNumber":42}]'
Request examples
[
  {
    "response": "string",
    "taskId": 42,
    "questionNumber": 42
  }
]
Response examples (200)
{
  "totalProcessed": 42,
  "successCount": 42,
  "successResults": [
    {
      "success": true,
      "id": "string",
      "message": "string"
    }
  ],
  "failureCount": 42,
  "failedResults": [
    {
      "success": true,
      "id": "string",
      "message": "string"
    }
  ]
}