The SaveBatchTaskForUpdatingContactInfoByNewContact API submits tasks to modify domain name information by creating new contact information. You can use the QueryTaskDetailList API to query the task execution result.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes The API name, a required parameter. Set this parameter to SaveBatchTaskForUpdatingContactInfoByNewContact.
DomainName DomainListType Yes Domain name list.
ContactType String Yes Contact type, which has the following enumerated values: registrant, admin,billing, tech.
TransferOutProhibited Boolean Optional Whether to add a transfer out prohibition. This parameter takes effect only when ContactType is set to registrant, and indicates whether the domain name can be transferred 60 days after the registrant modifies the domain name. The value of the parameter defaults to false, that is, transfer is allowed.
Lang String No Language of the error message returned by the API, which has the following enumerated values: zh (Chinese) and en (English). The default value is en.
RegistrantName String Yes Contact name.
RegistrantOrganization String Yes Registrant’s name.
Province String Yes Province.
City String Yes City. 
Address String Yes The street address.
Country String Yes Country code, such as CN or US.
Email String Yes Email address.
PostalCode String Yes Zip code.
TelArea String Yes Country dialing code.
Telephone String Yes Phone number.
TelExt String Yes Extension number.
Table 1. DomainListType
Parameter Type Description
DomainName String Domain Name.

Return parameters

Parameter Type Description
RequestId String The unique request ID.
TaskNo String Task ID.

Error codes

Error code Description HTTP status code  Semantics
ParameterIllegal Parameter illegal. 400 Parameter error.
NetworkIOError Network IO Error. 400 Network I/O exception.
DomainNotExist The domain name does not exist. 400 The domain name does not exist.
TaskIsBeingProcessed An operation is being processed. Please try again later. 400 An action is being processed for the domain name. Try again later.

Examples

Request example

http://domain-intl.aliyuncs.com/?Action=SaveBatchTaskForUpdatingContactInfoByNewContact
&Address=Rd. xitucheng
&City=Bei jing
&Country=CN
&Email=test@test.com
&PostalCode=10000
&Province=Bei jing
&RegistrantName=zhang san
&RegistrantOrganization=zhang san
&RegistrantType=1
&TelArea=86
&Telephone=13800000000
&TelExt=01
&DomainName. 1=alibabacloud.com
&DomainName. 2=aliyun.com
&ContactType=registrant
&AddTransferLock=true
&<Public request parameter>

Response example

  • XML format
    <? xml version='1.0' encoding='UTF-8'? >
    <SaveBatchTaskForUpdatingContactInfoByNewContactResponse>
        <TaskNo>880f1579-be51-4dd3-a69d-test</TaskNo>
        <RequestId>EDC28FEC-6BE0-4583-95BC-test</RequestId>
    </SaveBatchTaskForUpdatingContactInfoByNewContactResponse>
  • JSON format
    {
      "requestId": "464AF466-CA8E-43A8-B61D-test",
      "taskNo": "65de2165-ca09-491f-9fe0-test"
    }