Queries the details of a specific domain name task by page.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
domain:QueryDomainTask | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TaskStatus | integer | No | The task status. Valid value:
| 2 |
Lang | string | No | The language of the error message to return if the request fails. Valid value:
Default value: en. | en |
TaskNo | string | Yes | The task ID. | 75addb07-28a3-450e-b5ec-test |
DomainName | string | No | The domain name. | example.com |
InstanceId | string | No | The instance ID of the domain name. | S20179H1BBI9test |
UserClientIp | string | No | The IP address of the client. Set the value to 127.0.0.1. | 127.0.0.0 |
PageNum | integer | Yes | The page number. | 1 |
PageSize | integer | Yes | The number of entries to return on each page. Maximum value: 1000. | 1 |
Response parameters
Examples
Sample success responses
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": "",
"TryCount": 0,
"ErrorMsg": "The operation is successful.",
"FailReason": "Purchase record exists for the domain name in Aliyun\n"
}
]
},
"TotalItemNum": 1,
"NextPage": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-22 | The response structure of the API has changed | View Change Details |