contact:info

Obtaining all information for a contact

To get the information for a contact, you first of all need the identifier of this contact. You can get the identifiers for the contacts of a domain by using 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> (Occurences: 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> (Occurences: 1)
R #CONTACTID# Identifer of the contact
<contact:postalInfo> (Occurences: 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> (Occurences: 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> (Occurences: 1)
<eurodns:contact> (Occurences: 1)
R #CONTACT ROLE# Contact role (admin, billing, tech, org)
R #VALIDATED# Contact email is validated ? (Yes/No)