Queries the details of a data change, lock-free data change, or data import task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDataCorrectTaskDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ticket ID. Call CreateDataCorrectOrder, CreateDataImportOrder, or CreateFreeLockCorrectOrder to obtain this ID. |
12435523 |
| Tid |
integer |
No |
The ID of the tenant. Note
To find the tenant ID, log on to the DMS console and hover over the profile picture in the upper-right corner. Manage DMS tenants. |
14325432 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The ID of the request. |
B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773 |
| Success |
boolean |
Whether the request was successful. |
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| DataCorrectTaskDetail |
object |
The details of the data change task. |
|
| DBTaskGroupId |
integer |
The ID of the SQL task group. |
1234235 |
| jobStatus |
string |
The status of the SQL task. Valid values:
|
SUCCESS |
| ActualAffectRows |
integer |
The number of rows affected by the SQL statement. |
1 |
| CreateTime |
string |
The time when the task was created. |
2021-03-05 15:08:55 |
Examples
Success response
JSON format
{
"RequestId": "B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"DataCorrectTaskDetail": {
"DBTaskGroupId": 1234235,
"jobStatus": "SUCCESS",
"ActualAffectRows": 1,
"CreateTime": "2021-03-05 15:08:55"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.