Submits a task to obtain the transfer key of a domain name.
You can call the QueryTaskDetailList operation to query the task execution result. The transfer key is returned in the TaskResult parameter of the relevant task.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | SaveSingleTaskForQueryingTransferAuthorizationCode |
The operation that you want to perform. Set the value to SaveSingleTaskForQueryingTransferAuthorizationCode. |
| DomainName | String | Yes | example.com |
The domain name. |
| Lang | String | No | en |
The language in which the system returns the error message. Valid values:
Default value: en |
| UserClientIp | String | No | 127.0.0.1 |
The IP address of the client. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | AF7D4DCE-0776-47F2-A9B2-6FB85A87AA60 |
The ID of the request. |
| TaskNo | String | 3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8 |
The ID of the task. |
Examples
Sample requests
&<Common request parameters>
Sample success responses
XML format
<SaveSingleTaskForQueryingTransferAuthorizationCodeResponse>
<TaskNo>3bdbaa0e-faa2-4ad2-98f4-bcfeb0237054</TaskNo>
<RequestId>EEB28AA7-6051-4E71-B2CC-DAAFB2DF6BCA</RequestId>
</SaveSingleTaskForQueryingTransferAuthorizationCodeResponse>
JSON format
{
"RequestId":"492D1868-1384-4219-8F8B-7EB44534A72A",
"TaskNo":"939b6918-be3b-4c4f-b949-93553da52dca"
}
Error codes
For a list of error codes, visit the API Error Center.