Queries task information about a specified ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetPagedInstance |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the data archiving ticket. |
868***** |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TraceId |
string |
The trace ID of the request, used for tracking. |
0a06e1e316757357507896067d3780 |
| 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 |
| PageIndex |
integer |
The page number. |
1 |
| RequestId |
string |
The request ID, which can be used to query logs and troubleshoot issues. |
7FAD400F-7A5C-4193-8F9A-39D86C4F0231 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| Total |
integer |
The total number of instances. |
2 |
| Data |
object |
The data returned. |
|
| Instance |
array<object> |
The task information. |
|
|
object |
The task details. |
||
| BusinessTime |
string |
The data timestamp of the task node. |
2023-05-14 16:00:57 |
| CheckStatus |
integer |
The state of archived data verification. Valid values:
|
3 |
| DagId |
integer |
The unique ID of the task flow. |
33*** |
| Delete |
string |
Indicates whether the source data is deleted. Valid values:
|
false |
| EndTime |
string |
The time when the task ended. |
2023-04-23 10:23:20 |
| GmtCreate |
string |
The time when the task flow was created. |
2023-03-28 10:50:45 |
| GmtModified |
string |
The time when the task flow was last modified. |
2023-04-18 15:28:16 |
| HistoryDagId |
integer |
The ID of the historical task flow. |
68*** |
| Id |
integer |
The task flow ID. |
24**** |
| LastRunningContext |
string |
The context of the last task flow execution. |
{”nodes":[11***,11***]"} |
| Msg |
string |
The details of the current task execution. |
”Archiving task log: xxxx” |
| Status |
integer |
The state of the archiving task.
|
1 |
| TaskType |
integer |
The task type. Valid values:
|
1 |
| TenantId |
string |
The ID of the tenant. |
34*** |
| TriggerType |
integer |
The trigger mode of the task flow. Valid values:
|
1 |
| Version |
string |
The version number. |
13*** |
Examples
Success response
JSON format
{
"TraceId": "0a06e1e316757357507896067d3780",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"PageIndex": 1,
"RequestId": "7FAD400F-7A5C-4193-8F9A-39D86C4F0231",
"PageSize": 10,
"Total": 2,
"Data": {
"Instance": [
{
"BusinessTime": "2023-05-14 16:00:57",
"CheckStatus": 3,
"DagId": 0,
"Delete": "false",
"EndTime": "2023-04-23 10:23:20",
"GmtCreate": "2023-03-28 10:50:45",
"GmtModified": "2023-04-18 15:28:16",
"HistoryDagId": 0,
"Id": 0,
"LastRunningContext": "{”nodes\":[11***,11***]\"}",
“Msg”: “”Archiving task log: xxxx””,
"Status": 1,
"TaskType": 1,
"TenantId": "34***",
"TriggerType": 1,
"Version": "13***"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.