domain:transfer

XML Template for ca domains

XML Template
<?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"
    xmlns:extension="http://www.eurodns.com/extension"
    xmlns:secdns="http://www.eurodns.com/secdns"
    xmlns:nameserverprofile="http://www.eurodns.com/nameserverprofile"
    xmlns:zoneprofile="http://www.eurodns.com/zoneprofile">

    <domain:transfer>
        <domain:name>#DOMAIN.TLD#</domain:name>
        <domain:authcode>#AUTHCODE#</domain:authcode>
        <domain:transfertrade>#TRANSFERTRADE#</domain:transfertrade>
        <domain:folderid>#DOMAIN FOLDERID#</domain:folderid>
        <nameserverprofile:id>#NAMESERVER PROFILEID#</nameserverprofile:id>
        <zoneprofile:id>#ZONE PROFILEID#</zoneprofile:id>
    </domain:transfer>

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

    <contact:create>
        <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:create>

    <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>

    <extension:create>
        <extension:service>
            <service:domainprivacy>#WHOIS PRIVACY#</service:domainprivacy>
        </extension:service>
        <extension:data tld="ca">
            <extension:domain>
                <domain:a_caprovince>#A_CAPROVINCE#</domain:a_caprovince>
                <domain:b_caprovince>#B_CAPROVINCE#</domain:b_caprovince>
                <domain:caregistrantlegaltype>#CAREGISTRANTLEGALTYPE#</domain:caregistrantlegaltype>
                <domain:caregistrantname>#CAREGISTRANTNAME#</domain:caregistrantname>
                <domain:o_caprovince>#O_CAPROVINCE#</domain:o_caprovince>
                <domain:trademarkid>#TRADEMARKID#</domain:trademarkid>
                <domain:t_caprovince>#T_CAPROVINCE#</domain:t_caprovince>
                <domain:caapproveagreement>#CAAPPROVEAGREEMENT#</domain:caapproveagreement>
            </extension:domain>
        </extension:data>
    </extension:create>
</request>

<domain:transfer> (Occurences: 1)
R #DOMAIN.TLD# Name of the domain you want to transfer
R/O #AUTHCODE# Authorisation code
R/O #TRANSFERTRADE# If tld handle transfer trade, perform a transfer trade ? (YES/NO)
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:create> (Occurences: 2-6)
Note: Repeat this section to specify multiple nameservers. Optional if nameserverprofile:id is provided
R #PRIORITY# Priority of the name server (1-5)
R #FULLY QUALIFIED DOMAIN NAME# Fully qualified domain name of the nameserver
R #IP ADDRESS# IPv4 address of the nameserver

<contact:create> (Occurences: 4)
Note: The four contacts admin, billing, tech, org have to be specified.
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 #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> (Occurences: 0,1)
R #WHOIS PRIVACY# Activate whois privacy on this domain (Yes/No) (Default: No)

<extension:create> (Occurences: 0,1)
<extension:secdns> (Occurences: 0,1)
<secdns:keydata> (Occurences: 0,5)
Note: if you’re using DNSSEC, you will not be able to use EuroDNS name servers.
If your domain name uses DNSSEC with alternative name servers, we ask that you provide us with the appropriate DNSSEC information to ensure the feature remains enabled.
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 #A_CAPROVINCE# Province of the administrator
R #B_CAPROVINCE# Province or state (Billing contact)
R #CAREGISTRANTLEGALTYPE# Registrant legal type
R #CAREGISTRANTNAME# Registrant name
R #O_CAPROVINCE# Province or state (Owner contact)
R #TRADEMARKID# Trademark Number
R #T_CAPROVINCE# Province or state (Technical contact)
R #CAAPPROVEAGREEMENT# Approve the .CA domains CIRA agreement

The following request is an example on how to perform a transfer by using a contact profile instead of specifying the complete contact details in the request.

XML Example 1 - Perform a transfer by using a contact profile
<?xml version="1.0" encoding="UTF-8"?>
<request
    xmlns:domain="http://www.eurodns.com/domain"
    xmlns:contact="http://www.eurodns.com/contact">
    <domain:transfer>
        <domain:name>eurodns.com</domain:name>
    </domain:transfer>
    <contact:create>
        <contact:type>org</contact:type>
        <contact:contactprofileid>123456</contact:contactprofileid>
    </contact:create>
    <contact:create>
        <contact:type>admin</contact:type>
        <contact:contactprofileid>123456</contact:contactprofileid>
    </contact:create>
    <contact:create>
        <contact:type>tech</contact:type>
        <contact:contactprofileid>654321</contact:contactprofileid>
    </contact:create>
    <contact:create>
        <contact:type>billing</contact:type>
        <contact:contactprofileid>654321</contact:contactprofileid>
    </contact:create>
</request>

If the domain is already taken, the transfer will be started an the following message 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>