开发者社区> 问答> 正文

查询域名信息



QueryDomainBySaleId


描述:根据域名的业务编号查询域名基本信息。

请求参数


公共请求参数,详见 公共参数

名称类型是否必须描述
ActionString操作接口名,系统规定参数,取值:QueryDomainBySaleId。
SaleIdString域名业务编号。


返回参数

名称类型描述
RequestIdString唯一请求识别码。
UserIdString阿里云用户编号。
DomainNameString域名。
SaleIdString域名业务。
CreationDateString注册时间。
ExpirationDateString到期时间。
DomainRegTypeString域名注册类型,可能值:PERSONAL 个人,COMPANY 企业。
EnglishHolderString英文域名所有者。
ChineseHolderString中文域名所有者。
EnglishContactPersonString英文联系人。
ChineseContactPersonString中文联系人。
HolderEmailString域名所有者邮箱。
TransferOutStatusString域名转移状态。
SafetyLockString域名安全锁状态。
TransferLockString域名转移锁状态。
WhoisProtectedBoolean域名隐私保护状态。
DnsListDnsListTypeDNS 列表


错误码

错误代码描述HTTP 状态码语义
ParameterIllegalParameter illegal.400参数错误
NetworkIOErrorNetwork IO Error.400网络 IO 异常


示例



请求示例

  1. [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//domain.aliyuncs.com/?Action=QueryDomainBySaleId
  2. [backcolor=transparent]&[backcolor=transparent]SaleId[backcolor=transparent]=[backcolor=transparent]S201312050017225
  3. [backcolor=transparent]&<公共请求参数>


返回示例


[backcolor=transparent]XML 示例
  1. [backcolor=transparent]<?[backcolor=transparent]xml version[backcolor=transparent]=[backcolor=transparent]'1.0'[backcolor=transparent] encoding[backcolor=transparent]=[backcolor=transparent]'UTF-8'[backcolor=transparent]?>
  2. [backcolor=transparent]<QueryDomainBySaleIdResponse>
  3. [backcolor=transparent]    [backcolor=transparent]<WhoisProtected>[backcolor=transparent]false[backcolor=transparent]</WhoisProtected>
  4. [backcolor=transparent]    [backcolor=transparent]<ChineseHolder>[backcolor=transparent]sadfsd[backcolor=transparent]</ChineseHolder>
  5. [backcolor=transparent]    [backcolor=transparent]<SaleId>[backcolor=transparent]S201312050000000[backcolor=transparent]</SaleId>
  6. [backcolor=transparent]    [backcolor=transparent]<DomainRegType>[backcolor=transparent]PERSONAL[backcolor=transparent]</DomainRegType>
  7. [backcolor=transparent]    [backcolor=transparent]<ChineseContactPerson>[backcolor=transparent]sadfsd[backcolor=transparent]</ChineseContactPerson>
  8. [backcolor=transparent]    [backcolor=transparent]<CreationDate>[backcolor=transparent]2013-12-06 00:00:00[backcolor=transparent]</CreationDate>
  9. [backcolor=transparent]    [backcolor=transparent]<HolderEmail>[backcolor=transparent]test@aliyun.com[backcolor=transparent]</HolderEmail>
  10. [backcolor=transparent]    [backcolor=transparent]<UserId>[backcolor=transparent]1344371[backcolor=transparent]</UserId>
  11. [backcolor=transparent]    [backcolor=transparent]<EnglishContactPerson>[backcolor=transparent]sadf sdf[backcolor=transparent]</EnglishContactPerson>
  12. [backcolor=transparent]    [backcolor=transparent]<ExpirationDate>[backcolor=transparent]2016-12-06 00:00:00[backcolor=transparent]</ExpirationDate>
  13. [backcolor=transparent]    [backcolor=transparent]<DomainName>[backcolor=transparent]fds234sdf.net[backcolor=transparent]</DomainName>
  14. [backcolor=transparent]    [backcolor=transparent]<SafetyLock>[backcolor=transparent]NONE_SETTING[backcolor=transparent]</SafetyLock>
  15. [backcolor=transparent]    [backcolor=transparent]<DnsList>
  16. [backcolor=transparent]        [backcolor=transparent]<Dns>[backcolor=transparent]dns19.hichina.com[backcolor=transparent]</Dns>
  17. [backcolor=transparent]        [backcolor=transparent]<Dns>[backcolor=transparent]dns20.hichina.com[backcolor=transparent]</Dns>
  18. [backcolor=transparent]    [backcolor=transparent]</DnsList>
  19. [backcolor=transparent]    [backcolor=transparent]<TransferLock>[backcolor=transparent]CLOSE[backcolor=transparent]</TransferLock>
  20. [backcolor=transparent]    [backcolor=transparent]<EnglishHolder>[backcolor=transparent]safd[backcolor=transparent]</EnglishHolder>
  21. [backcolor=transparent]</QueryDomainBySaleIdResponse>

[backcolor=transparent]JSON 示例
  1. [backcolor=transparent]{
  2. [backcolor=transparent]  [backcolor=transparent]"WhoisProtected"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]false[backcolor=transparent],
  3. [backcolor=transparent]  [backcolor=transparent]"ChineseHolder"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"sadfsd"[backcolor=transparent],
  4. [backcolor=transparent]  [backcolor=transparent]"SaleId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"S201312050000000"[backcolor=transparent],
  5. [backcolor=transparent]  [backcolor=transparent]"DomainRegType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"PERSONAL"[backcolor=transparent],
  6. [backcolor=transparent]  [backcolor=transparent]"ChineseContactPerson"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"sadfsd"[backcolor=transparent],
  7. [backcolor=transparent]  [backcolor=transparent]"CreationDate"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2013-12-06 00:00:00"[backcolor=transparent],
  8. [backcolor=transparent]  [backcolor=transparent]"HolderEmail"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"test@aliyun.com"[backcolor=transparent],
  9. [backcolor=transparent]  [backcolor=transparent]"UserId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"1344371"[backcolor=transparent],
  10. [backcolor=transparent]  [backcolor=transparent]"EnglishContactPerson"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"sadf sdf"[backcolor=transparent],
  11. [backcolor=transparent]  [backcolor=transparent]"ExpirationDate"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2016-12-06 00:00:00"[backcolor=transparent],
  12. [backcolor=transparent]  [backcolor=transparent]"DomainName"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"fds234sdf.net"[backcolor=transparent],
  13. [backcolor=transparent]  [backcolor=transparent]"SafetyLock"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"NONE_SETTING"[backcolor=transparent],
  14. [backcolor=transparent]  [backcolor=transparent]"DnsList"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  15. [backcolor=transparent]    [backcolor=transparent]"Dns"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][
  16. [backcolor=transparent]      [backcolor=transparent]"dns19.hichina.com"[backcolor=transparent],
  17. [backcolor=transparent]      [backcolor=transparent]"dns20.hichina.com"
  18. [backcolor=transparent]    [backcolor=transparent]]
  19. [backcolor=transparent]  [backcolor=transparent]},
  20. [backcolor=transparent]  [backcolor=transparent]"TransferLock"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"CLOSE"[backcolor=transparent],
  21. [backcolor=transparent]  [backcolor=transparent]"EnglishHolder"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"safd"
  22. [backcolor=transparent]}

展开
收起
boxti 2017-10-17 15:10:01 1779 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
创业公司的域名想象 立即下载
“域”见更美好的未来——域名筑梦互联网+ 立即下载
“域”感——《域名投资从入门到精通》 立即下载