edit-icon download-icon

SaveSingleTaskForCreatingOrderActivate

Last Updated: Apr 17, 2018

Description

The SaveSingleTaskForCreatingOrderActivate API submits domain name registration tasks. 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 SaveSingleTaskForCreatingOrderActivate.
DomainName String Yes Domain name.
SubscriptionDuration Integer No Purchase duration, in years. The default purchase duration is one year.
RegistrantProfileId Long No ID of the domain name information template.
EnableDomainProxy Boolean No Whether to enable the Domain Name Proxy Service. The default value is true.
PermitPremiumActivation Boolean No Whether to enable registration of premium domain names. The default value is false.
Lang String No Language of the error message returned from the API, which has the following enumerated values: zh (Chinese) and en (English). The default value is en.
AliyunDns Boolean Yes Whether to use Alibaba Cloud DNS. The default value is true. When using a non-Alibaba Cloud DNS, first check that this DNS is valid, or else this can cause registration to fail.
Dns1 String When using Alibaba Cloud DNS, you do not need to enter this parameter. When using a non-Alibaba Cloud DNS, you must enter this parameter. Custom DNS 1.
Dns2 String When using Alibaba Cloud DNS, you do not need to enter this parameter. When using a non-Alibaba Cloud DNS, you must enter this parameter. Custom DNS 2.
Country String You do not need to enter this parameter when using an information template to register a domain name. Country code, such as CN.
RegistrantOrganization String You do not need to enter this parameter when using an information template to register a domain name. Name of the domain name registrant.
RegistrantName String You do not need to enter this parameter when using an information template to register a domain name. The domain name contact person.
Province String You do not need to enter this parameter when using an information template to register a domain name. The province.
City String You do not need to enter this parameter when using an information template to register a domain name. The city.
Address String You do not need to enter this parameter when using an information template to register a domain name. The street address.
PostalCode String You do not need to enter this parameter when using an information template to register a domain name. The postal code.
TelArea String You do not need to enter this parameter when using an information template to register a domain name. The country telephone code, such as 86 for China.
Telephone String You do not need to enter this parameter when using an information template to register a domain name. The telephone number.
TelExt String You do not need to enter this parameter when using an information template to register a domain name. The telephone extension number.
RegistrantType String You do not need to enter this parameter when using an information template to register a domain name. Type of the domain name registrant, with the enumerated values:
  • 1: individual
  • 2: enterprise or organization
Email String You do not need to enter this parameter when using an information template to register a domain name. The email address.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
TaskNo String Task ID.

Error code

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

Samples

Sample request

  1. http://domain-intl.aliyuncs.com/?Action=SaveSingleTaskForCreatingOrderActivate
  2. &RegistrantProfileId=123
  3. &DomainName=test.com
  4. &<Public request parameter>

Sample response

  • XML sample
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <SaveSingleTaskForCreatingOrderActivateResponse>
  3. <TaskNo>3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8</TaskNo>
  4. <RequestId>40F46D3D-F4F3-4CCB-AC30-2DD20E32E528</RequestId>
  5. </SaveSingleTaskForCreatingOrderActivateResponse>
  • JSON sample
  1. {
  2. "TaskNo": "3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8",
  3. "RequestId": "40F46D3D-F4F3-4CCB-AC30-2DD20E32E528"
  4. }
Thank you! We've received your feedback.