API: OpenSRS

OpenSRS API Guide: Domains and SSL

Welcome to the OpenSRS API guide. Here you will find comprehensive documentation regarding our domain and SSL services. We hope this guide will help you start working with OpenSRS as quickly as possible. If you have any questions or concerns, please do not hesitate to contact help@opensrs.com

Get Started

sw_register (domain)

Initiates domain registration or domain transfer. Please note your handle parameter: "save"- will keep the order pending for later approval by the RSP, whereas "process" will proceed and complete the order.

Request parameters for sw_register (domain)

Standard parameters

  • action = sw_register
  • object = domain
  • registrant_ip = valid IP address of the registrant (optional)

Attributes

Parameters within the attributes associative array are described below.

Parameter name
Obligation
Definition/Value

affiliate_id

Optional

The unique identifier of an RSP's affiliate, which allows the RSP to track orders coming through different affiliates. Specify a valid affiliate ID (max 256 char).

auto_renew

Optional

Used to set domain to auto-renew.

  • 0—Donotauto-renew
  • 1—Auto-renew

change_contact

Optional

Exception: This parameter is required to change the legal type, when transferring a .CA domain.

Used to change contact information for
.ORG, .INFO, .BIZ, .BE, .CN, .EU, .IT, .ME, .MOBI, .UK, and .US domains during a transfer or after transfer completion.

  • 0—Do not change contact set

  • 1—Apply new contact set when transfer completes.
    comments contact_set.

Optional Required Value is always set to 1 for .CC, .TV, .COM, .NET.

comments

Optional

Adds additional notes to the order, for example, the additional residency information that is required for .FR domain registrations.

contact_set

Required

A collection of associative arrays containing contact information for each contact type (owner, admin, billing, tech). See Contact Set.

Notes:

For, .ES, .MX, and .US registrations, state is required.

For .CA, contact state is only required if country is Canada or United States.

For .NL, state is NOT required.

For .ES domains registrations, the postal code must correspond to the province for each of the contacts. See .ESpostalcodes ADD LINK for a list of the postal code prefixes that apply to each province.

For .IT domain registrations, if the entity_type is anything other than 1, org_name is required, and you must include the admin associative array. If entity_type = 1, the admin contact is assumed to be the same as the owner and you do not need to submit it.

custom_nameservers

Required for domain registrations

An indication of whether to use the RSP's default nameservers, or those provided in the 'sw_register' request.

  • 0—Use reseller's default nameservers. If set to 0 and default nameservers are not defined, no nameservers are associated with the domain.

Note: .TEL always uses the default nameservers, so this value should be 0 for .TEL registrations. Any nameservers submitted for .TEL will be ignored.

1—Use nameservers provided in request.

custom_transfer_nameservers

Required for .EU transfers - If not submitted, the nameserver list is ignored

This flag is only used if reg_type = transfer, and indicates whether to use the nameservers provided in the request.

  • 0—Use the domain's existing nameservers and ignore nameservers provided in request.

  • 1—Use nameservers provided in request. A minimum of two nameservers must be provided. If no nameservers are supplied, domain's nameservers are used.

Note: For .EU transfers, this parameter must always be set to 1.

custom_tech_contact

Required for domain registrations

An indication of whether to use the RSP's tech contact info, or the tech contact info provided n the 'sw_register' request.

  • 0—Use reseller's tech contact info.

  • 1—Use tech contact info provided in request.

dns_template

Optional

Specify the name of the DNS template that you want to use to enable DNS and assign initial DNS records, or specify blank to enable DNS without defining any records.

Note: You must enter the word blank preceded and followed by asterisks.

The template name can be a maximum of 50 characters.

If this parameter is specified, the nameservers are automatically set to the nameservers for the DNS service:

  • ns1.systemdns.com

  • ns2.systemdns.com

  • ns3.systemdns.com

domain

Required for domain registrations.

The domain name to be acted upon in the sw_register request.

encoding_type

Optional

The encoding type for the domain.

Submit a valid three-character language tag. For a list of allowed values, see Appendix C: EncodingTypesforIDNs.

If you submit the reg_domain parameter to link two profiles, and the previously registered domain contains multilingual characters, the reg_domain value must also be in Punycode format.

For a list of the languages supported for each TLD, see the gTLDandccTLDReferenceChart on the OpenSRS website.

f_lock_domain

Optional

Allows you to lock the domain so that it cannot be transferred away. To allow a transfer on a locked domain, the domain must first be unlocked. Even if submitted, this setting is not applied to TLDs where locking is not supported such as .DE, .UK, .CH, .NL, .FR, IT, BE, and AT.

  • 0—Do not lock domain
  • 1—Lock domain

f_parkp

Optional

Enables the Parked Pages Program. When the Parked Pages Program is enabled, a customized page containing contextual ads is displayed. The ads generate revenue whenever a visitor clicks on one of the links, and that revenue is shared with you, the reseller.

Important: Enabling Parked Pages changes the nameservers of that domain, and any existing website will not display.

Parked Pages functionality is available for new and transferred domain registrations for these TLDs: .COM, .NET, .ORG, .INFO, .BIZ, .MOBI, .NAME, .ASIA, .BE, .BZ, .CA, .CC, .CO, .EU, .IN, .ME, .NL, .TV, .UK, .US, .WS and .XXX .

If Parked Pages is enabled, DNS settings entered at registration are saved for future use and the Parked Pages nameservers are used instead.

For transfers, the DNS settings that were entered with the transfer request are used. If DNS settings were not submitted at the time of transfer, the pre-transfer DNS settings are used. If the domain was using the Parked Pages DNS at the time of transfer, and DNS settings are not provided, the domain continues to use the Parked Pages DNS.

  • Y—Enable Parked Pages for the domain
  • N—Do not enable Parked Pages for the domain; this is the default.

f_whois_privacy

Optional

Allows you to enable WHOIS Privacy for new .COM, .NET, .ORG, .INFO, .BIZ, .NAME, .ME, .MOBI, .CC, .CO, and .TV registrations.

  • 0—Disable
  • 1—Enable

handle

Optional

Indicates how to process the order.

  • save—Pend the order for later approval by the RSP.
  • process—Proceed with the order immediate

    lf absent, see reseller setting for default options.

Intended_use

Optional

Intended_use attribute is optional, but it is recommended that you submit an appropriate response for your .scot registration. If no response is submitted, OpenSRS will send one on your behalf, but we cannot guarantee it will be accepted by the registry.

  • It is a free form text field in API and Control Panel. Max character count is 2048

<item key="registrant_extra_info">
<dt_assoc>
<item key="intended_use">the domain will support trade and development in Scotland</item>
</dt_assoc>
</item>

link_domains

Optional

Indicates whether to link this domain with others.

This parameter is only used when ordering multiple domains over multiple calls to sw_register. Also, it is only used if the user does not wish to associate the new registrations with an existing domain/profile in OpenSRS. The first sw_register call to OpenSRS should have link_domains set to 1. The return to this call contains an OpenSRS order ID. This value is used as the master_order_id in the subsequent calls to sw_register for the remainder of the domain list list.

  • 0—Do not link domains

  • 1—Link domains. If set to 1, the reg_domain field should not be specified.

Note: Only the first call to sw_register should contain the attribute link_domains.

master_order_id

Required for domain
registrations if link_domains =1

The order ID returned by the first by the first sw_register call for a group of domains that are to be linked (via the link_domains parameter).

nameserver_list

Required for .EU transfers

A list of nameserver pairs, each of which contain a mameserver's name and sort order. (Minimum two required).

For allowed values, see the Nameserver_list table below.

If dns_template is specified, the nameservers are automatically set to the nameservers for the DNS service:

  • ns1.systemdns.com

  • ns2.systemdns.com

  • ns3.systemdns.com

Important: For .EU transfers, if nameservers are not provided, the domain name will be stripped of its existing nameservers and will not have any nameservers.

owner_confirm_address

Required for .DE, .BE, .EU, and .IT transfers

The email address to which to send messages regarding a .BE, .DE, .EU or .IT transfer.

Note: The email address provided is used for the current transfer only, and not for future messages.

period

Required for new domain registrations only

The length of the registration period. Allowed values are 1 – 10, depending on the TLD, that is, not all registries allow for a 1-year registration. The default is 2, which is valid for all TLDs.

premium_price_to_verify

Required only if registering a registry premium domain.

Submits the premium domain price and verifies that it is the same as the list price. If the submitted price does not match the Tucows list price, the command will fail.

Allowed value is the price for the premium domain, in the format nnn.nn.

reg_domain

Optional

An existing, active domain name in OpenSRS that is owned by the registrant. Providing this parameter links the newly registered or transferred domain to the profile of the existing domain.

reg_username

Required for domain registrations

The username of the registrant.

Usernames must be 3-20 characters in length.You can use any of the following alphanumeric
characters: A-Z, a-z, 0-9.

reg_password

Required for domain registrations

The registrant's password.

Passwords must be 10-20 characters in length.You can use any of the following alphanumeric characters and symbols: A-Z, a-z, 0-9, ! @\$^,.~|=-+_{}#"

reg_type

Required for domain registrations

The type of registration being requested:

  • landrush—Submit a request for a domain during its landrush period

  • new—A new registration

  • transfer—Transfer a domain into OpenSRS

  • sunrise—Submit a request for a domain during its sunrise period

tld_data

Required for .AERO, .AR, .ASIA, .AU, .BR, .CL, .COOP, .DE, .DK, .FI,
.FR, .HK,
.HU, .IT, .JOBS, .LV,.MX,
.MY, .NO,
.NU, .NYC, .PM, .PRO, .PT,
.RE, .RO,

An associative array that contains additional information required by the registry, such as the residency of the registrant. If you submit a request that contains this array, you must also include data = tld_data.

Allowed values are:

  • au_registrant_info—Eligibility requirements for.AU registrants.

  • ced_info—Charter Eligibility Declaration (CED) information for .ASIA domains.

  • ipr_data—Sponsored Community information associated with .XXX
    domains.

  • it_registrant_info—Regional
    presence requirements for .IT
    domains.

  • nexus—American presence requirements for .US domains.

  • professional_data—The professional designation information that is associated with the .PRO domain.

  • registrant_extra_info—Regional presence requirements for various ccTLDs such as .FR and .NYC, or industry requirements for .JOBS domains or .AERO domains.

For information on the allowed values for each of these, see tld_data.

trademark_smd

Required for Sunrise orders of the new gTLDs

The Signed Mark Data (SMD) that is issued by the Trademark Clearinghouse (TMCH) when the corresponding trademark is registered with TMCH, and which serves as proof of trademark rights.

When submitting sunrise orders for the new gTLDs, you must also submit the following parameters and values: reg_type = sunrise and handle = save.

modify_messaging_language

Optional

messaging_language is an optional parameter in the attributes array. If
not specified, messages sent to the end customer will be in the language
set as the default for the reseller.

messaging_language will now also be returned in the response of get
(userinfo).

Allowed values for messaging_language are

af-ZA
ar-AE
zh-CN
nl-NL
en-US
fr-FR
de-DE
el-GR
hi-IN
it-IT
ja-JP
ko-KR
ms-MY
fa-AF
pl-PL
pt-BR
ru-RU
es-ES
th-TH
tk-TR
vi-VN

Nameserver pair

Each element of the nameserver_list array contains the following pair, expressed as an associative array:

Parameter name
Obligation
Definition/Value

name

Required

The fully qualified domain of the nameserver.

sortorder

Required

The sort order of the nameserver.

sortorder values must start at 1 and should not contain any gaps in sequence.

.BE registrations and transfers

Specific parameters and required values for .BE

.BE registrations require just two contact types: owner and tech. Admin and billing contacts are not required for .BE registrations and are ignored if submitted. The owner and tech contact sets require the standard fields and values, plus specific values for the lang field.

Note:

During a .BE transfer, contact changes are only accepted for owner name and organization. Changes to contact fields other than owner name and organization must be submitted after the transfer is completed.

Attributes

Parameters within the attributes associative array are described below.

Parameter name
Obligation
Definition/Value

owner_confirm_address

Required

The email address to which to send messages regarding a .BE transfer. The email address provided is used for the current transfer only, and not for future messages.

Owner and Tech

Parameters within the owner and tech associative arrays are described below.

Parameter name
Obligation
Definition/Value

lang

Required

The preferred language for use in the registration agreement and for dispute resolution:

  • en—English

  • fr—French

  • nl—Dutch

.CA registrations

Specific parameters and required values for .CA

Parameters within the attributes associative array are described below.

Parameter name
Obligation
Definition/Value

legal_type

Required

Domain name owner's legal classification.

Possible values are as follows

  • ABO—Aboriginal

  • ASS—Association

  • CCO—CanadianCorporation

  • CCT—CanadianCitizen

  • EDU—Educational Institution

  • GOV—Government

  • HOP—Hospital

  • INB—IndianBand

  • LAM—Library, Archive, or Museum

  • LGR—Legal Representative

  • MAJ—Her Majesty the Queen

  • OMK—Protected byTrademarks Act

  • PLT—PoliticalParty

  • PRT—Partnership

  • RES—Permanent Resident

  • TDM—Trademark Owner

  • TRD—TradeUnion

  • TRS—Trust

Please note: To change the legal type of a .CA domain during a transfer from another registrar, you must also submit the change_contact parameter.

.EU registrations and transfers

.EU registrations require just two contact types: owner and tech. The admin and billing contacts are not required for .EU registrations and are ignored if submitted. The owner and tech contact sets require the standard fields and values, plus specific values for the fields country and lang.

As of December 10, 2009, .EU supports IDNs. The IDN name must be submitted in ACE (Punycode) encoding, and all characters in the name before it is converted to Punycode must conform to .EU requirements. For more information on .EU IDNs, see https://www.eurid.eu/en/get-eu/domain-names-special-characters-idns

Tip: Individual .EU domain registrants can keep their name private in the WHOIS record by leaving the owner org_name field blank.

For .EU transfers, you must specify the domain's nameservers. If no nameservers are provided, the domain name will be stripped of its existing nameservers and not have any nameservers.

Important: If org_name is not applicable, leave the org_name field blank, that is, do not enter na or none; otherwise the trade or transfer will fail.

Attributes

Parameters within the attributes associative array are described below.

Parameter name
Obligation

owner_confirm_address

Required for .EU transfers

The email address to which to send messages regarding a .EU transfer. The email address provided is used for the current transfer only, and not for future messages.

Owner and Tech

Parameters within the owner and tech associative arrays are described below.

Parameter name
Obligation
Definition/Value

country

Required for .EU registrations

To be eligible to register a .EU domain, you must have residency in one of the countries/regions designated by EURid, the .EU registry.

  • GB—United Kingdom (GB)

  • AX—Aland Islands Cyprus

  • DE—Germany
    Estonia
    Finland
    Gibraltar

  • GP—Guadeloupe Hungary
    Italy
    Luxembourg

  • MQ—Martinique

  • NL—Netherlands Portugal
    Sweden
    Slovakia

  • AT—Austria

  • BE—Belgium CY—

  • CZ—Czech Republic

  • DK—Denmark EE—

  • ES—Spain FI—

  • FR—France GI—

  • GF—French Guyana

  • GR—Greece HU

  • IE—Ireland IT

  • LT—Lithuania LU

  • LV—Latvia

MT—Malta (including Gozo and Comino)

  • PL—Poland PT

  • RE—Reunion SE—

  • SI—Slovenia SK

lang

Required for .EU registrations

The preferred language for use in the registration agreement and for dispute resolution.

  • cs—Czech

  • de—German
    English

  • et—Estonian
    French

  • it—Italian

  • lv—Latvian

  • nl—Dutch
    Portuguese
    Slovenian

  • da—Danish

  • el—Greek en

  • es—Spanish

  • fi—Finnish fr

  • hu—Hungarian

  • lt—Lithuanian

  • mt—Maltese

  • pl—Poland pt

  • sk—Slovak sl

  • sv—Swedish

.IT transfers

Specific parameters and required values for .IT transfers

Parameters within the attributes associative array are described below.

Parameter name
Obligation
Definition/Value

change_contact

Optional

Used to change contact information during a transfer or after transfer completion.

  • 0—Do not change contact set

  • 1—Apply new contact set when transfer completes

Important: If change_contact = 1, then you must also include a tld_data associative array.

owner_confirm_address

Required

The email address to which to send messages regarding a .IT transfer.

Note: The email address provided is used for the current transfer only, and not for future messages.

.MOBI registrations

.MOBI applications use the sw_register command with the standard
parameters. Specific parameters and required values are described below.

Domain names can be registered for one to ten year terms.

Nameservers

You must submit the correct nameservers with your application. If you are unsure which nameservers to submit with your application, submit the OpenSRS nameservers ns1.systemdns.com and ns2.systemdns.com.

Specific parameters and required values for .MOBI applications

Attributes

Parameters within the attributes associative array are described below.

Parameter name
Obligation
Definition/Value

period

Required

The registration term (if application results in successful registration); may be 1 to 10 years.

reg_type

Required

The type of registration. Allowed value is new.

.NAME registrations

Specific parameters and required values for .NAME

Parameters within the attributes associative array are described below.

Parameter name
Obligation
Definition/Value

tld_data

Optional for .NAME (if email bundle)

An associative array containing TLD- specific data.

  • forwarding-email—For.NAME domains

Parameters for registry premium names

Parameter name
Obligation
Definition/Value

reg_type

Required

The type of registration. Allowed value is new or transfer.

premium_price_to_verify

Required

Submits the premium domain price and verifies that it is the same as the list price. If the submitted price does not match the Tucows list price, the command will fail.

Allowed value is the price for the premium domain, in the format nnn.nn.

Response parameters for sw_register (domain or trust_service)

The Reseller Agent (RSA) can respond with a 250 response_code, which indicates that the action was submitted for processing in an asynchronous registry. When the registry's reply is received by OpenSRS, it is processed. Performing a get userinfo command indicates if there is an action currently waiting on a domain.

Standard parameters action = reply

  • object = domain or trust_service
  • is_success = a Boolean is returned, indicating success or failure of the
    request
  • response_code = response code indicating outcome of the request
  • response_text = message describing the outcome of the request

Domain order attributes

If the request is successful, the attributes associative array may include the
following:

admin_email

Optional

Returns the admin email contact from the order.

async_reason

Returned for asynchronous requests

Indicates the reason that the request was asynchronous. Allowed values are:

  • general—Order was submitted to an asynchronous registry.

  • has_claim—Registrant action required before order can complete.

cancelled_orders

Optional

A list of pending orders for this domain that are cancelled by the successful registration of the domain.

error

Returned when an order fails.

A text description of the errors that occurred in a failed transaction.

forced_pending

Returned if the order has been forced to pending queue.

Orders that cannot be processed (insufficient funds, domain already taken, and so on) are forced to the pending queue.

id

Returned if is_success = true

The ID of the order, which can be used in RWI queries.

queue_request_id

Returned if the order has been queued.

The ID of the request as it appears in the queue.

registration_code

Returned if is_success = true

The registration code returned by the registry.

registration_text

Returned if is_success = true

The registration text returned by the registry.

transfer_id

Returned if reg_type=transfer

ID number of the transfer.

whois_privacy_state

Returned if is_success = true

Returns the state of WHOIS Privacy. Allowed values are enabled, disabled, enabling (in process), or disabling (in process).

Domain registration examples

For domain = .COM, .NET, .ORG, .INFO, .BIZ, .NAME, .ME, and .MOBI**

Example 1

About this example:

  • This is a new domain name registration.
  • This registration creates a new user profile
  • No custom tech contact is set.
  • Custom nameservers are set.
  • WHOIS Privacy feature enabled at time of registration.
  • Parked Pages service activated (for qualifying TLDs).
  • User is requesting the domain to lock once it is registered.
  • Two pending orders are cancelled by the successful registration of this
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.com</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">1</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed.</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1532247</item>
                        <item key="id">11820034</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

Example 2

About this example:

  • This is a new domain name registration.
  • This registration is based on another domain (example.com).
  • No custom tech contact is set.
  • DNS template is applied.
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.com</item>
                        <item key="reg_type">new</item>
                        <item key="reg_domain">example.net</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="dns_template">example_template</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed.</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1532248</item>
                        <item key="id">11820036</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

Example 3

About this example:

  • This is a new domain name registration.
  • No custom tech contact is set.
  • DNS is enabled but no records are defined.
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.com</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="dns_template">*blank*</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="custom_nameservers">1</item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed.</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1532249</item>
                        <item key="id">11820038</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .AERO

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">sw_register</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="handle">process</item>
                        <item key="reg_username">aaaa</item>
                        <item key="reg_password">aaaa</item>
                        <item key="auto_renew">0</item>
                        <item key="link_domains">0</item>
                        <item key="f_whois_privacy">1</item>
                        <item key="f_lock_domain">1</item>
                        <item key="custom_tech_contact">1</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1812</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1248</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="domain">example.aero</item>
                        <item key="affiliate_id" />
                        <item key="period">1</item>
                        <item key="reg_type">new</item>
                        <item key="bulk_order">0</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="encoding_type" />
                        <item key="action">register</item>
                        <item key="custom_nameservers">1</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="aero_ens_password">EnsPa55w0rd</item>
                                        <item key="aero_ens_id">EnsId</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">250</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully submitted</item>
                <item key="rr_id">13689</item>
                <item key="transaction_id">2012-05-16 09:10:36 1250 101</item>
                <item key="domain_id">707819</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully submitted</item>
                        <item key="admin_email">adler@example.com</item>
                        <item key="registration_code">300</item>
                        <item key="waiting_request">sw_register</item>
                        <item key="waiting_requests_no">1</item>
                        <item key="id">477659</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .ASIA

About this example:

  • This is a new domain name registration
  • The required ASIA-specific data is contained in the ced_info associative
    array.
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">exampleuser</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.asia</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1812</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1248</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="ced_info">
                                    <dt_assoc>
                                        <item key="locality_country">JP</item>
                                        <item key="legal_entity_type">naturalPerson</item>
                                        <item key="id_type">passport</item>
                                        <item key="id_number">12345</item>
                                        <item key="contact_type">admin</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1521435</item>
                        <item key="id">11541235</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .AU

Note:

.AU registrations require two contact types: owner and tech.

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="reg_type">new</item>
                        <item key="domain">example.com.au</item>
                        <item key="period">2</item>
                        <item key="link_domains">0</item>
                        <item key="f_lock_domain">1</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_domain" />
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="au_registrant_info">
                                    <dt_assoc>
                                        <item key="registrant_name">Registered Company Name Ltd</item>
                                        <item key="registrant_id_type">ABN</item>
                                        <item key="policy_reason">1</item>
                                        <item key="registrant_id">99 999 999 999</item>
                                        <item key="eligibility_type">Registered</item>
                                        <item key="eligibility_name">Don Marshall</item>
                                        <item key="eligibility_id_type">ACN</item>
                                        <item key="eligibility_id">99999999</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="custom_tech_contact">1</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1812</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1248</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="custom_nameservers">1</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">OK</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_text">Domain registration successfully completed Domain successfully locked.</item>
                        <item key="registration_code">200</item>
                        <item key="id">417011</item>
                    </dt_assoc>
                </item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .CA

About this example:

  • This is a new domain name registration.
  • Neither custom tech nor custom nameservers are supplied.
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.ca</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1812</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1248</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
                <item key="period">1</item>
                <item key="legal_type">CCT</item>
                <item key="reg_domain" />
                <item key="custom_nameservers">1</item>
                <item key="nameserver_list">
                    <dt_array>
                        <item key="0">
                            <dt_assoc>
                                <item key="sortorder">1</item>
                                <item key="name">ns1.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="1">
                            <dt_assoc>
                                <item key="sortorder">2</item>
                                <item key="name">ns2.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="2">
                            <dt_assoc>
                                <item key="sortorder">3</item>
                                <item key="name">ns3.systemdns.com</item>
                            </dt_assoc>
                        </item>
                    </dt_array>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed. Whois Privacy successfully enabled.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed. Whois Privacy successfully enabled.</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1521434</item>
                        <item key="id">11541234</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .COM.BR

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="br_register_number">123.456.789-00</item>
                            </dt_assoc>
                        </item>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.com.br</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">BR</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">SP</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Sao Paulo</item>
                                        <item key="postal_code">01037-010</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">BR</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">SP</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Sao Paulo</item>
                                        <item key="postal_code">01037-010</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">BR</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">SP</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Sao Paulo</item>
                                        <item key="postal_code">01037-010</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
                <item key="period">1</item>
                <item key="reg_domain" />
                <item key="custom_nameservers">1</item>
                <item key="nameserver_list">
                    <dt_array>
                        <item key="0">
                            <dt_assoc>
                                <item key="sortorder">1</item>
                                <item key="name">ns1.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="1">
                            <dt_assoc>
                                <item key="sortorder">2</item>
                                <item key="name">ns2.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="2">
                            <dt_assoc>
                                <item key="sortorder">3</item>
                                <item key="name">ns3.systemdns.com</item>
                            </dt_assoc>
                        </item>
                    </dt_array>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">250</item>
                <item key="is_success">1</item>
                <item key="rr_id">6466</item>
                <item key="response_text">Domain registration successfully submitted</item>
                <item key="transaction_id">2011-04-14 18:12:39 25830 101</item>
                <item key="domain_id">256808</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully submitted</item>
                        <item key="admin_email">ottway@example.com</item>
                        <item key="registration_code">300</item>
                        <item key="waiting_requests_no">1</item>
                        <item key="waiting_request">sw_register</item>
                        <item key="id">296660</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .DE

Note:

Submit .DE zone contact information as contact type billing.

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.de</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
                <item key="period">1</item>
                <item key="reg_domain" />
                <item key="custom_nameservers">1</item>
                <item key="nameserver_list">
                    <dt_array>
                        <item key="0">
                            <dt_assoc>
                                <item key="sortorder">1</item>
                                <item key="name">ns1.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="1">
                            <dt_assoc>
                                <item key="sortorder">2</item>
                                <item key="name">ns2.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="2">
                            <dt_assoc>
                                <item key="sortorder">3</item>
                                <item key="name">ns3.systemdns.com</item>
                            </dt_assoc>
                        </item>
                    </dt_array>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="admin_email">ottway@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="id">607737</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .DK

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.dk</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="registrant_vat_id">123456789</item>
                                        <item key="registrant_type">organization</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">250</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully submitted</item>
                <item key="rr_id">74063</item>
                <item key="transaction_id">2016-07-27 05:52:40 7393 101</item>
                <item key="domain_id">1521429</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully submitted</item>
                        <item key="registration_code">300</item>
                        <item key="async_reason">general</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="domain_id">1521429</item>
                        <item key="waiting_request">sw_register</item>
                        <item key="waiting_requests_no">1</item>
                        <item key="id">11540663</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .ES

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.es</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">testuser123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="es_id_type">nie</item>
                                        <item key="es_id_number">X1234567L</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">ES</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+34.123456789</item>
                                        <item key="last_name">Smith</item>
                                        <item key="state">Madrid</item>
                                        <item key="email">email@example.com</item>
                                        <item key="city">Madrid</item>
                                        <item key="postal_code">123456</item>
                                        <item key="address1">123 Main St</item>
                                        <item key="first_name">Bob</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">ES</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+34.123456789</item>
                                        <item key="last_name">Smith</item>
                                        <item key="state">Madrid</item>
                                        <item key="email">email@example.com</item>
                                        <item key="city">Madrid</item>
                                        <item key="postal_code">123456</item>
                                        <item key="address1">123 Main St</item>
                                        <item key="first_name">Bob</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">ES</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+34.123456789</item>
                                        <item key="last_name">Smith</item>
                                        <item key="state">Madrid</item>
                                        <item key="email">email@example.com</item>
                                        <item key="city">Madrid</item>
                                        <item key="postal_code">123456</item>
                                        <item key="address1">123 Main St</item>
                                        <item key="first_name">Bob</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
   <header>
       <version>0.9</version>
   </header>
   <body>
       <data_block>
           <dt_assoc>
               <item key="protocol">XCP</item>
               <item key="object">DOMAIN</item>
               <item key="response_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
               <item key="action">REPLY</item>
               <item key="attributes">
                   <dt_assoc>
                       <item key="admin_email">email@example.com</item>
                       <item key="registration_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                       <item key="cancelled_orders">
                           <dt_array>
                               <item key="0">1986895</item>
                           </dt_array>
                       </item>
                       <item key="registration_code">200</item>
                       <item key="domain_id">1014179</item>
                       <item key="id">1986896</item>
                   </dt_assoc>
               </item>
               <item key="response_code">200</item>
               <item key="is_success">1</item>
           </dt_assoc>
       </data_block>
   </body>
</OPS_envelope>

For domain = .EU

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.eu</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
                <item key="period">1</item>
                <item key="reg_domain" />
                <item key="custom_nameservers">1</item>
                <item key="nameserver_list">
                    <dt_array>
                        <item key="0">
                            <dt_assoc>
                                <item key="sortorder">1</item>
                                <item key="name">ns1.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="1">
                            <dt_assoc>
                                <item key="sortorder">2</item>
                                <item key="name">ns2.systemdns.com</item>
                            </dt_assoc>
                        </item>
                        <item key="2">
                            <dt_assoc>
                                <item key="sortorder">3</item>
                                <item key="name">ns3.systemdns.com</item>
                            </dt_assoc>
                        </item>
                    </dt_array>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                        <item key="admin_email">ottway@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1521438</item>
                        <item key="id">11541241</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .FR

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.fr</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">DE</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+49.1234567</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">Brandenburg</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">Berlin</item>
                                        <item key="postal_code">10115</item>
                                        <item key="fax">+49.78654321</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="admin_email">ottway@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="id">457700</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .HU

Request

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'><OPS_envelope>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="f_lock_domain">1</item>
                        <item key="custom_tech_contact">1</item>
                        <item key="auto_renew">1</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">zoltan</item>
                        <item key="domain">example.hu</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="first_name">Daniel</item>
                                        <item key="last_name">Nagy</item>
                                        <item key="address1">Bem rakpart 49</item>
                                        <item key="address2" />
                                        <item key="address3" />
                                        <item key="city">Budapest</item>
                                        <item key="state" />
                                        <item key="postal_code">H-1037</item>
                                        <item key="country">HU</item>
                                        <item key="org_name">Varga Szoftver</item>
                                        <item key="phone">+1.3615550123</item>
                                        <item key="fax">+1.3615553653</item>
                                        <item key="email">dnagy@example.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="first_name">Zoltan</item>
                                        <item key="last_name">Varga</item>
                                        <item key="org_name">Varga Szoftver</item>
                                        <item key="address1">Bem rakpart 49</item>
                                        <item key="address2" />
                                        <item key="address3" />
                                        <item key="city">Budapest</item>
                                        <item key="state" />
                                        <item key="postal_code">H-1037</item>
                                        <item key="country">HU</item>
                                        <item key="fax">+1.3615553651</item>
                                        <item key="phone">+1.3615550124</item>
                                        <item key="email">zoltan@example.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="tech">
                                    <dt_assoc>
                                        <item key="first_name">Paul</item>
                                        <item key="last_name">Farkas</item>
                                        <item key="org_name">Varga Szoftver</item>
                                        <item key="address1">Bem rakpart 49</item>
                                        <item key="address2" />
                                        <item key="address3" />
                                        <item key="city">Budapest</item>
                                        <item key="state" />
                                        <item key="postal_code">H-1037</item>
                                        <item key="country">HU</item>
                                        <item key="fax">+1.3615553652</item>
                                        <item key="phone">+1.3615550125</item>
                                        <item key="email">pfarkas@example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="f_whois_privacy">0</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="sortorder">3</item>
                                        <item key="name">ns3.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="link_domains">0</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="registrant_vat_id">12345678</item>
                                        <item key="registrant_type">organization</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="period">1</item>
                        <item key="reg_password">changeit</item>
                        <item key="bulk_order">0</item>
                        <item key="reg_domain" />
                        <item key="custom_nameservers">1</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">250</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully submitted</item>
                <item key="domain_id">709245</item>
                <item key="transaction_id">2012-06-19 13:49:57 1277 101</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully submitted</item>
                        <item key="admin_email">admin@example.com</item>
                        <item key="registration_code">300</item>
                        <item key="waiting_request">sw_register</item>
                        <item key="waiting_requests_no">1</item>
                        <item key="id">480990</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .INFO

About this example:

  • This is a new domain name registration.
  • It is based on another domain (example-nsi.com).
  • There is a custom tech contact.
  • There are no custom nameservers (notice the presence of the empty
    nameserver_list array, which is permitted).
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew" />
                        <item key="link_domains">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">testuser123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.info</item>
                        <item key="reg_domain">example-nsi.com</item>
                        <item key="f_lock_domain">0</item>
                        <item key="custom_nameservers">0</item>
                        <item key="affiliate_id" />
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
                <item key="period">2</item>
                <item key="nameserver_list">
                    <dt_array />
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed.</item>
                        <item key="admin_email">ottway@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1528551</item>
                        <item key="id">11705848</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .IT

Example 1

This example registers a domain to a person (entity_code=1). In this case, the admin contact does not need to be defined as it must be the same as the owner; if the admin contact is specified, it is ignored. Similarly, org_name is not required in this instance, and if specified, is ignored.

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="reg_username">testuser123</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="it_registrant_info">
                                    <dt_assoc>
                                        <item key="nationality_code">IT</item>
                                        <item key="reg_code">SGLMRA80A01H501E</item>
                                        <item key="entity_type">1</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="custom_tech_contact">1</item>
                        <item key="reg_password">changeit123</item>
                        <item key="period">1</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="link_domains">0</item>
                        <item key="custom_nameservers">1</item>
                        <item key="f_lock_domain">0</item>
                        <item key="domain">example031.it</item>
                        <item key="reg_type">new</item>
                        <item key="reg_domain"></item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="first_name">Mario</item>
                                        <item key="last_name">Segale</item>
                                        <item key="org_name">Mario Segale</item>
                                        <item key="address1">Via del Campidoglio, 1</item>
                                        <item key="city">Rome</item>
                                        <item key="state">RM</item>
                                        <item key="country">IT</item>
                                        <item key="postal_code">00123</item>
                                        <item key="phone">+39.0612345678</item>
                                        <item key="email">mario@mail.it</item>
                                    </dt_assoc>
                                </item>
                                <item key="tech">
                                    <dt_assoc>
                                        <item key="first_name">Frank</item>
                                        <item key="last_name">Mosser</item>
                                        <item key="org_name">Tech Orgname</item>
                                        <item key="address1">Piazza dei Giudici 1</item>
                                        <item key="city">Firenze</item>
                                        <item key="state">FI</item>
                                        <item key="country">IT</item>
                                        <item key="postal_code">50123</item>
                                        <item key="phone">+39.0551234567</item>
                                        <item key="email">qafive@example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="admin_email">mario@mail.it</item>
                        <item key="registration_code">200</item>
                        <item key="id">214946</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>`
</OPS_envelope>

Example 2

This example registers a domain to an Italian company (entity_type = 2).
In this case, the admin contact is required.

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="reg_username">testuser123</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="it_registrant_info">
                                    <dt_assoc>
                                        <item key="nationality_code">IT</item>
                                        <item key="reg_code">06612345675</item>
                                        <item key="entity_type">2</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="reg_password">changeit123</item>
                        <item key="period">1</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="link_domains">0</item>
                        <item key="custom_nameservers">1</item>
                        <item key="f_lock_domain">0</item>
                        <item key="domain">example032.it</item>
                        <item key="reg_type">new</item>
                        <item key="reg_domain"></item>
                        <item key="custom_tech_contact">1</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="first_name">Mario</item>
                                        <item key="last_name">Segale</item>
                                        <item key="org_name">Mario Segale</item>
                                        <item key="address1">Via del Campidoglio, 1</item>
                                        <item key="city">Rome</item>
                                        <item key="state">RM</item>
                                        <item key="country">IT</item>
                                        <item key="postal_code">00123</item>
                                        <item key="phone">+39.0612345678</item>
                                        <item key="email">mario@mail.it</item>
                                    </dt_assoc>
                                </item>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="first_name">Franco</item>
                                        <item key="last_name">Pendenza</item>
                                        <item key="org_name">Aumento Inc</item>
                                        <item key="address1">Via del Inclinazione, 1</item>
                                        <item key="city">Pisa</item>
                                        <item key="state">PI</item>
                                        <item key="country">IT</item>
                                        <item key="postal_code">52123</item>
                                        <item key="phone">+39.0501234567</item>
                                        <item key="email">tilt@mail.it</item>
                                        <item key="fax">+39.0501234568</item>
                                    </dt_assoc>
                                </item>
                                <item key="tech">
                                    <dt_assoc>
                                        <item key="first_name">Frank</item>
                                        <item key="last_name">Mosser</item>
                                        <item key="org_name">Tech Orgname</item>
                                        <item key="address1">Piazza dei Giudici 1</item>
                                        <item key="city">Firenze</item>
                                        <item key="state">FI</item>
                                        <item key="country">IT</item>
                                        <item key="postal_code">50123</item>
                                        <item key="phone">+39.0551234567</item>
                                        <item key="email">qafive@example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="admin_email">mario@mail.it</item>
                        <item key="registration_code">200</item>
                        <item key="id">214947</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .LAW and .ABOGADO

<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">sw_register</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="handle">process</item>
                        <item key="auto_renew"/>
                        <item key="link_domains">0</item>
                        <item key="reg_domain"/>
                        <item key="f_lock_domain">1</item>
                        <item key="f_whois_privacy">1</item>
                        <item key="f_parkp">Y</item>
                        <item key="domain">example.law</item>
                        <item key="affiliate_id"/>
                        <item key="period">1</item>
                        <item key="reg_type">new</item>
                        <item key="comments">Sample comment</item>
                        <item key="reg_username">aaaa</item>
                        <item key="custom_tech_contact">0</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1902</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1812</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123x1248</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </item>
            <item key="tld_data">
                <dt_assoc>
                    <item key="registrant_extra_info">
                        <dt_assoc>
                            <item key="qli_accreditation_id">exampleid</item>
                            <item key="qli_accreditation_body">examplebody</item>
                            <item key="qli_jurisdiction_country">CA</item>
                            <item key="qli_jurisdiction_state">examplestate</item>
                            <item key="qli_accreditation_year">1999</item>
                        </dt_assoc>
                    </item>
                </dt_assoc>
            </item>
            <item key="nameserver_list">
                <dt_array>
                    <item key="0">
                        <dt_assoc>
                            <item key="sortorder">1</item>
                            <item key="name">ns1.systemdns.com</item>
                        </dt_assoc>
                    </item>
                    <item key="1">
                        <dt_assoc>
                            <item key="sortorder">2</item>
                            <item key="name">ns2.systemdns.com</item>
                        </dt_assoc>
                    </item>
                </dt_array>
            </item>
            <item key="reg_password">examplepassword</item>
            <item key="encoding_type"/>
            <item key="custom_nameservers">1</item>
        </dt_assoc>
    </item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>

For domain = .JOBS

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.jobs</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="jobs_admin_type">Yes</item>
                                        <item key="jobs_industry_type">Supply Chain</item>
                                        <item key="jobs_title">HR Generalist</item>
                                        <item key="jobs_association_member">Yes</item>
                                        <item key="jobs_website">http://www.example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed. Domain successfully locked.
                    Whois Privacy successfully enabled.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed.
                            Domain successfully locked.
                            Whois Privacy successfully enabled.</item>
                        <item key="admin_email">qafive@tucows.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">822732</item>
                        <item key="id">730050</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .NAME

The registrant is requesting a forwarding email address with their domain.

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">my.example.name</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="forwarding_email">ottway@example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="registration_code">200</item>
                        <item key="id">23995</item>
                        <item key="admin_email">adams@example.com</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .PM, .RE, .TF, .WF, or .YT

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd"><OPS_envelope>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="f_lock_domain">1</item>
                        <item key="custom_tech_contact">1</item>
                        <item key="auto_renew">1</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">lafleur</item>
                        <item key="domain">example.pm</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="first_name">Marie</item>
                                        <item key="last_name">LaFleur</item>
                                        <item key="org_name">French Impressions</item>
                                        <item key="address1">13 Rue Daze</item>
                                        <item key="address2" />
                                        <item key="address3" />
                                        <item key="city">Paris</item>
                                        <item key="state" />
                                        <item key="postal_code">75002</item>
                                        <item key="country">FR</item>
                                        <item key="fax">+1.3365550125</item>
                                        <item key="phone">+1.3365551213</item>
                                        <item key="email">marie@example.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="first_name">Henri</item>
                                        <item key="last_name">LaFleur</item>
                                        <item key="org_name">French Impressions</item>
                                        <item key="address1">13 Rue Daze</item>
                                        <item key="address2" />
                                        <item key="address3" />
                                        <item key="city">Paris</item>
                                        <item key="state" />
                                        <item key="postal_code">75002</item>
                                        <item key="country">FR</item>
                                        <item key="phone">+1.3365551212</item>
                                        <item key="fax">+1.3365550124</item>
                                        <item key="email">lafleur@example.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="tech">
                                    <dt_assoc>
                                        <item key="first_name">Pierre</item>
                                        <item key="last_name">LaFleur</item>
                                        <item key="org_name">French Impressions</item>
                                        <item key="address1">13 Rue Daze</item>
                                        <item key="address2" />
                                        <item key="address3" />
                                        <item key="city">Paris</item>
                                        <item key="state" />
                                        <item key="postal_code">75002</item>
                                        <item key="country">FR</item>
                                        <item key="phone">+1.3365551214</item>
                                        <item key="fax">+1.3365550125</item>
                                        <item key="email">pierre@example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="f_whois_privacy">0</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="sortorder">3</item>
                                        <item key="name">ns3.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="link_domains">0</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="registration_number" />
                                        <item key="registrant_vat_id">1X345678901</item>
                                        <item key="registrant_type">organization</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="period">1</item>
                        <item key="reg_password">changeit</item>
                        <item key="bulk_order">0</item>
                        <item key="reg_domain" />
                        <item key="custom_nameservers">1</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="admin_email">admin@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="id">481007</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .PRO

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">SW_REGISTER</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="auto_renew">0</item>
                        <item key="domain">example.pro</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="f_whois_privacy">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="handle">process</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="name">ns1.systemdns.com</item>
                                        <item key="sortorder">1</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="name">ns2.systemdns.com</item>
                                        <item key="sortorder">2</item>
                                    </dt_assoc>
                                </item>
                                <item key="2">
                                    <dt_assoc>
                                        <item key="name">ns3.systemdns.com</item>
                                        <item key="sortorder">3</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="custom_tech_contact">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="id">454197</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .SCOT

<?xml version="1.0" encoding="UTF-8"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">domain</item>
                <item key="action">sw_register</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">1</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">testing</item>
                        <item key="reg_password">testing</item>
                        <item key="reg_domain" />
                        <item key="bulk_order">0</item>
                        <item key="domain">tucows-d3c0e5a456304.scot</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">CA</item>
                                        <item key="address3">Mailbox 1</item>
                                        <item key="org_name">Tucows</item>
                                        <item key="phone">+1.4165350124</item>
                                        <item key="state">ON</item>
                                        <item key="last_name">ksjlIqWq</item>
                                        <item key="address2">Unit 1</item>
                                        <item key="email">qafive@tucows.com</item>
                                        <item key="city">Toronto</item>
                                        <item key="postal_code">M6H2E9</item>
                                        <item key="fax">+1.4165350124</item>
                                        <item key="title">QA Tester</item>
                                        <item key="address1">96 Mowat Ave</item>
                                        <item key="first_name">SUJTybEN</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">CA</item>
                                        <item key="address3">Mailbox 1</item>
                                        <item key="org_name">Tucows</item>
                                        <item key="phone">+1.4165350124</item>
                                        <item key="state">ON</item>
                                        <item key="last_name">defaultlastname</item>
                                        <item key="address2">Unit 1</item>
                                        <item key="email">qafive@tucows.com</item>
                                        <item key="city">Toronto</item>
                                        <item key="postal_code">M6H2E9</item>
                                        <item key="fax">+1.4165350124</item>
                                        <item key="title">QA Tester</item>
                                        <item key="address1">96 Mowat Ave</item>
                                        <item key="first_name">defaultfirstname</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">CA</item>
                                        <item key="address3">Mailbox 1</item>
                                        <item key="org_name">Tucows</item>
                                        <item key="phone">+1.4165350124</item>
                                        <item key="state">ON</item>
                                        <item key="last_name">defaultlastname</item>
                                        <item key="address2">Unit 1</item>
                                        <item key="email">qafive@tucows.com</item>
                                        <item key="city">Toronto</item>
                                        <item key="postal_code">M6H2E9</item>
                                        <item key="fax">+1.4165350124</item>
                                        <item key="title">QA Tester</item>
                                        <item key="address1">96 Mowat Ave</item>
                                        <item key="first_name">defaultfirstname</item>
                                    </dt_assoc>
                                </item>
                                <item key="tech">
                                    <dt_assoc>
                                        <item key="country">CA</item>
                                        <item key="address3">Mailbox 1</item>
                                        <item key="org_name">Tucows</item>
                                        <item key="phone">+1.4165350124</item>
                                        <item key="state">ON</item>
                                        <item key="last_name">defaultlastname</item>
                                        <item key="address2">Unit 1</item>
                                        <item key="email">qafive@tucows.com</item>
                                        <item key="city">Toronto</item>
                                        <item key="postal_code">M6H2E9</item>
                                        <item key="fax">+1.4165350124</item>
                                        <item key="title">QA Tester</item>
                                        <item key="address1">96 Mowat Ave</item>
                                        <item key="first_name">defaultfirstname</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="period">1</item>
                        <item key="link_domains">0</item>
                        <item key="handle">process</item>
                        <item key="auto_renew">0</item>
                        <item key="f_lock_domain">1</item>
                        <item key="f_whois_privacy">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.qa.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.qa.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="intended_use">the domain will support trade and development in Scotland </item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed. Domain successfully locked.
                    Whois Privacy successfully enabled.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed.
                            Domain successfully locked.
                            Whois Privacy successfully enabled.</item>
                        <item key="admin_email">qafive@tucows.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">822732</item>
                        <item key="id">730050</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .US

About this example:

  • This is a new domain name registration
  • This creates a new user profile
  • There is no custom tech contact
  • Custom nameservers are set
  • The additional US-specific data is contained in the 'tld_data' sub- associative array. 'nexus' itself is also an associative array with three items.
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.us</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="nexus">
                                    <dt_assoc>
                                        <item key="category">C11</item>
                                        <item key="app_purpose">P3</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="link_domains">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_text">Domain registration successfully completed. TLD not supported for whois privacy service.</item>
                        <item key="admin_email">adams@example.com</item>
                        <item key="registration_code">200</item>
                        <item key="domain_id">1531599</item>
                        <item key="id">11791175</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

For domain = .XXX

Example 1

This example registers a domain for a registrant who is already a verified member of the XXX Sponsored Community.

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.xxx</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="ipr_data">
                                    <dt_assoc>
                                        <item key="icm_membership_id">IXTEST0000000001</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="link_domains">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                                <item key="1">
                                    <dt_assoc>
                                        <item key="sortorder">2</item>
                                        <item key="name">ns2.systemdns.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">200</item>
                <item key="is_success">0</item>
                <item key="response_text">Domain registration successfully completed. Domain successfully locked.</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="admin_email">adams@example.com</item>
                        <item key="id">457626</item>
                        <item key="registration_code">200</item>
                        <item key="registration_text">Domain registration successfully completed. Domain successfully locked.</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

Example 2

This example registers a domain to a registrant who wants to register the domain name, but does not want it to resolve. This registrant is not currently a member of the Sponsored Community.

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">SW_REGISTER</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="custom_tech_contact">0</item>
                        <item key="auto_renew">0</item>
                        <item key="reg_type">new</item>
                        <item key="reg_username">user123</item>
                        <item key="reg_password">changeit123</item>
                        <item key="domain">example.xxx</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="ipr_data">
                                    <dt_assoc>
                                        <item key="ipr_non_resolver">1</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="owner">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Owner</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Ottway</item>
                                        <item key="address2">Suite 500</item>
                                        <item key="state">CA</item>
                                        <item key="email">ottway@example.com</item>
                                        <item key="city">SomeCity</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550124</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Owen</item>
                                    </dt_assoc>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Admin</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Adams</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="state">CA</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550125</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Adler</item>
                                    </dt_assoc>
                                </item>
                                <item key="billing">
                                    <dt_assoc>
                                        <item key="country">US</item>
                                        <item key="address3">Billing</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="phone">+1.4165550123</item>
                                        <item key="last_name">Burton</item>
                                        <item key="address2">Suite 200</item>
                                        <item key="state">CA</item>
                                        <item key="email">burton@example.com</item>
                                        <item key="city">Santa Clara</item>
                                        <item key="postal_code">90210</item>
                                        <item key="fax">+1.4165550136</item>
                                        <item key="address1">32 Oak Street</item>
                                        <item key="first_name">Bill</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="link_domains">0</item>
                        <item key="period">1</item>
                        <item key="custom_nameservers">1</item>
                        <item key="nameserver_list">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="sortorder">1</item>
                                        <item key="name">ns1.systemdns.com</item