edit-icon download-icon

QueryDomainByInstanceId

Last Updated: Apr 18, 2018

Description

The QueryDomainByInstanceId API queries the basic information about a domain name by the domain name ID.

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 QueryDomainByInstanceId.
InstanceId String Yes Domain name instance ID.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
UserId String Alibaba Cloud user ID.
DomainName String Domain name.
InstanceId String Domain name instance ID.
RegistrationDate String Registration time.
ExpirationDate String Expiration time.
RegistrantOrganization String Owner of the domain name.
RegistrantName String Contact.
Email String Email address of the domain name owner.
EmailVerificationClientHold Boolean Whether it is in clientHold status.
EmailVerificationStatus Boolean Whether the email address is verified. The enumerated values include:
  • 0: The email address fails to be verified.
  • 1: The email address is verified.
UpdateProhibitionLock String Domain name security lock status. The enumerated values include:
  • NONE_SETTING: Not set.
  • OPEN: Enabled.
  • CLOSE: Disabled.
TransferProhibitionLock String Domain name transfer lock status. The enumerated values include:
  • NONE_SETTING: Not set.
  • OPEN: Enabled.
  • CLOSE: Disabled.
DomainNameProxyService Boolean Whether the privacy protection service is enabled.
Premium Boolean Whether it is a premium domain name.
DnsList DnsListType DNS list.

Error codes

Error code Description HTTP status code Semantics
ParameterIllegal Parameter illegal. 400 Parameter error.
NetworkIOError Network I/O Error. 400 Network I/O exception.

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=QueryDomainByInstanceId
  2. &InstanceId=S201312050017225
  3. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryDomainByInstanceIdResponse>
  3. <DomainNameProxyService>false</DomainNameProxyService>
  4. <InstanceId>S201312050000000</InstanceId>
  5. <RegistrationDate>2013-12-06 00:00:00</RegistrationDate>
  6. <Email>test@aliyun.com</Email>
  7. <UserId>1344371</UserId>
  8. <RegistrantName>sadf sdf</RegistrantName>
  9. <ExpirationDate>2016-12-06 00:00:00</ExpirationDate>
  10. <DomainName>fds234sdf.net</DomainName>
  11. <UpdateProhibitionLock>NONE_SETTING</UpdateProhibitionLock>
  12. <DnsList>
  13. <Dns>dns19.hichina.com</Dns>
  14. <Dns>dns20.hichina.com</Dns>
  15. </DnsList>
  16. <TransferProhibitionLock>CLOSE</TransferProhibitionLock>
  17. <RegistrantOrganization>safd</RegistrantOrganization>
  18. </QueryDomainByInstanceIdResponse>
  • JSON format
  1. {
  2. "DomainNameProxyService": false,
  3. "InstanceId": "S201312050000000",
  4. "RegistrationDate": "2013-12-06 00:00:00",
  5. "Email": "test@aliyun.com",
  6. "UserId": "1344371",
  7. "RegistrantName": "sadf sdf",
  8. "ExpirationDate": "2016-12-06 00:00:00",
  9. "DomainName": "fds234sdf.net",
  10. "UpdateProhibitionLock": "NONE_SETTING",
  11. "DnsList": {
  12. "Dns": [
  13. "dns19.hichina.com",
  14. "dns20.hichina.com"
  15. ]
  16. },
  17. "TransferProhibitionLock": "CLOSE",
  18. "RegistrantOrganization": "safd"
  19. }
Thank you! We've received your feedback.