edit-icon download-icon

CheckTransferInFeasibility

Last Updated: Apr 17, 2018

Description

The CheckTransferInFeasibility API verifies that the domain name can be transferred in.

Request parameters

Parameter Type Required Sample value Description
DomainName String Yes test.com

Domain name.

Lang String No en

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.

TransferAuthorizationCode String No test

Transfer authorization code.

UserClientIp String No 127.0.0.1

User IP address.

Response parameters

Parameter Type Sample value Description
RequestId String FC0D6B89-2353-4D64-BD80-6606A7DBD7C1

The unique request ID.

CanTransfer Boolean false

Whether the domain name can be transferred in.

Code String CheckTransferResult.DomainTransferProhibited

Error code returned when the domain name cannot be transferred in.

Message String This domain name is in transfer prohibited status, so it cannot be transferred. You can contact your original registrar to change its status.

Description of the error that does not allow the domain name transfer.

ProductId String 2a

Product ID.

Examples

Request example

  1. /?Action=CheckTransferInFeasibility
  2. &DomainName=test.com
  3. &TransferAuthorizationCode=test
  4. &<Public request parameter>

Normal response example

  • XML format
  1. <CheckTransferInFeasibilityResponse>
  2. <RequestId>60D2283F-36EA-46D4-A38D-15B5A2C455E3</RequestId>
  3. <CanTransfer>true</CanTransfer>
  4. <ProductId>2a</ProductId>
  5. </CheckTransferInFeasibilityResponse>
  • JSON format
  1. {
  2. "CanTransfer":true,
  3. "ProductId":"2a",
  4. "RequestId":"CE82EB4C-882D-430B-A908-E0BECFC35025"
  5. }

Abnormal response example

  • XML format
  1. <Error>
  2. <RequestId>390373FE-12C8-40F2-A906-AEEB5525CE54</RequestId>
  3. <HostId>domain.aliyuncs.com</HostId>
  4. <Code>MissingDomainName</Code>
  5. <Message>DomainName is mandatory for this action.</Message>
  6. <Recommend><![CDATA[https://error-center.aliyun.com/status/search?Keyword=MissingDomainName&source=PopGw]]></Recommend>
  7. </Error>
  • JSON format
  1. {
  2. "Code":"MissingDomainName",
  3. "HostId":"domain.aliyuncs.com",
  4. "Message":"DomainName is mandatory for this action.",
  5. "Recommend":"https://error-center.aliyun.com/status/search?Keyword=MissingDomainName&source=PopGw",
  6. "RequestId":"F931CD4D-9EF6-4DDC-AFBD-A1C026B97133"
  7. }

Error code

See error codes of this product.

Thank you! We've received your feedback.