Submits a task for renewing a domain name.

You can call the QueryTaskDetailList operation to query the task execution result.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SaveSingleTaskForCreatingOrderRenew

The operation that you want to perform. Set the value to SaveSingleTaskForCreatingOrderRenew.

CurrentExpirationDate Long Yes 0000

The expiration time of the domain name. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

DomainName String Yes test.com

The domain name of the task that you submit.

SubscriptionDuration Integer Yes 1

The renewal duration.

CouponNo String No 123123

The ID of the voucher that you want to use.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value: en.

PromotionNo String No 123132

The ID of the coupon that you want to use.

UseCoupon Boolean No false

Specifies whether to use a voucher.

UsePromotion Boolean No false

Specifies whether a coupon is available.

UserClientIp String No 127.0.0.1

The IP address of the client.

Response parameters

Parameter Type Example Description
RequestId String 40F46D3D-F4F3-4CCB-AC30-2DD20E32E528

The ID of the request.

TaskNo String 3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8

The ID of the task that was submitted.

Examples

Sample requests


http(s)://[Endpoint]/? Action=SaveSingleTaskForCreatingOrderRenew
&CurrentExpirationDate=0000
&DomainName=test.com
&SubscriptionDuration=1
&<Common request parameters>

Sample success responses

XML format

<SaveSingleTaskForCreatingOrderRenewResponse>
      <TaskNo>3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8</TaskNo>
      <RequestId>40F46D3D-F4F3-4CCB-AC30-2DD20E32E528</RequestId>
</SaveSingleTaskForCreatingOrderRenewResponse>

JSON format

{
	"requestId":"D9422F19-3C86-44FA-B5F7-036E89F3904F",
	"taskNo":"9f7a509f-f347-4430-969b-52ed6d23e58f"
}

Error codes

For a list of error codes, visit the API Error Center.