Returns the detailed data of a single contact (owner/administrator). It is used for both CZ and generic contacts. Return code 1000 OK, 2002 This contact does not exist (the CZ contact does not exist), 2003 You are not allowed for this Contact ID (the generic contact does not belong to you), 8900 Unknown error.
The parameter is directly the value of the info_contact element = the contact ID (e.g. from the list returned by list_contacts). Generic contacts have the form G-number, CZ contacts are text IDs (e.g. PECHY).
Return values (the info_contact element):
Example:
<?xml version="1.0" encoding="UTF-8"?> <api> <ssid>xGdPffRZ9rzqvQ903JGBe2JouqE8Av</ssid> <info_contact>PECHY</info_contact> </api>
<?xml version="1.0"?> <api> <credit currency="CZK">100.00</credit> <status code="1000">OK</status> <info_contact> <contact>PECHY</contact> <name>Ondřej Pecháček</name> <organization>Pechy s.r.o.</organization> <street>Testovací 11/7</street> <city>Testov</city> <psc>87410</psc> <cc>CZ</cc> <phone>+420.602602602</phone> <email>pav@oook.cz</email> <disclose_voice>1</disclose_voice> <disclose_email>0</disclose_email> </info_contact> </api>