All Products
Document Center


Last Updated: Apr 18, 2018


The SaveSingleTaskForCreatingOrderRedeem API submits a domain name redemption task. 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 API of the action, system required parameter. Set this parameter to SaveSingleTaskForCreatingOrderRedeem.
DomainName String Yes Domain name.
CurrentExpirationDate Long Yes Current expiration time of the domain name, expressed by the number of milliseconds between the expiration time and the UTC time 00:00 on January 1, 1970.
Lang String No Language of the information returned from the API. The enumerated values include zh (Chinese) and en (English). The default value is en.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
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.
TaskIsBeingProcessed An operation is being processed. Please try again later. 400 An action is being processed for the domain name. Try again later.


Request example

  2. &CurrentExpirationDate=0000
  3. &
  4. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <SaveSingleTaskForCreatingOrderRedeemResponse>
  3. <TaskNo>3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8</TaskNo>
  4. <RequestId>40F46D3D-F4F3-4CCB-AC30-2DD20E32E528</RequestId>
  5. </SaveSingleTaskForCreatingOrderRedeemResponse>
  • JSON format
  1. {
  2. "TaskNo": "3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8",
  3. "RequestId": "40F46D3D-F4F3-4CCB-AC30-2DD20E32E528"
  4. }