Query Data Comparison Main Task Details
Queries the status, task name, and latest related subtask information of the specified data comparison main task.
Request URL: /openapi/v1/comparedata/queryTaskById
Request Method: GET
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| taskId | String | Yes | Task ID. | cd-std5nms37o |
Request Example
/openapi/v1/comparedata/queryTaskById?taskId=cd-std5nms37o
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request succeeds. | true |
| requestId | String | Request ID. | Rk9k5JAW-gmmkrBInmgme2RGdfnb2IXJ |
| data | Object | Main task details. See below. | {...} |
data Fields
| Parameter | Type | Description | Example |
|---|---|---|---|
| id | String | Data comparison task ID. | cd-std5nms37o |
| lastExecId | Integer | Latest related subtask ID. | 285324 |
| status | String | Task status. Optional values: success, failed, starting, running, stopped. | success |
| createTime | String | Task creation time (UTC). | 2025-03-19 09:12:40Z |
| name | String | Task name. | rp-d8k4e7hyidag |
| isDeleted | Boolean | Whether the task is in deleted state. | false |
| errMsg | String | Error message. | "" |
Successful Invocation Example
{
"success": true,
"requestId": "Rk9k5JAW-gmmkrBInmgme2RGdfnb2IXJ",
"data": {
"id": "cd-std5nms37o",
"lastExecId": 285324,
"status": "success",
"createTime": "2025-03-19 09:12:40Z",
"name": "rp-d8k4e7hyidag",
"isDeleted": false,
"errMsg": ""
}
}