Queries the execution results of a batch operation task using a task ID. If you do not specify a task ID, the results of the most recent batch task are returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeBatchResultCount |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
en |
| TaskId |
integer |
No |
The task ID. Note
If you specify a task ID, the results of that task are returned. If you leave this parameter empty, the results of the most recent task are returned. |
1**** |
| BatchType |
string |
No |
The type of the batch operation. Valid values:
Note
If you leave this parameter empty, no filter is applied. |
DOMAIN_ADD |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Status |
integer |
The status of the task. Valid values:
|
0 |
| TotalCount |
integer |
The total number of records that are processed in batches. |
4 |
| TaskId |
integer |
The ID of the last task. |
1****** |
| RequestId |
string |
The request ID. |
75446CC1-FC9A-4595-8D96-089D73D7A63D |
| FailedCount |
integer |
The total number of domain names or DNS records that failed to be processed. |
2 |
| SuccessCount |
integer |
The total number of domain names or DNS records that were successfully processed. |
2 |
| BatchType |
string |
The type of the batch operation. |
DOMAIN_ADD |
| Reason |
string |
The reason why the task failed. |
No match is found for the domain name specified in the file. |
Examples
Success response
JSON format
{
"Status": 0,
"TotalCount": 4,
"TaskId": 0,
"RequestId": "75446CC1-FC9A-4595-8D96-089D73D7A63D",
"FailedCount": 2,
"SuccessCount": 2,
"BatchType": "DOMAIN_ADD",
"Reason": "No match is found for the domain name specified in the file."
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.