Queries the progress of a data tracking task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDataTrackJobDegree |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the ticket. You can call the ListOrders operation to query the ticket ID. |
321**** |
| Tid |
integer |
No |
The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
C51420E3-144A-4A94-B473-8662FCF4AD10 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| JobDegree |
object |
The progress details of the data tracking task. |
|
| ListCompletionDegree |
number |
The progress of binary log obtaining. Valid values: 0 to 1. A value of 1 indicates that binary log obtaining is complete. |
1 |
| DownloadCompletionDegree |
number |
The progress of binary log download. Valid values: 0 to 1. A value of 1 indicates that binary log download is complete. |
1 |
| FilterCompletionDegree |
number |
The progress of binary log parsing. Valid values: 0 to 1. A value of 1 indicates that binary log parsing is complete. |
1 |
| JobStatus |
string |
The status of the data tracking task. Valid values:
|
FILTER_SUCCESS |
| StatusDesc |
string |
The description of the task status. |
searching success |
Examples
Success response
JSON format
{
"RequestId": "C51420E3-144A-4A94-B473-8662FCF4AD10",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"JobDegree": {
"ListCompletionDegree": 1,
"DownloadCompletionDegree": 1,
"FilterCompletionDegree": 1,
"JobStatus": "FILTER_SUCCESS",
"StatusDesc": "searching success"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.