Update Multiple 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.
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
. -
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
PATCH
/cs-close-api/tasks/{id}/performer-prompts
curl \
--request PATCH 'http://close-service:8082/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"
}
]
}