Reassign a Task
post
/process/api/v1/tasks/{id}/reassign
Reassign a task to user(s) and/or role(s).
Request
Path Parameters
-
id(required): string
Task Id
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Reassign request object
Show Source
-
comment: string
comment
-
identities: array
identities
Only the ID of identity input is considered and not name.
Nested Schema : identities
Type:
array
Only the ID of identity input is considered and not name.
Show Source
Nested Schema : Identity-allOf[1]
Type:
Show Source
object
-
type: string
Allowed Values:
[ "USER", "GROUP", "ROLE" ]
Response
204 Response
Successful operation - no content returned
401 Response
Unauthorized
404 Response
Task not found for given ID
429 Response
Too many requests
500 Response
Internal server error
503 Response
Too many exceptions or too slow requests
Examples
Example: Format of reassign a task id a123wsedrf321t
The following example shows how to reassign a task by submitting a POST request on the REST resource using cURL. For more information about cURL, see cURL Access. For more information about endpoint URL structure, see Send Requests.
curl -X 'POST' \
'https://oracle.com/process/api/v1/tasks/a123wsedrf321t/reassign' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"identities": [
{
"id": "string",
"name": "string",
"displayName": "string",
"type": "USER"
}
],
"comment": "string"
}'