WAPI – command domains-list

  WAPI (API Interface), Domains

Command returns a list of ordered domains in the customer account and their status. Returns the names of deleted domains too. If some domain was used in several orders, it will be listed multiple times with the appropriate status. It may  happen that the list contains multiple domains with the same name, of which one domain currently registered with us.

Parameters

  • status – optional parameter, which allows you to select only the domain in a particular status

  Current conditionds for domains:

  • fee_waiting – waiting for payment
  • setup_processing – establishing 
  • active – active
  • renew_processing – renewing
  • expired – expired
  • disabled – suspended
  • canceled – canceled
  • transfer_fee_waiting – waiting for transfer fee payment
  • transfer_processing – ongoing transfer 
  • deleted – deleted

Return values

  • 1000 – Llst of domains successfully acquired

Return data

Command domains-list returns a list in which each domain contains the following items:

  • name – domain name
  • status – domain status

Example

XML request:

<request>
 <user>tester</user>
 <auth>2094c7ed8015507aa75d032d30cb9f67f9c237d3</auth>
 <command>domains-list</command>
 <clTRID>UTsx</clTRID>
</request>

XML response:

<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1286881710</timestamp>
 <clTRID>UTsx</clTRID>
 <svTRID>1286881710.4978.4684</svTRID>
 <command>domains-list</command>
 <data>
  <domain>
   <name>example1.cz</name>
   <status>active</status>
  </domain>
  <domain>
   <name>example2.cz</name>
   <status>expired</status>
  </domain>
  <domain>
   <name>example3.cz</name>
   <status>active</status>
  </domain>
  <domain>
   <name>example4.cz</name>
   <status>active</status>
  </domain>
  <domain>
   <name>example5.cz</name>
   <status>active</status>
  </domain>
 </data>
</response>
Děkujeme za zpětnou vazbu!