Querying Batch Operation Results

Last Updated: May 27, 2016

Description

Queries batch operation results by batch task ID.This call uses the HTTP GET method.

Request Parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Value: DescribeBatchResult
TraceId String Yes The batch task ID

Return Parameters

Public return parameters. For details, see Public Return Parameters

Name Type Description
RequestId String The unique request identifier
TraceId String The batch task ID
Status Long 0: operation in progress; 1: operation successful; 2: operation interrupted
BatchCount Long Total number of batch operations
SuccessNumber Long Number of successful operations in the batch
FailResults BatchFailResultType Batch task ID

Error Codes

For errors common to all interfaces, please refer to the Error Code Table .

Error Code Description HTTP Status Code Meaning
IllegalUser The user ID is illegal. 400 The user ID is not authorized
InvalidTraceId This trace ID is invalid. 400 Invalid TraceId

Example

Request Example

http://dns.aliyuncs.com/?Action=DescribeBatchResult
&TraceId=10001
&<Public Request Parameters>

Return Example

XML Format

<DescribeBatchResultResponse>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
    <TraceId>10001</TraceId>
    <Status>1</Status>
    <BatchCount>10000</BatchCount>
    <SuccessNumber>990</SuccessNumber>
    <FailResults>
        <FailResult>
            <BatchIndex>10</BatchIndex>
            <ErrorCode>InvalidDomainName.Format</ErrorCode>
        </FailResult>
        <FailResult>
            <BatchIndex>11</BatchIndex>
            <ErrorCode>InvalidDomainName.Format</ErrorCode>
        </FailResult>
    </FailResults>
</DescribeBatchResultResponse>

JSON Example

{
  "DescribeBatchResultResponse": {
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "TraceId": "10001",
    "Status": "1",
    "BatchCount": "10000",
    "SuccessNumber": "990",
    "FailResults": {
      "FailResult": [
        {
          "BatchIndex": "10",
          "ErrorCode": "InvalidDomainName.Format"
        },
        {
          "BatchIndex": "11",
          "ErrorCode": "InvalidDomainName.Format"
        }
      ]
    }
  }
Thank you! We've received your feedback.