QueryTaskDetailList
Invokes QueryTaskDetailList to query the details of a specified domain name node by paging.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryDomainTask |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskStatus |
integer |
No |
The task status. Valid values:
|
2 |
| Lang |
string |
No |
The language of the error message returned by the interface. Valid values:
Default value: en. |
en |
| TaskNo |
string |
Yes |
The task number. This is the TaskNo value returned after a task is successfully submitted. |
75addb07-28a3-450e-b5ec-test |
| DomainName |
string |
No |
The domain name. |
example.com |
| InstanceId |
string |
No |
The domain name instance ID. Note
You can call QueryDomainByDomainName to query the domain name instance ID. |
S20179H1BBI9test |
| UserClientIp |
string |
No |
The user IP address. You can set this parameter to 127.0.0.1. |
127.0.0.0 |
| PageNum |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. Maximum value: 1000. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PrePage |
boolean |
Indicates whether a previous page exists. |
false |
| CurrentPageNum |
integer |
The current page number. |
1 |
| RequestId |
string |
The request ID. |
6A2320E4-D870-49C9-A6DC-test |
| PageSize |
integer |
The number of entries per page. |
2 |
| TotalPageNum |
integer |
The total number of pages. |
1 |
| Data |
object |
||
| TaskDetail |
array<object> |
The task list. |
|
|
object |
|||
| UpdateTime |
string |
The time the task was last executed. |
2018-01-25 20:47:01 |
| TaskDetailNo |
string |
The task detail number. |
75addb07-28a3-450e-b5ec-test |
| CreateTime |
string |
The task creation time. |
2018-01-25 20:46:57 |
| InstanceId |
string |
The ID of the domain name instance. |
S20179H1BBI9test |
| DomainName |
string |
The domain name. |
example.com |
| TaskType |
string |
The task type. Valid values:
|
ORDER_RENEW |
| TaskNo |
string |
The task number. |
60d6e201-8ee5-47ab-8fdc-test |
| TaskResult |
string |
The task result. This parameter is returned only for certain task types. |
12345 |
| TaskStatusCode |
integer |
The task status code. Valid values:
|
2 |
| TaskStatus |
string |
The task status. Valid values:
|
EXECUTE_SUCCESS |
| TaskTypeDescription |
string |
The task type description. |
Create renewal order |
| TryCount |
integer |
The number of times the task was retried. |
0 |
| ErrorMsg |
string |
The error message for a failed task. |
The operation is successful. |
| FailReason |
string |
The reason for the task failure. |
Domain has a purchase record in Wanwang reservation. |
| TotalItemNum |
integer |
The total number of entries. |
1 |
| NextPage |
boolean |
Indicates whether a next page exists. |
true |
Examples
Success response
JSON format
{
"PrePage": false,
"CurrentPageNum": 1,
"RequestId": "6A2320E4-D870-49C9-A6DC-test",
"PageSize": 2,
"TotalPageNum": 1,
"Data": {
"TaskDetail": [
{
"UpdateTime": "2018-01-25 20:47:01",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-test",
"CreateTime": "2018-01-25 20:46:57",
"InstanceId": "S20179H1BBI9test",
"DomainName": "example.com",
"TaskType": "ORDER_RENEW",
"TaskNo": "60d6e201-8ee5-47ab-8fdc-test",
"TaskResult": "12345",
"TaskStatusCode": 2,
"TaskStatus": "EXECUTE_SUCCESS",
"TaskTypeDescription": "Create renewal order",
"TryCount": 0,
"ErrorMsg": "The operation is successful.",
"FailReason": "Domain has a purchase record in Wanwang reservation."
}
]
},
"TotalItemNum": 1,
"NextPage": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.