Calls the DescribeBatchResultCount operation to query the execution result of a batch operation task.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeBatchResultCount |
The operation that you want to perform. Set the value to DescribeBatchResultCount. |
BatchType | String | No | DOMAIN_ADD |
The type of the batch operation. Valid values:
|
Lang | String | No | en |
The language type. |
TaskId | Long | No | 123456 |
The ID of the task. If you specify TaskId, the execution result of the specified task is returned. If you do not specify TaskId, the execution result of the last task is returned. |
UserClientIp | String | No | 192.0.2.0 |
The IP address of the client. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
BatchType | String | DOMAIN_ADD |
The type of the batch operation. |
FailedCount | Integer | 2 |
The total number of domain names or DNS records that failed to be processed. |
Reason | String | failed_reason |
The cause of the execution failure. |
RequestId | String | 75446CC1-FC9A-4595-8D96-089D73D7A63D |
The ID of the request. |
Status | Integer | 0 |
The status of the task. Valid values:
|
SuccessCount | Integer | 2 |
The total number of successfully processed domain names or DNS records. |
TaskId | Long | 123456 |
The ID of the last task. |
TotalCount | Integer | 4 |
The total number of DNS records that were processed in batches. |
Examples
Sample requests
http(s)://alidns.aliyuncs.com/?Action=DescribeBatchResultCount
&<Common request parameters>
Sample success responses
XML
format
<DescribeBatchResultCountResponse>
<RequestId>75446CC1-FC9A-4595-8D96-089D73D7A63D</RequestId>
<Status>0</Status>
</DescribeBatchResultCountResponse>
JSON
format
{
"Status":"0",
"RequestId":"75446CC1-FC9A-4595-8D96-089D73D7A63D"
}
Error codes
For a list of error codes, visit the API Error Center.