Contactprofile:info

Obtaining all information for a contact profile

To get the information for a contact profile, you first of all need the identifier of the corresponding contact profile. You can get the identifiers for your contact profiles by using a contactprofile:list request.

XML Template
<?xml version="1.0" encoding="UTF-8"?>
    <request xmlns:contact="http://www.eurodns.com/contactprofile">
        <contactprofile:info>
            <contactprofile:id>#CONTACT PROFILE ID#</contactprofile:id>
        </contactprofile:info>
    </request>

<contactprofile:info> (Occurrences: 1)

R #CONTACT PROFILE ID# Identifier of the contact profile
If the specified contact profile 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:contactprofile="http://www.eurodns.com/contactprofile"
        xmlns:eurodns="http://www.eurodns.com/eurodns">
        <result code="1000">
            <msg><![CDATA[Command completed successfully]]></msg>
        </result>
        <resData>
            <contactprofile:name>#CONTACT PROFILE NAME#</contactprofile:name>
            <contactprofile:contact>
                <contact:postalInfo>
                    <contact:firstname>#FIRSTNAME#</contact:firstname>
                    <contact:lastname>#LASTNAME#</contact:lastname>
                    <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>
            </contactprofile:contact>
        </resData>
        <extension>
            <eurodns:contact>
                <eurodns:defaultAdmin>#IS DEFAULT ADMIN#</eurodns:defaultAdmin>
                <eurodns:defaultOrg>#IS DEFAULT ORG#</eurodns:defaultOrg>
                <eurodns:defaultTech>#IS DEFAULT TECH#</eurodns:defaultTech>
                <eurodns:defaultBilling>#IS DEFAULT BILLING#</eurodns:defaultBilling>
                <eurodns:validated>#VALIDATED#</eurodns:validated>
            </eurodns:contact>
        </extension>
    </response>

<contactprofile:name> (Occurrences: 1)

R #CONTACT PROFILE NAME# Name of the contact profile

<contact:postalInfo> (Occurrences: 1)

R #FIRSTNAME# Firstname
R #LASTNAME# Lastname
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)

<extension> (Occurrences: 1)

<eurodns:contact> (Occurrences: 1)

R #IS DEFAULT ADMIN# Default profile for the administrative contact? (Yes/No)
R #IS DEFAULT ORG# Default profile for the organisation contact? (Yes/No)
R #IS DEFAULT TECH# Default profile for the technical contact? (Yes/No)
R #IS DEFAULT BILLING# Default profile for the billing contact? (Yes/No)
R #VALIDATED# Profile 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