Reassign Tasks

post

/process/api/v1/tasks/reassign

Reassign tasks to user(s) and/or role(s).

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Match All
Show Source
Nested Schema : schema
Type: object
Reassign request object
Show Source
Nested Schema : properties
Type: object
Show Source
Nested Schema : identities
Type: array
Only the ID of identity input is considered and not name.
Show Source
Nested Schema : Identity
Match All
Show Source
Nested Schema : IdentityCommon
Type: object
Show Source
Nested Schema : Identity-allOf[1]
Type: object
Show Source
Nested Schema : taskIds
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : BulkReassignResponse
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : BulkReassignResponseItem
Type: object
Show Source

400 Response

Bad request - invalid input

401 Response

Unauthorized

429 Response

Too many requests

500 Response

Internal server error

503 Response

Too many exceptions or too slow requests
Back to Top

Examples

Example: Reassign tasks

The following example shows how to reassign tasks 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/reassign' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "identities": [
    {
      "id": "string",
      "name": "string",
      "displayName": "string",
      "type": "USER"
    }
  ],
  "comment": "string",
  "taskIds": [
    "string"
  ]
}'

Example Format of 200 Operation Successful Response

{
    "totalCount": 2,
    "sucessCount": 2,
    "failedCount": 0,
    "items": [
        {
            "taskId": "a0a0e129-53f7-11ef-873e-0abcb",
            "status": "Success"
        },
        {
            "taskId": "882c3e21-637c-11ef-873e-0abcb",
            "status": "Success"
        }
    ]
}
Back to Top