WAPI – command domain-tld-period-check

  Domains, WAPI (API interface)

Parameters

  • tld – TLD
  • period – number of years

Return values

  • 1000 – period can be used for this domain
  • 2203 – period can not be used

Return data

Command does not return any data.

Example of use

XML query:

<request>
 <user>tester</user>
 <auth>dfdeb87510d9482d25bccd90a5489f54640f4e6e</auth>
 <command>domain-tld-period-check</command>
 <clTRID>4791</clTRID>
 <data>
  <tld>eu</tld>
  <period>1</period>
 </data>
</request>

XML response:

<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1289375445</timestamp>
 <clTRID>4791</clTRID>
 <svTRID>1289375445.1419.17063.1</svTRID>
 <command>domain-tld-period-check</command>
</response>