Get Task by ID
Get a task based on ID.
Returns the task with the given ID or an error if there is no task with such ID.
Request:
GET {ApplicationURL}/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"
}