Calls the DescribeBatchResultCount operation to query the execution result of a batch operation task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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:

  • DOMAIN_ADD: adds domain names in batches.
  • DOMAIN_DEL: deletes domain names in batches.
  • RR_ADD: adds DNS records in batches.
  • RR_DEL: deletes DNS records in batches.
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 1.1.1.1

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:

  • -1: No task for importing domain names or DNS records is submitted.
  • 0: The task is being processed.
  • 1: The task is completed.
  • 2: The task failed.
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.