WAPI – command contact-info

  WAPI (API Interface), Contacts

This command returns detailed information about the contact.

For .CZ domain can be used password authorization system, which is used to reveal hidden items in contact. Contact-info Command can call anyone for any existing contact, and might get some confidential information. Therefore, they are hidden and appear only after you enter the authorization code.

In our system, we record who created the contact, or who entered the valid authorization password, and we make available these items without re-use of the command.

Parameters

  • tld – TLD
  • cname – contact name
  • auth_info – contact authorization password  – optional parameter (if domain supports, enter the password to reveal hidden information of contact)

Return Values

  • 1000 – contact Information received successfully
  • 2201 – wrong entered TLD
  • 2216 – invalid contact syntax 
  • 3228 – not support working with contacts
  • 3229 – error loading contact
  • 4212 – connection error

Return data

If successful (code 1000) command returns in the node contact information about the contact

Example of use

XML query:

<request>
 <user>tester</user>
 <auth>463870369aef393f3b82274107c9ade4b5b2a414</auth>
 <command>contact-info</command>
 <clTRID>0094</clTRID>
 <data>
  <tld>cz</tld>
  <cname>TEST</cname>
 </data>
</request>

XML response:

<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1288084718</timestamp>
 <clTRID>0094</clTRID>
 <svTRID>1288084718.8477.32412.1</svTRID>
 <command>contact-info</command>
 <data>
  <contact>
   <contact_id>TEST</contact_id>
   <status>linked</status>
   <name>Honza tester</name>
   <company></company>
   <addr_street>Street 132</addr_street>
   <addr_city>Minas Morgull</addr_city>
   <addr_zip>13245</addr_zip>
   <addr_state></addr_state>
   <addr_country>vg</addr_country>
   <phone>+011 123456789</phone>
   <email>tester@example.com</email>
   <fax></fax>
   <reg_owner>REG-FRED_A</reg_owner>
   <reg_creator>REG-FRED_B</reg_creator>
   <reg_update>REG-FRED_B</reg_update>
   <created_date>2010-10-22 10:15:27</created_date>
   <updated_date>2010-10-22 15:10:19</updated_date>
   <transfer_date>2010-10-25 12:15:47</transfer_date>
   <fname>Honza</fname>
   <lname>Tester</lname>
   <email2></email2>
   <ic></ic>
   <dic></dic>
   <taxpayer></taxpayer>
   <disclose></disclose>
   <other>
    <notify_email>tester@example.com</notify_email>
    <ident_type></ident_type>
    <ident></ident>
   </other>
  </contact>
 </data>
</response>
Děkujeme za zpětnou vazbu!