XML Template for se domains

XML Template - Updating your nameservers
<?xml version="1.0" encoding="UTF-8"?>
    <request
        xmlns:domain="http://www.eurodns.com/domain"
        xmlns:nameserver="http://www.eurodns.com/nameserver"
        xmlns:nameserverprofile="http://www.eurodns.com/nameserverprofile"
        xmlns:zoneprofile="http://www.eurodns.com/zoneprofile">

        <domain:update>
            <domain:name>#DOMAIN.TLD#</domain:name>
            <domain:folderid>#DOMAIN FOLDERID#</domain:folderid>
            <nameserverprofile:id>#NAMESERVER PROFILEID#</nameserverprofile:id>
            <zoneprofile:id>#ZONE PROFILEID#</zoneprofile:id>
        </domain:update>

        <nameserver:update>
            <nameserver:priority>#PRIORITY#</nameserver:priority>
            <nameserver:fqdn>#FULLY QUALIFIED DOMAIN NAME#</nameserver:fqdn>
            <nameserver:ipaddr>#IP ADDRESS#</nameserver:ipaddr>
        </nameserver:update>

        <extension:create>
            <extension:service>
                <service:domainprivacy>#WHOIS PRIVACY#</service:domainprivacy>
            </extension:service>

            <extension:data tld="se">
                <extension:registry>
                    <registry:sereg_value>#SEREG_VALUE#</registry:sereg_value>
                </extension:registry>
            </extension:data>
        </extension:create>
    </request>
<domain:update> (Occurrences: 1)
R #DOMAIN.TLD# Domain to be registered
O #DOMAIN FOLDERID# ID of the folder to put the domain into
O #NAMESERVER PROFILEID# Use a nameserver profile instead of specifying the nameserver details
O #ZONE PROFILEID# Set a zone profile to be applied on domain
<nameserver:update> (Occurrences: 2-10)

Note: Repeat this section to specify multiple nameservers. Optional if nameserverprofile:id is provided

R #PRIORITY# Priority of the nameserver (1-9)
R #FULLY QUALIFIED DOMAIN NAME# Fully qualified domain name of the nameserve
R #IP ADDRESS# IPv4 address of the nameserver
<extension:service> (Occurrences: 0,1)
R #WHOIS PRIVACY# Activate / Deactivate whois privacy on domain (Yes/No)
XML Template - Updating one or more contacts
<?xml version="1.0" encoding="UTF-8"?>
    <request
        xmlns:domain="http://www.eurodns.com/domain"
        xmlns:contact="http://www.eurodns.com/contact">

        <domain:update>
            <domain:name>#DOMAIN.TLD#</domain:name>
            <domain:folderid>#DOMAIN FOLDERID#</domain:folderid>
        </domain:update>

        <contact:update>
            <contact:type>#TYPE#</contact:type>
            <contact:contactprofileid>#CONTACT PROFILE ID#</contact:contactprofileid>
            <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>
        </contact:update>

        <extension:create>
            <extension:service>
                <service:domainprivacy>#WHOIS PRIVACY#</service:domainprivacy>
            </extension:service>
        </extension:create>
    </request>
<domain:update> (Occurrences: 1)
R #DOMAIN.TLD# Domain to be updated
O #DOMAIN FOLDERID# ID of the folder to put the domain into
<contact:update> (Occurrences: 4)

Note: Repeat this section with a different #TYPE# for each contact to update.

R #TYPE# admin, billing, tech, org
O #CONTACT PROFILE ID# Use a contact profile instead of specifying the contact details
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 #CITY# City
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
<extension:service> (Occurrences: 0,1)
R #WHOIS PRIVACY# Activate / Deactivate whois privacy on domain (Yes/No)
XML Template - Updating a domain's DNSSEC Keys
<?xml version="1.0" encoding="UTF-8"?>
    <request
        xmlns:domain="http://www.eurodns.com/domain"
        xmlns:extension="http://www.eurodns.com/nameserver"
        xmlns:secdns="http://www.eurodns.com/nameserver">
        <domain:update>
            <domain:name>#DOMAIN.TLD#</domain:name>
            <domain:folderid>#DOMAIN FOLDERID#</domain:folderid>
        </domain:update>
        <extension:create>
            <extension:secdns>
                <secdns:keydata>
                    <secdns:flag>#FLAG#</secdns:flag>
                    <secdns:protocol>#PROTOCOL#</secdns:protocol>
                    <secdns:algorithm>#ALGORITHM#</secdns:algorithm>
                    <secdns:publickey>#PUBLIC KEY#</secdns:publickey>
                </secdns:keydata>
            </extension:secdns>
        </extension:create>
    </request>
R #DOMAIN.TLD# Domain to be updated
O #DOMAIN FOLDERID# ID of the folder to put the domain into
<extension:create> (Occurrences: 0,1)
<extension:secdns> (Occurrences: 0,1)
<extension:keydata> (Occurrences: 0,5)

Note: Omit <extension:secdns> to keep any existing DNSSEC Keys .
Provide <extension:secdns> wihtout any <secdns:keydata> (i.e. empty list) to delete any existing DNSSEC Keys (see examples below) .

R #FLAG# DNSKEY Flags Field (DNSKEY Flags list)
R #PROTOCOL# DNSKEY Protocol Field (DNSKEY Protocol list)
R #ALGORITHM# DNSKEY Algorithm Field (DNSKEY Algorithm list)
R #PUBLIC KEY# DNSKEY Public Key Field. Base64 encoding of the Public Key
<extension:create>
R #SEREG_VALUE# Registrant's company number
Registrant's passport number
XML Example 1 - Update the nameservers and the administrative contact
<?xml version="1.0" encoding="UTF-8"?>
    <request
        xmlns:domain="http://www.eurodns.com/domain"
        xmlns:nameserver="http://www.eurodns.com/nameserver"
        xmlns:contact="http://www.eurodns.com/contact">

        <domain:update>
            <domain:name>eurodns.com</domain:name>
        </domain:update>

        <nameserver:update>
            <nameserver:priority>0</nameserver:priority>
            <nameserver:fqdn>ns1.eurodns.com</nameserver:fqdn>
            <nameserver:ipaddr>80.92.65.2</nameserver:ipaddr>
        </nameserver:update>

        <nameserver:update>
            <nameserver:priority>1</nameserver:priority>
            <nameserver:fqdn>ns2.eurodns.com</nameserver:fqdn>
            <nameserver:ipaddr>80.92.89.242</nameserver:ipaddr>
        </nameserver:update>

        <nameserver:update>
            <nameserver:priority>2</nameserver:priority>
            <nameserver:fqdn>ns3.eurodns.com</nameserver:fqdn>
            <nameserver:ipaddr>80.92.95.42</nameserver:ipaddr>
        </nameserver:update>

        <nameserver:update>
            <nameserver:priority>3</nameserver:priority>
            <nameserver:fqdn>ns4.eurodns.com</nameserver:fqdn>
            <nameserver:ipaddr>192.174.68.100</nameserver:ipaddr>
        </nameserver:update>

        <contact:update>
            <contact:type>admin</contact:type>
            <contact:firstname>Arthur</contact:firstname>
            <contact:lastname>Smith</contact:lastname>
            <contact:company>EuroDNS S.A.</contact:company>
            <contact:address1>24, rue Leon Laval</contact:address1>
            <contact:address2/>
            <contact:address3/>
            <contact:city>Leudelange</contact:city>
            <contact:zipcode>3372</contact:zipcode>
            <contact:country_code>LU</contact:country_code>
            <contact:email>support@eurodns.com</contact:email>
            <contact:phone>+352 123456</contact:phone>
            <contact:fax>+352 654321</contact:fax>
        </contact:update>
    </request>
XML Example 2 - Update the administrative contact by using a profile
<?xml version="1.0" encoding="UTF-8"?>
    <request
        xmlns:domain="http://www.eurodns.com/domain"
        xmlns:contact="http://www.eurodns.com/contact">
        <domain:update>
            <domain:name>eurodns.com</domain:name>
        </domain:update>
        <contact:update>
            <contact:type>admin</contact:type>
            <contact:contactprofileid>123456</contact:contactprofileid>
        </contact:update>
    </request>
XML Example 3 - Delete a domain's DNSSEC Keys
<?xml version="1.0" encoding="UTF-8"?>
    <request
        xmlns:domain="http://www.eurodns.com/domain"
        xmlns:extension="http://www.eurodns.com/nameserver">
        <domain:update>
            <domain:name>eurodns.com</domain:name>
        </domain:update>
        <extension:create>
            <extension:secdns />
        </extension:create>
    </request>
If your request has been successfully submitted, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
    <response xmlns="http://www.eurodns.com/">
        <result code="1001">
            <msg>Command completed successfully, action pending</msg>
        </result>
    </response>

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