All Products
Search
Document Center

:Batch Modify Resolution Records

最終更新日:May 27, 2016

UpdateBatchDomainRecords

Description

Resolution records are batch modified based on input parameters.This operation uses HTTP POST requests.

Request Parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Value: UpdateBatchDomainRecords
Records String Yes Submits the resolution records to modify in JSON string format (does not contain line breaks). A maximum of 5,000 resolution records can be submitted at a time.

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

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
QuotaExceeded.BatchNumber You Can’t finish this operation because the batch number has been out of MAX count. 400 Batch operation data exceeds the limit
OperationThreadInUsed You Can’t finish this operation because the thread of operation has been in used. 400 The batch operation threads are being used by another user
DataFormatError The data format is error. 400 Incorrect data format

Example

Request Example

http://dns.aliyuncs.com/?Action=UpdateBatchDomainRecords  HTTP 1.1
Records={
    "RR": "www",
    "Type": "A",
    "Value": "1.1.1.1",
    "TTL": "600",
    "Line": "default",
    "Records": [
        {
            "Index": "1",
            "Domain": "abc.com",
            "RecordId": "999958"
        },
        {
            "Index": "2",
            "Domain": "example.com",
            "RecordId": "999959"
        },
        {
            "Index": "10000",
            "Domain": "news.com",
            "RecordId": "999960"
        }
    ]
}&<Public Request Parameters>

Return Example

XML Format

<UpdateBatchDomainRecordsResponse>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
    <TraceId>10001</TraceId>
</UpdateBatchDomainRecordsResponse>

JSON Example

{
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "TraceId": "10001"
}