Contactprofile:create

Create a new contact profile to your account

To simplify the management of your domains, you can create contact profiles and use these profiles in your daily tasks. This way you do not have to repeat the whole contact details for each request that you sent to our API. You only specify the identifier of a contact profile and our system will automatically use the contact details stored in the corresponding profile.

XML Template
<?xml version="1.0" encoding="UTF-8"?>
    <request xmlns:contactprofile="http://www.eurodns.com/contactprofile">
        <contactprofile:create>
            <contactprofile:name>#CONTACT PROFILE NAME#</contactprofile:name>
            <contactprofile:contact>
                <contact:firstname>#FIRSTNAME#</contact:firstname>
                <contact:lastname>#LASTNAME#</contact:lastname>
                <contact:company>#COMPANY#</contact:company>
                <contact:address1>#ADDRESS LINE 1#</contact:address1>
                <contact:address2>#ADDRESS LINE 2#</contact:address2>
                <contact:address3>#ADDRESS LINE 3#</contact:address3>
                <contact:city>#CITY#</contact:city>
                <contact:zipcode>#ZIP/POSTAL CODE#</contact:zipcode>
                <contact:country_code>#COUNTRY CODE#</contact:country_code>
                <contact:email>#EMAIL ADDRESS#</contact:email>
                <contact:phone>#PHONE NUMBER#</contact:phone>
                <contact:fax>#FAX NUMBER#</contact:fax>
            </contactprofile:contact>
        </contactprofile:create>
    </request>

<contactprofile:create> (Occurrences: 1)

R #CONTACT PROFILE NAME# The name of the contact profile to create

<contactprofile:contact> (Occurrences: 1)

R #FIRSTNAME# Firstname
R #LASTNAME# Lastname
O #COMPANY# Company
R #ADDRESS LINE 1# Address, Line 1
O #ADDRESS LINE 2# Address, Line 2
O #ADDRESS LINE 3# Address, Line 3
R #ZIP/POSTAL CODE# ZIP/Postal code
R #COUNTRY CODE# Country code (ISO 3166-1-alpha-2)
R #EMAIL ADDRESS# Email address
R #PHONE NUMBER# Phone number format: +999999999. Starting with +country phone code
O #FAX NUMBER# Phone number format: +999999999. Starting with +country phone code
If the action was successful, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
    <response xmlns:contactprofile="http://www.eurodns.com/contactprofile">
        <result code="1000">
            <msg>Command completed successfully</msg>
        </result>
        <resData>
            <contactprofile:id>#CONTACT PROFILE ID#</contactprofile:id>
        </resData>
    </response>

<resData> (Occurrences: 1)

R #CONTACT PROFILE ID# The identifier of the profile that has been created

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