WAPI – command contact-check

  Contacts, WAPI (API interface)

Parameters

  • tld – TLD
  • cname – contact name

Return Values

  • 1000 – contact is free and can be used
  • 2201 – invalid TLD
  • 2216 – invalid contact format
  • 2218 – name is generated automatically (for some TLD can not specify a contact name)
  • 3231 – contact already exists
  • 3233 – contact can not be used
  • 3234 – contact can not be used – is in quarantine
  • 3235 – contact can not be used – is reserved
  • 3236 – contact can not be used – is blocked
  • 4211 – verification failed – communication error, repeat the command later

Return data

Command does not return any data.

Example of use

XML query:

<request>
 <user>tester</user
 <auth>463870369aef393f3b82274107c9ade4b5b2a414</auth
 <command>contact-check</command>
 <clTRID>4103</clTRID>
 <data>
  <tld>cz</tld>
  <cname>TESTER</cname>
 </data>
</request>

XML response:

<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1288013696</timestamp>
 <clTRID>4103</clTRID>
 <svTRID>1288013696.3426.8315.1</svTRID>
 <command>contact-check</command>
</response>