Get Possible Assignees for Specific Tasks
This operation gets the possible assignees for specific tasks.
Request
Operation Endpoint:POST {workflowPath}/workflow/{tenantId}/assignee
| Parameter | Required | Description | |
|---|---|---|---|
| Headers | Authorization |
Yes | Access Token in format Bearer <access token> (see
details in Authentication API). |
EnvironmentURL |
Yes | Reltio Environment URL. | |
Content-Type |
Yes | Should be Content-Type: application/json. |
|
| Path | tenantId |
Yes | Tenant ID. |
| Body | tasks |
No[NO TITLE FOUND] | Task(s) for which possible assignees should be returned. |
filter |
No[NO TITLE FOUND] | Parameters used as filtering criteria for the resulting tasks list. | |
exclude |
No[NO TITLE FOUND] | Task(s) to be excluded from the resulting tasks list. | |
Response
Response Structure:
data: array with results for each element returnedstatus: result of the operation; possible values are "OK" or "failed"total: total number of recordserror: returned if an error is encountered, contains details of the issue:errorCode: 5-digit error codeerrorMessage: error messageerrorData: details of the error:exception: exception messagestack: stack trace
innerError: details of the error from Reltio API:errorMessage: Reltio API error messageerrorCode: Reltio API error codeinnerErrorData: Reltio API inner error data
warning: returned if the operation is completed with some minor issues
Request
Sample request body to get possible assignees using tasks:
{
"tasks": [
"1230001"
]
}
Request
Sample request body to get possible assignees using filter and exclude:
{
"filter": {
"assignee": "user1",
"processInstanceId": "string",
"processType": "string",
"suspended": true,
"createdBy": "user2",
"priorityClass": "Urgent",
"taskType": "dcrReview",
"createdAfter": 0,
"createdBefore": 0,
"state": "valid",
"objectURIs": [
"string"
]
},
"exclude": [
"1230009"
]
}
Response
Sample response:
{
"data": [
"user1"
],
"status": "OK",
"total": 1,
"warning": "string"
}