This API is used to obtain information about a task with a specified ID in the DDM task center.
None
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. You can obtain the token by calling the IAM API used to obtain a user token. |
GET https://ddm.eu-de.otc.t-systems.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/31b8ae23-c687-4d80-b7b4-42a66c9bb886
Parameter |
Type |
Description |
|---|---|---|
job |
JobInfo object |
Task information. |
Parameter |
Type |
Description |
|---|---|---|
id |
String |
Task ID |
name |
String |
Task name For details, see Task Statuses. |
status |
String |
Task execution status. The value can be: Running: The task is being executed. Completed: The task is successfully executed. Failed: The task fails to be executed. |
created_time |
String |
Creation time in the "yyyy-mm-ddThh:mm:ssZ" format. T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. For example, in the Central European time zone, the offset is +0100. |
end_time |
String |
End time. The format is yyyy-mm-ddThh:mm:ssZ. T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. For example, in the Central European time zone, the offset is +0100. |
process |
String |
Task execution progress The execution progress (such as "60%", indicating the task execution progress is 60%) is displayed only when the task is being executed. Otherwise, "" is returned. |
instance |
Instance object |
Instance on which the task is executed |
{
"job": {
"id": "31b8ae23-c687-4d80-b7b4-42a66c9bb886",
"name": "CreateInstance",
"status": "Running",
"created_time": "2018-08-06T10:41:14+0100",
"end_time": "2018-08-06T16:41:14+0100",
"process": "60%",
"instance": {
"id": "a48e43ff268f4c0e879652d65e63d0fbin09",
"name": "DDM-test"
}
}
}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.