contact:info
Obtaining all information for a contact
To get the information for a domain’s contact, you will need the identifier of this contact. Use a domain:info request.
XML Template
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:contact="http://www.eurodns.com/contact">
<contact:info>
<contact:ID>#CONTACTID#</contact:ID>
</contact:info>
</request>
<contact:info> (Occurrences: 1)
R | #CONTACTID# | Identifier of the contact |
If the specified contact exists in your account, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:contact="http://www.eurodns.com/contact" xmlns:eurodns="http://www.eurodns.com/eurodns">
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<contact:ID>#CONTACTID#</contact:ID>
<contact:postalInfo>
<contact:name>#LASTNAME FIRSTNAME#</contact:name>
<contact:org>#COMPANY#</contact:org>
<contact:voice>#PHONE NUMBER#</contact:voice>
<contact:fax>#FAX NUMBER#</contact:fax>
<contact:email>#EMAIL ADDRESS#</contact:email>
<contact:addr>
<contact:street>#STREET#</contact:street>
<contact:city>#CITY#</contact:city>
<contact:pc>#ZIP/POSTALCODE#</contact:pc>
<contact:cc>#COUNTRY CODE#</contact:cc>
</contact:addr>
</contact:postalInfo>
</resData>
<extension>
<eurodns:contact>
<eurodns:role>#CONTACT ROLE#</eurodns:role>
<eurodns:validated>#VALIDATED#</eurodns:validated>
</eurodns:contact>
</extension>
</response>
<resData> (Occurrences: 1)
R | #CONTACTID# | Identifier of the contact |
<contact:postalInfo> (Occurrences: 1)
R | #LASTNAME FIRSTNAME# | Lastname and Firstname |
R | #COMPANY# | Company |
R | #PHONE NUMBER# | Phone number |
R | #FAX NUMBER# | Fax Number |
R | #EMAIL ADDRESS# | Email address |
<contact:addr> (Occurrences: 1)
R | #STREET# | Address: Street |
R | #CITY# | Address: City |
R | #ZIP/POSTALCODE# | Address: ZIP/Postalcode |
R | #COUNTRY CODE# | Address: Country code (ISO 3166-1-alpha-2) |
R | #EXPIRATION DATE# | Expiration Date - ISO 8601 format |
<extension> (Occurrences: 1)
<eurodns:contact> (Occurrences: 1)
R | #CONTACT ROLE# | Contact role (admin, billing, tech, org) |
R | #VALIDATED# | Contact email is validated ? (Yes/No) |
Legend
O | The element is optional and does not have to be specified in the request and/or answer |
R | The element is mandatory and has to specified in the request and/or answer |