Get Task by ID for Tenant
Get a task for a specific tenant by ID.
Returns the task with the given ID for the specified tenant or an error if there is no task with that ID in the tenant.
Request
GET {ApplicationURL}/{Tenant}/tasks/{taskId}
Header | Required | Description |
---|---|---|
authorization |
yes | Bearer <access_token> |
content-type |
No | application/json |
Response
JSON object representing the task.
{
"id": "xxx555xx-1234-xxxx-123x-xxxx1234xxxx",
"createdTime": 1440008511759,
"createdBy": "User",
"updatedTime": 1440008514672,
"updatedBy": "User",
"type": "com.reltio.businesslogic.tasks.reindex.ReindexDataTask",
"status": "COMPLETED",
"name": "Reindexing of all types in tenant XXX",
"createdOnHost": "api01",
"executedOnHost": "api01",
"startTime": "08-19-2015 22.21",
"endTime": "08-19-2015 22.25",
"parameters": {
"force": "true",
"tenantId": "XXX"
},
"currentState": {
"numberOfProcessedObjects": 3246,
"maxQueueSize": 32000,
"entityType": "all types",
"status": "Completed"
},
"throughput": 346,
"duration": "4m 5s"
}