Professional Documents
Culture Documents
February 3, 2014
Table of Contents
Introduction.......................................................................................12
Purpose..........................................................................................12
Audience.........................................................................................12
Using HTTPS Post ...............................................................................12
Connection Information.....................................................................13
MD5 authentication........................................................................13
Construction of the POST Data...........................................................13
Response Messages..........................................................................13
Troubleshooting HTTPS Post..............................................................15
Contact Set........................................................................................16
Examples for contact set...................................................................17
Domain contacts..............................................................................19
Default contact requirements..........................................................25
EPP contact requirements...............................................................26
.BE owner and tech contact requirements.........................................27
.CA owner, admin, and tech contact requirements.............................28
.DE admin contact requirements......................................................29
.DE owner contact requirements......................................................30
.DE zone and tech contact requirements...........................................31
.ES postal codes............................................................................32
.EU owner and tech contact requirements.........................................33
.IT contact requirements................................................................34
.MX contact requirements...............................................................36
.PRO contact requirements.............................................................37
.UK transfer-no change-admin contact requirements..........................37
.UK contact requirements...............................................................38
TLD Data........................................................................................39
.AERO registrant_extra_info............................................................39
.ASIA ced_info..............................................................................40
.AU au_registrant_info...................................................................41
.CL, .HU, and .CO.HU registrant_extra_info.......................................45
.COM.AR, .PT, and .COM.PT registrant_extra_info..............................45
.COM.BR tld_data..........................................................................46
.COOP registrant_extra_info...........................................................47
.DE registrant_extra_info...............................................................47
.DK registrant_extra_info...............................................................48
.FI. MY, and .SG registrant_extra_info..............................................48
.FR registrant_extra_info................................................................49
.HK registrant_extra_info...............................................................51
.IT it_registrant_info......................................................................51
.JOBS registrant_extra_info............................................................54
.LV and .COM.LV registrant_extra_info.............................................55
.MX, .COM.MX, and .CO.ZA registrant_extra_info...............................56
.NO registrant_extra_info...............................................................56
Table of Contents
.PM, .RE, .TF, .WF, and .YT registrant_extra_info...............................57
.PRO professional_data..................................................................58
.RO, and .COM.RO registrant_extra_info...........................................59
.RU registrant_extra_info...............................................................60
.SE and .NU registrant_extra_info....................................................61
.US nexus....................................................................................62
.XXX ipr_data...............................................................................63
Lookup Commands..............................................................................65
belongs_to_rsp................................................................................66
Request parameters for belongs_to_rsp............................................66
Response parameters for belongs_to_rsp..........................................66
Examples for belongs_to_rsp..........................................................67
cira_email_pwd................................................................................70
Request parameters for cira_email_pwd...........................................70
Response parameters for cira_email_pwd.........................................70
Examples for cira_email_pwd..........................................................71
get_balance....................................................................................73
Request parameters for get_balance................................................73
Response parameters for get_balance..............................................73
Examples for get_balance...............................................................74
get_ca_blocker_list..........................................................................76
Request parameters for get_ca_blocker_list......................................76
Response parameters for get_ca_blocker_list....................................77
Examples for get_ca_blocker_list.....................................................78
get_deleted_domains........................................................................81
Request parameters for get_deleted_domains...................................81
Response parameters for get_deleted_domains.................................83
Examples for get_deleted_domains..................................................84
get (domain)...................................................................................87
Request parameters for get (domain)...............................................87
Response parameters for get (domain).............................................90
Get domain examples....................................................................99
For type = admin or tech...........................................................99
For type = all_info..................................................................104
For type = ca_whois_display_setting.........................................117
For type = domain_auth_info...................................................118
For type = expire_action.........................................................120
For type = forwarding_email....................................................122
For type = list........................................................................124
For type = nameservers..........................................................126
For type = owner, admin, billing, or tech...................................128
For type = rsp_whois_info.......................................................130
For type = status....................................................................132
For type = tld_data.................................................................134
For type = waiting history........................................................145
For type = whois_privacy_state................................................147
get_domains_contacts....................................................................150
Request parameters for get_domains_contacts................................150
3
Table of Contents
Response parameters for get_domains_contacts..............................150
Examples for get_domains_contacts...............................................151
get_domains_by_expiredate............................................................154
Request parameters for get_domains_by_expiredate........................154
Response parameters for get_domains_by_expiredate......................155
Examples for get_domains_by_expiredate.......................................156
get_notes......................................................................................159
Request parameters for get_notes.................................................159
Response parameters for get_notes...............................................160
Examples for get_notes................................................................160
get_order_info...............................................................................163
Request parameters for get_order_info...........................................163
Response parameters for get_order_info.........................................163
Examples for get_order_info.........................................................168
get_orders_by_domain...................................................................192
Request parameters for get_orders_by_domain...............................192
Response parameters for get_orders_by_domain.............................193
Examples for get_orders_by_domain..............................................194
get_price.......................................................................................197
Request parameters for get_price..................................................197
Response parameters for get_price................................................198
Examples for get_price.................................................................198
get_registrant_verification_status.....................................................200
Request parameters for get_registrant_verification_status................200
Response parameters for get_registrant_verification_status..............200
Examples for get_registrant_verification_status...............................202
lookup (domain).............................................................................204
Request parameters for lookup (domain)........................................204
Response parameters for lookup (domain)......................................205
Examples for lookup (domain).......................................................206
name_suggest (domain)..................................................................209
Request parameters for name_suggest (domain).............................209
Response parameters for name_suggest (domain)...........................214
Examples for name_suggest (domain)............................................217
Provisioning Commands.....................................................................252
activate (domain)...........................................................................253
Request parameters for activate (domain)......................................253
Response parameters for activate (domain)....................................253
Examples for activate (domain).....................................................254
cancel_active_process (.CA order)....................................................256
Request parameters for cancel_active_process................................256
Response parameters for cancel_active_process..............................257
Examples for cancel_active_process...............................................257
cancel_pending_orders....................................................................259
Request parameters for cancel_pending_orders...............................259
Response parameters for cancel_pending_orders.............................259
Examples for cancel_pending_orders..............................................260
Table of Contents
modify (domain)............................................................................263
Request parameters for modify (domain)........................................263
For data = ca_whois_display_setting.........................................266
For data = change_ips_tag......................................................266
For data = cira_registrant........................................................267
For data = contact_info...........................................................269
For data = domain_auth_info...................................................270
For data = expire_action.........................................................270
For data = forwarding_email....................................................271
For data = parkpage_state......................................................271
For data = rsp_whois_info.......................................................272
For data = status....................................................................273
For data = uk_whois_opt.........................................................273
For data = whois_privacy_state................................................274
Response parameters for modify (domain)......................................274
Modify (domain) Examples............................................................276
For data = ca_whois_display_setting.........................................276
For data = change_ips_tag......................................................277
For data = cira_registrant........................................................278
For data = contact_info...........................................................280
For data = domain_auth_info...................................................288
For data = expire_action.........................................................290
For data = forwarding_email....................................................291
For data = parkpage_state......................................................293
For data = rsp_whois_info.......................................................294
For data = status....................................................................295
For data = uk_whois_opt.........................................................297
For data = whois_privacy_state................................................298
For tld_data = au_registrant_info (.AU).....................................300
For tld_data = ced_info (.ASIA)................................................301
For tld_data = ipr_data (.XXX).................................................305
For tld_data = it_registrant_info (.IT).......................................307
For tld_data = nexus (.US)......................................................309
For tld_data =professional_data (.PRO).....................................312
For tld_data = registrant_extra_info (.COOP).............................314
For tld_data = registrant_extra_info (.JOBS)..............................315
For tld_data = registrant_extra_info (.RU).................................317
process_pending............................................................................319
Request parameters for process_pending........................................319
Response parameters for process_pending......................................320
Examples for process_pending.......................................................320
query_queued_request....................................................................323
Request parameters for query_queued_request...............................323
Response parameters for query_queued_request.............................323
Examples for query_queued_request..............................................324
redeem (domain)...........................................................................326
Request parameters for redeem domain.........................................326
Response parameters for redeem domain.......................................326
Table of Contents
Examples for redeem domain........................................................327
renew (domain).............................................................................329
Request parameters for renew (domain).........................................329
Response parameters for renew (domain).......................................330
Examples for renew (domain)........................................................332
revoke (domain)............................................................................334
Request parameters for revoke (domain)........................................334
Response parameters for revoke (domain)......................................335
Examples for revoke (domain).......................................................335
send_CIRA_approval_email.............................................................338
Request parameters for send_CIRA_approval_email.........................338
Response parameters for send_CIRA_approval_email.......................339
Examples for send_CIRA_approval_email........................................339
send_registrant_verification_email....................................................341
Request parameters for send_registrant_verification_email...............341
Response parameters for send_registrant_verification_email.............341
Examples for send_registrant_verification_email..............................342
sw_register (domain)......................................................................344
Request parameters for sw_register (domain).................................344
Nameserver pair.....................................................................350
.BE registrations and transfers.................................................352
.CA registrations.....................................................................353
.EU registrations and transfers.................................................355
.IT registrations and transfers..................................................357
.MOBI registrations.................................................................359
.NAME registrations................................................................359
Response parameters for sw_register (domain)...............................359
Domain registration examples.......................................................361
For domain = .COM, .NET, .ORG, .INFO, .BIZ, .NAME, .ME, and .MOBI
............................................................................................361
For domain = .AERO...............................................................368
For domain = .ASIA................................................................371
For domain = .AU...................................................................374
For domain = .CA...................................................................377
For domain = .COM.BR............................................................380
For domain = .DE...................................................................382
For domain = .DK...................................................................385
For domain = .EU...................................................................388
For domain = .FR...................................................................390
For domain = .HU...................................................................393
For domain = .INFO................................................................397
For domain = .IT....................................................................399
For domain = .JOBS................................................................407
For domain = .NAME...............................................................411
For domain = .PM, .RE, .TF, .WF, or .YT.....................................413
For domain = .PRO.................................................................417
For domain = .US...................................................................420
For domain = .XXX.................................................................423
Table of Contents
For domain = new gTLD during sunrise period............................429
Domain Transfer Examples............................................................436
For domain = .AU...................................................................438
For domain = .CA...................................................................441
For domain = .DE...................................................................443
For domain = .EU or .BE..........................................................445
For domain = .IT....................................................................448
Examples for WHOIS Privacy....................................................451
update_contacts.............................................................................453
Request parameters for update_contacts........................................453
Response parameters for update_contacts......................................454
Examples for update_contacts.......................................................455
Personal Names Service.....................................................................458
name_suggest (surname)................................................................459
Request parameters for name_suggest (surname)...........................459
Response parameters for name_suggest (surname).........................460
Examples for name_suggest (surname)..........................................461
su_register....................................................................................465
Request parameters for su_register................................................465
Response parameters for su_register..............................................466
Examples for su_register..............................................................467
query (surname)............................................................................477
Request parameters for query (surname)........................................477
Response parameters for query (surname)......................................478
Examples for query (surname)......................................................479
update (surname)..........................................................................482
Request parameters for update surname.........................................482
Response parameters for update surname......................................484
Examples for update surname.......................................................484
delete (surname)............................................................................490
Request parameters for delete (surname).......................................490
Response parameters for delete (surname).....................................490
Examples for delete (surname)......................................................491
Transfer Commands..........................................................................493
cancel_transfer..............................................................................494
Request parameters for cancel_transfer..........................................494
Response parameters for cancel_transfer........................................494
Examples for cancel_transfer.........................................................495
check_transfer...............................................................................497
Request parameters for check_transfer...........................................497
Response parameters for check_transfer.........................................498
Examples for check_transfer.........................................................500
get_transfers_away........................................................................502
Request parameters for get_transfers_away....................................502
Response parameters for get_transfers_away..................................504
Examples for get_transfers_away..................................................506
Table of Contents
get_transfers_in.............................................................................509
Request parameters for get_transfers_in........................................509
Response parameters for get_transfers_in......................................511
Examples for get_transfers_in.......................................................514
process_transfer............................................................................517
Request parameters for process_transfer........................................517
Response parameters for process_transfer......................................517
Examples for process_transfer.......................................................518
rsp2rsp_push_transfer....................................................................521
Request parameters for rsp2rsp_push_transfer................................521
Response parameters for rsp2rsp_push_transfer..............................522
Examples for rsp2rsp_push_transfer..............................................522
send_password (transfer)................................................................525
Request parameters for send_password (transfer)...........................525
Response parameters for send_password (transfer).........................525
Examples for send_password (transfer)..........................................526
trade_domain................................................................................528
Request parameters for trade_domain............................................528
Response parameters for trade_domain..........................................529
Examples for trade_domain...........................................................529
Bulk Changes Commands...................................................................537
bulk_transfer.................................................................................538
Request parameters for bulk_transfer (domains)..............................538
Response parameters for bulk_transfer (domains)............................539
Examples for bulk_transfer (domains)............................................540
submit (bulk_change).....................................................................544
Request parameters for submit (bulk_change).................................545
Response parameters for submit (bulk_change)...............................552
Examples for submit (bulk_change)...............................................553
submit_bulk_change (WHOIS Privacy)...............................................570
Request parameters for submit_bulk_change..................................570
Response parameters for submit_bulk_change................................571
Examples for submit_bulk_change.................................................571
Nameserver Commands.....................................................................573
advanced_update_nameservers.......................................................574
Request parameters for advanced_update_nameservers...................574
Response parameters for advanced_update_nameservers.................575
Examples for advanced_update_nameservers..................................575
create (nameserver).......................................................................579
Request parameters for create (nameserver)...................................579
Response parameters for create (nameserver).................................580
Examples for create (nameserver).................................................580
delete (nameserver).......................................................................588
Request parameters for delete (nameserver)...................................588
Response parameters for delete (nameserver).................................589
Examples for delete (nameserver).................................................589
Table of Contents
get (nameserver)...........................................................................593
Request parameters for get (nameserver).......................................593
Response parameters for get (nameserver).....................................593
Examples for get (nameserver)......................................................595
modify (nameserver)......................................................................600
Request parameters for modify (nameserver)..................................600
Response parameters for modify (nameserver)................................601
Examples for modify (nameserver).................................................601
registry_add_ns.............................................................................605
Request parameters for registry_add_ns.........................................605
Response parameters for registry_add_ns.......................................606
Examples for registry_add_ns.......................................................607
registry_check_nameserver.............................................................610
Request parameters for registry_check_nameserver.........................610
Response parameters for registry_check_nameserver.......................611
Examples for registry_check_nameserver.......................................611
DNS Zone Commands........................................................................615
create_dns_zone............................................................................616
Request parameters for create_dns_zone........................................616
Response parameters for create_dns_zone......................................618
Examples for create_dns_zone......................................................621
delete_dns_zone............................................................................626
Request parameters for delete_dns_zone........................................626
Response parameters for delete_dns_zone......................................626
Examples for delete_dns_zone......................................................627
force_dns_nameservers..................................................................629
Request parameters for force_dns_nameservers..............................629
Response parameters for force_dns_nameservers............................629
Examples for force_dns_nameservers.............................................630
get_dns_zone................................................................................632
Request parameters for get_dns_zone............................................632
Response parameters for get_dns_zone..........................................632
Examples for get_dns_zone..........................................................635
reset_dns_zone..............................................................................638
Request parameters for reset_dns_zone.........................................638
Response parameters for reset_dns_zone.......................................638
Examples for reset_dns_zone........................................................641
set_dns_zone................................................................................647
Request parameters for set_dns_zone............................................647
Response parameters for set_dns_zone..........................................650
Examples for set_dns_zone...........................................................652
Domain Forwarding Commands...........................................................659
create_domain_forwarding..............................................................660
Request parameters for create_domain_forwarding..........................660
Response parameters for create_domain_forwarding........................660
Examples for create_domain_forwarding.........................................661
Table of Contents
delete_domain_forwarding...............................................................663
Request parameters for delete_domain_forwarding..........................663
Response parameters for delete_domain_forwarding........................663
Examples for delete_domain_forwarding.........................................664
get_domain_forwarding...................................................................666
Request parameters for get_domain_forwarding..............................666
Response parameters for get_domain_forwarding............................666
Examples for get_domain_forwarding.............................................667
set_domain_forwarding...................................................................670
Request parameters for set_domain_forwarding..............................670
Response parameters for set_domain_forwarding............................672
Examples for set_domain_forwarding.............................................672
User Commands................................................................................674
add (subuser)................................................................................675
Request parameters for add (subuser)............................................675
Response parameters for add (subuser)..........................................676
Examples for add (subuser)..........................................................676
delete (subuser).............................................................................678
Request parameters for delete (subuser)........................................678
Response parameters for delete (subuser)......................................678
Examples for delete (subuser).......................................................679
get (subuser).................................................................................681
Request parameters for get (subuser)............................................681
Response parameters for get (subuser)..........................................681
Examples for get (subuser)...........................................................682
get (userinfo)................................................................................684
Request parameters for get (userinfo)............................................684
Response parameters for get (userinfo)..........................................684
Examples for get (userinfo)...........................................................687
modify (subuser)............................................................................690
Request parameters for modify (subuser).......................................690
Response parameters for modify (subuser).....................................691
Examples for modify (subuser)......................................................691
Authentication Commands..................................................................693
change (ownership)........................................................................694
Request parameters for change (ownership)....................................694
Response parameters for change (ownership)..................................695
Examples for change (ownership)..................................................695
change (password).........................................................................697
Request parameters for change (password).....................................697
Response parameters for change (password)...................................697
Examples for change (password)...................................................698
send_authcode...............................................................................700
Request parameters for send_authcode..........................................700
Response parameters for send_authcode........................................700
Examples for send_authcode.........................................................701
10
Table of Contents
send_password (domain).................................................................703
Request parameters for send_password (domain)............................703
Response parameters for send_password (domain)..........................704
Examples for send_password (domain)...........................................704
Cookie/Session Commands.................................................................706
delete (cookie)...............................................................................707
Request parameters for delete (cookie)..........................................707
Response parameters for delete (cookie)........................................707
Examples for delete (cookie).........................................................708
quit (session).................................................................................710
Request parameters for quit (session)............................................710
Response parameters for quit (session)..........................................710
Examples for quit (session)...........................................................710
set (cookie)...................................................................................712
Request parameters for set (cookie)...............................................712
Response parameters for set (cookie).............................................712
Examples for set (cookie).............................................................714
update (cookie)..............................................................................717
Request parameters for update (cookie).........................................717
Response parameters for update (cookie).......................................717
Examples for update (cookie)........................................................718
Appendix A: Special Considerations for Asynchronous Registries..............721
Appendix B: Customizing the Transfer Approval URL..............................722
Regular transfers.........................................................................722
Bulk transfers.............................................................................723
Transfers away............................................................................724
Revisions and Updates.......................................................................726
11
Introduction
Welcome to the API guide for the registration and management of domain
names and domain related services. This document is intended for Resellers
who offer domains and supporting services to their customers.
Using this document, you can provide functionality to your customers by
integrating the API commands into your website that can send XML requests
over HTTPS Post. You can also use the API commands to run queries or
automate tasks you would otherwise perform manually using the Domain
Name Control Panel.
Purpose
The method of sending commands using HTTPS Post supports communication
between a client process and the system. This document describes how to
formulate the XML commands and how to use HTTPS Post to send the XML
commands.
Using this document as a reference, you can use any programming language
to write an implementation that supports this communication. If you are
writing your own implementation, please refer to the "Design Considerations"
section.
The process for executing commands consists of formulating the command in
XML and sending it via HTTPS Post. The basic method for creating the XML is
covered by this document, with language-specific methods covered in the
Appendix.
The protocol assumes that the client process that is requesting an action
waits for a result from the server process in response to the requested
action. The protocol does not support session tracking.
Audience
This document assumes that you are familiar with XML document design and
the methods for sending data via HTTPS Post. Examples are provided
throughout this document; however, familiarity with these two chapters will
increase your understanding of the information provided.
Connection Information
Live production environment
Server: rr-n1-tor.opensrs.net/
Port: 55443
MD5 authentication
The MD5 Signature provides the authentication required. The process
involves two steps:
Obtain an MD5 signature of the XML Content and the Private Key.
Note: The XML and the Private Key are concatenated.
Perform another MD5 of the signature from Step 1 with the Private
Key.
Note: The MD5 Signature from Step 1 and the Private key are
concatenated.
See "Writing Your Own Client" for examples of adding an MD5 Signature and
creating the XML packet.
Following this header should be one blank line followed by the XML document
that contains the command data. The header combined with the XML makes
up the packet that is sent to execute your command. This packet is what is
sent to the server and port listed above, depending on your environment, to
execute the command.
For more information regarding the transmission of data over HTTPS, refer to
this document: http://www.ietf.org/rfc/rfc2616.txt
Response Messages
The process returns a response message to a client in answer to an action
that was executed on its behalf. Responses contain data appropriate for the
action that was executed. In some cases, this may be simple strings; in other
13
cases, this may be lists of information. This response is returned in the form
of an XML document.
Common fields
There are a few common fields that all responses share, regardless of the
action to which they are responding. The following fields comprise a standard
response message. Some actions only use standard response messages.
Parameter
name
Definition/Value
protocol
action
response_code
response_text
is_success
Optional fields
In addition, the structure may contain the following fields, depending on the
specific action that was requested.
Parameter
name
Definition/Value
attributes
14
Check that you are using the correct Private Key for the right system
Horizon or Production.
Check that you have the correct RSP username.
Check that the IP address of the machine transmitting the data to the
server is in your list of allowed IP addresses in the Reseller Web
Interface.
If the above checks are correct, the problem is with the MD5:
Ensure that you have concatenated the XML content and the Private
Key.
Ensure that you have performed an MD5 twice. See the MD5 section
for more information.
Ensure that your HTTP Post implementation is not adding any extra
information. Some implementations of HTTP Post add a NULL to the
end of the HTTP Request. This is reflected in the MD5 and causes an
authentication error.
If you are still not connecting properly, check the result of the MD5
Hash:
Some MD5 algorithms put the MD5 hash in uppercase. Make sure that
the result is in lowercase before sending it.
Some MD5 algorithms need to convert the string to bytes before
generating the hash. Make sure this is done properly. You can test
your script by performing an MD5 on the following text:
Text:
ConnecttoOpenSRSviaSSL
MD5 Result:
e787cc1d1951dfec4827cede7b1a0933
15
Contact Set
Rather than including the entire contact set in every command example in
this guide, where it is required, contact details are listed in a separate topic.
Every command that requires contact details contains an ellipsis (...) that
links to the topic where the contact_set parameter is defined.
Example
This example shows a portion of the sw_register command with a link to the
contact_set example.
<?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="object">DOMAIN</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
...
16
17
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc>
</item>
<item key="billing">
<dt_assoc>
<item key="first_name">Bill</item>
<item key="last_name">Burton</item>
<item key="phone">+1.4165550123x1248</item>
<item key="fax">+1.4165550136</item>
<item key="email">burton@example.com</item>
<item key="org_name">Example Inc.</item>
<item key="address1">32 Oak Street</item>
<item key="address2">Suite 200</item>
<item key="address3">Billing</item>
<item key="city">Santa Clara</item>
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc>
</item>
<item key="tech">
<dt_assoc>
<item key="first_name">Tim</item>
<item key="last_name">Tucker</item>
<item key="phone">+1.4165550123x1243</item>
<item key="fax">+1.4165550125</item>
<item key="email">tucker@example.com</item>
<item key="org_name">Example Inc.</item>
<item key="address1">32 Oak Street</item>
<item key="address2">Suite 100</item>
<item key="address3">Tech</item>
<item key="city">Santa Clara</item>
18
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
...
Domain contacts
The following tables list the contacts that are required for each gTLD and
ccTLD.
gTld
Owner
Admin
Billing
Tech
.aero
.asia
.biz
.coop
.com
.info
.jobs
.mobi
.name
.net
.org
.pro
.tel
.xxx
ccTld
Owner
Admin
Billing
Tech
.ac
19
ccTld
Owner
Admin
Billing
Tech
.ae
.af (.af,
.com.af,
.net.ag, .org.af)
.ag (.ag, .co.ag,
.com.ag,
.net.ag,
.nom.ag, .org.ag)
.ai (.com.ai,
.net,ai, .off.ai,
.org.ai)
.am
.ar (.com.ar)
.as
.at
.au (.asn.au,
.com.au,
.net.au, .id.au,
.org.au)
.be
.br (.com.br)
.bz
.ca
.cc
.cd
.ch
.cl
.cm
.co.cm
.com.cm
.net.cm
.co (.co, .com.co,
.net.co, .nom.co)
.cx
20
ccTld
Owner
Admin
Billing
Tech
.cz
.de
.dk
.ec (.ec,
.com.ec, .fin.ec,
.info.ec,
.med.ec,
.net.ec, .pro.ec)
.es (.es,
.com.es,
.nom.es, .org.es)
.eu
.fi
.fm
.fr
.gd
.gg (.gg,
.co.gg, .net.gg,
.org.gg)
.gl (.gl, .co.gl,
.com.gl, .net.gl,
.org.gl)
.gr (.com.gr,
.edu.gr, .net.gr,
.org.gr)
.gs
.gy (.gy,
.co.gy,
.com.gy, .net.gy)
.hk
.hm
.hn (.hn, .com.hn,
.net.hn, .org.hn)
.hr (.com.hr)
.ht (.ht, .com.ht,
.info.ht,
21
ccTld
Owner
Admin
Billing
Tech
.net.ht, .org,ht)
.hu (.hu, .co.hu)
.il (.co.il)
.im (.im, .co.im,
.com.im,
.net.im, .org.im)
.in (.in, .co.in,
.firm.in, .gen.in,
.ind.in, .net.in,
.org.in)
.io
.is
.it
.je (.je, .co.je)
.jp
.kg
.ki (.biz.ki,
.com.ki,
.info.ki,
.mobi.ki,
.net.ki, .tel.ki)
.kr
.co.kr
.la
.lc (.lc, .co.lc,
.com.lc, .l.lc,
.net.lc, .org.lc,
.p.lc)
.li
.lt
.lu
.lv
22
ccTld
Owner
Admin
Billing
Tech
.com.lv
.ly (.ly, .com.ly)
.ma
.co.ma
.md
.me
.mn
.ms
.mu
.mx (.mx,
.com.mx)
.my (.my,
.com.my,
.net.my, .org.my)
.nl
.no
.nu
.nz (.co.nz,
.net.nz, .org.nz)
.pe (.pe,
.com.pe, .net.pe)
ph (.ph, .com.ph,
.net.ph, .org.ph)
.pl (.pl, .biz.pl
.com.pl, .edu.pl,
.info.pl, .net.pl,
.nom.pl, .org.pl,
.shop.pl, .waw.pl)
.pm
.pr (.com.pr)
23
ccTld
Owner
Admin
Billing
Tech
24
ccTld
Owner
Admin
Billing
Tech
.to
.tv
.tw (.tw, .com.tw,
.org.tw, idv.tw)
.ua (.com.ua)
.uk (.co.uk,
.ltd.uk, .me.uk,
.net.uk,
.org.uk, .plc.uk)
.us
.uy (.com.uy)
.vc (.vc, .com.vc,
.net.vc, .org.vc)
.ve (.co.ve,
.com.ve)
.vg
.wf
.ws
.yt
.za (.co.za)
Parameter
name
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
25
Parameter
name
Obligation
Format/Constraints
address3
Optional
city
Required
state
Required if
Maximum 32 alphanumeric characters.
country =
.CA, .US, or .ES
postal_code
Required if
country = CA or
US
country
Required
phone
Required
fax
Optional
Required
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required if
Maximum 32 alphanumeric characters.
country = CA or
US
postal_code
Required if
Maximum 16 alphanumeric characters.
country = CA or Note: For .NL, ensure that the postal code does
US
not include any spaces.
country
Required
26
Parameter
name
Obligation
Format/Constraints
phone
Required
fax
Optional
Required
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required if
Maximum length: 32 alphanumeric characters.
country = CA or
US
postal_code
Required if
Maximum length: 20 alphanumeric characters.
country = CA or
US
country
Required
phone
Required
fax
Optional
27
Parameter
name
Obligation
Format/Constraints
Required
lang
Required
vat
Optional
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Optional for
individuals
address1
Optional
address2
Optional
address3
Optional
city
Required for
admin and
tech; optional
for owner
state
Required for
admin and
tech; optional
for owner
28
Parameter
name
Obligation
Format/Constraints
Yukon = YT
postal_code
Required for
admin and
tech; optional
for owner
country
Required for
admin and
tech; optional
for owner
phone
Required for
admin and
tech; optional
for owner
fax
Optional
Required for
admin and
tech; optional
for owner
lang
Required
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required if
country = CA
29
Parameter
name
Obligation
Format/Constraints
or US
postal_code
Required if
country = CA
or US
country
Required
phone
Required
fax
Optional
Required
Additional rules
SUM (org_name address1 address2 address3) not to exceed 255 characters.
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required if
Maximum length: 32 alphanumeric characters.
country = CA or
US
postal_code
Required if
Maximum length: 20 alphanumeric characters.
country = CA or
US
country
Required
30
Parameter
name
Obligation
Format/Constraints
phone
Required
fax
Optional
Required
Additional rules
SUM (first_name last_name address1 address2 address3 postal_code city)
must not exceed 248 characters.
SUM (org_name address1 address2 address3) not to exceed 255 characters.
Parameter
name
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required if
Maximum length: 32 alphanumeric characters.
country = CA or
US
postal_code
Required if
Maximum length: 20 alphanumeric characters.
country = CA or
US
country
Required
phone
Required
31
Parameter
name
Obligation
Format/Constraints
fax
Required
Required
Additional rules
SUM(org_name address1 address2 address3) not to exceed 255 characters.
Province
Postal code
prefix
Province
01
Araba
27
Lugo
02
Albacete
28
Madrid
03
Alicante
29
Malaga
04
Almeria
30
Murcia
05
Avila
31
Navarra
06
Badajoz
32
Ourense
07
Illes Balears
33
Asturias
08
Barcelona
34
Palencia
09
Burgos
35
Palmas, Las
10
Caceres
36
Pontevedra
11
Cadiz
37
Salamanca
12
Castellon
38
13
Ciudad Real
39
Cantabria
14
Cordoba
40
Segovia
15
Corua, A
41
Sevilla
16
Cuenca
42
Soria
32
Postal code
prefix
Province
Postal code
prefix
Province
17
Girona
43
Tarragona
18
Granada
44
Teruel
19
Guadalajara
45
Toledo
20
Gipuzkoa
46
Valencia
21
Huelva
47
Valladolid
22
Huesca
48
Bizkaia
23
Jaen
49
Zamora
24
Leon
50
Zaragoza
25
Lleida
51
Ceuta
26
Rioja, La
52
Melilla
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state
Optional
postal_code
Optional
country
Required
phone
Required
33
Parameter
name
Obligation
Format/Constraints
format +CCC.NNNNNNNNNN, where C = country
code and N = phone number.
fax
Optional
Required
lang
Required
vat
Optional
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required if
Maximum length: 64 alphanumeric characters.
entity_type is
not 1
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required
postal_code
Required
34
Parameter
name
Obligation
Format/Constraints
country
Required
phone
Required
fax
Optional
Required
entity_type
Required
nationality_
code
Optional
3Freelance workers/professionals
4Non-profit organizations
5Public organizations
6Other subjects
reg_code
Required
35
Parameter
name
Obligation
Format/Constraints
Fiscale.
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Required
address1
Required
address2
Optional
address3
Optional
city
Required
state/province Required if
country = CA,
MX, or US
postal_code
Required
country
Required
phone
Required
36
Parameter
name
Obligation
Format/Constraints
fax
Optional
Required
Parameter
name
Obligation
Format/Constraints
first_name
Optional
last_name
Optional
org_name
Optional
address1
Optional
address2
Optional
address3
Optional
city
Optional
state
Optional
postal_code
Optional
country
Optional
phone
Optional
37
Parameter
name
Obligation
Format/Constraints
fax
Optional
Required
Parameter
name
Obligation
Format/Constraints
first_name
Required
last_name
Required
org_name
Optional
address1
Required
address2
Optional
address3
Optional
city
Required
state
Required if
Maximum length: 32 alphanumeric characters.
country = CA or
US
postal_code
Required if
Maximum length: 32 alphanumeric characters.
country = CA or
US
country
Required
phone
Required
fax
Optional
Required
38
TLD Data
The tld_data associative array contains that contains additional information
that is required by some registries, such as the residency of the registrant.
For instance, .ASIA domains require Charter Eligibility Declaration (CED)
information to demonstrate that at least one of the contacts is a member of
the .ASIA community, and this information is provided within the tld_data
associative array, under ced_info.
The allowed values for tld_data are:
domains.
ipr_dataSponsored Community information associated with .XXX
domains.
it_registrant_infoRegional presence requirements for .IT domains.
nexusAmerican presence requirements for .US domains.
professional_dataThe professional designation information that is
associated with the .PRO domain.
registrant_extra_infoAdditional parameters that are required by
various domain registries. See below for specific requirements for each
TLD.
The tld_data information is used by the following commands: sw_register,
modify domain, get domain, get_order_info, and trade domain (.FR only).
.AERO registrant_extra_info
Registration of .AERO domains is restricted to members of the aviation
community such as airlines, airports, and qualifying companies and
individuals.
To prove that they meet the requirements, registrants must provide an
Eligibility and Name Selection (ENS) ID and password, which can be obtained
by applying to the registry through this site:
http://www.nic.aero/registration/manage_your_aero_id.
Parameters within the registrant_extra_info associative array are described
below.
Parameter name Definition/Value
sw_register
(request)
aero_ens_id
Required
aero_ens_password
Required
39
password
.ASIA ced_info
The ced_info associative array contains Charter Eligibility Declaration (CED)
information to satisfy regional presence requirements of the .ASIA registry,
including the stated purpose of the domain, the category of the registrant
and the country code validator.
Parameters within the ced_info associative array are described below.
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
contact_
type
Required
Required
Always
returned
Always
returned
id_number
Identification number or
code of reference for the
specified id_type, for
example, a passport
number.
Required
Required
Always
returned
Always
returned
id_type
Required
Required
Always
returned
Always
returned
Required if
id_type =
other
Returned if
id_type =
other
Returned if
id_type =
other
Required
Always
returned
Always
returned
40
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
Required if
legal_
entity_
type = other
Required if
legal_entity
_
type =
other
Returned if
legal_entity
_type =
other
Optional
Optional
Returned if Returned if
submitted
submitted
in the order in the order
locality_
country
Required
Always
returned
locality_
state_prov
Optional
Returned if Returned if
submitted
submitted
in the order in the order
naturalPerson,
corporation,
cooperative,
partnership,
government,
politicalParty, society,
institution, or other.
Optional
Returned if
legal_entity
_type =
other
Always
returned
.AU au_registrant_info
The au_registrant_info associative array contains information about specific
requirements that registrants of .AU domains must meet.
Parameters within the au_registrant_info associative array are described
below.
41
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
Required
for
.COM.AU
and
.NET.AU
Optional
Always
returned
Returned if
submitted
in the order
Required
for
.COM.AU
and
.NET.AU
Optional
Always
returned
Returned if
submitted
in the order
ACNAustralian
Company Number
ABNAustralian
Business Number
VIC BNVictoria
Business Number
NSW BNNew
South Wales
Business Number
SA BNSouth
Australia Business
Number
NT BNNorthern
Territory Business
Number
WA BNWestern
Australia Business
Number
TAS BNTasmania
Business Number
ACT BNAustralian
Capital Territory
Business Number
QLD BN
Queensland Business
Number
TM
OTHER
42
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
eligibility_
name
Optional
Optional
Returned if Returned if
submitted
submitted
in the order in the order
eligibility_
type
Required
Always
returned
Always
returned
Charity
Citizen/Resident
Club
Commercial
Statutory Body
Company
Government
School
Higher Education
Institution
Incorporated
Association
Industry Body
National Body
Non-Government
School
43
Parameter Definition/Value
name
Non-profit
Organisation
Other
Partnership
Pending TM Owner
Political Party
Pre-school
Registered
Business
Religious/Church
Group
Research
Organisation
Sole Trader
Trade Union
Trademark Owner
Training
Organisation
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
registrant_
id
Required if Optional
registrant
_
id_type =
ACN or
ABN
Always
returned
Always
returned
registrant_
id_type
Required
Required
Always
returned
Always
returned
Required
Always
returned
Always
returned
registrant
name
ACNAustralian
Company Number
ABNAustralian
Business Number
OTHER
44
trade
domain
(request)
id_card_
number
The number of
the
individual's
identity card.
Required
when
registrant_
type =
individual
Required
when
registrant_
type =
individual
Returned if
is_success
= true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
registrant_
type
The entity
type of
registrant.
Required
Required
Returned if
is_success
= true
Returned if
is_success =
true
Required
when
registrant_
type =
organization
Required
when
registrant_
type =
organization
Returned if
Returned if
is_success is_success =
= true and
true and
registrant_ registrant_
type =
type =
organization organization
Allowed values
are
individual or
organization.
registrant_
vat_id
Value Added
Tax
registration
number.
45
trade
domain
(request)
id_card_
number
Required when
registrant_
type =
individual
Required
when
registrant_
type =
individual
Returned if
is_success
= true
Returned if
is_success
= true and
registrant_
type =
individual
Required
Required
Returned if
is_success
= true
Returned if
is_success
= true
Required
Required
Returned if
is_success
= true
Returned if
is_success
= true
The number of
the
individual's
identity card.
.COM.BR tld_data
The tld_data associative array contains information contains information to
satisfy requirements of the .BR registry.
Parameters within the tld_data associative array are described below.
Parameter Definition/Value
name
sw_
register
(request)
get
get_order_
domain
info
(response) (response)
Returned if Returned if
is_success is_success
= true
= true
46
.COOP registrant_extra_info
Registration of .COOP domains is restricted to cooperatives and related
organizations. The registrant_extra_info associative array contains
information to satisfy requirements of the .COOP registry.
Parameters within the registrant_extra_info associative array are described
below.
Parameter Definition/
name
Value
coop_
verification_
code
sw_
register
(request)
The coop
Required
verification code
(CVC) is issued
by dotCoop, and
proves that the
registrant is
eligible to
register the
domain name.
modify
domain
(request)
get
get_order
domain
_
(response) info
(response)
Required
Returned if Returned if
is_success is_success
= true
= true
.DE registrant_extra_info
The registrant_extra_info associative array contains information to satisfy
requirements of the .DE registry.
Parameters within the registrant_extra_info associative array are described
below.
Parameter Definition/
name
Value
sw_
register
(request)
get domain
(response)
get_order_
info
(response)
registrant_
type
Required
Returned if
is_success =
true
Returned if
is_success =
true
The entity
type of
registrant.
Allowed values
are individual
or
organization
47
.DK registrant_extra_info
The registrant_extra_info associative array contains information to satisfy
requirements of the .DK registry.
Parameters within the registrant_extra_info associative array are described
below.
Parameter Definition/ sw_
name
Value
register
(request)
trade
domain
(request)
registrant_
type
Required
Required
Returned if
Returned if
is_success = is_success =
true
true
Required
when
registrant_
type =
organization
Required
when
registrant_
type =
organization
Returned if
is_success =
true and
type =
organization
The entity
type of
registrant.
Allowed
values are
individual or
organization
.
registrant_
vat_id
Value Added
Tax
registration
number.
Returned if
is_success =
true and type
=
organization
trade
domain
(request)
id_card_
number
The number
of the
individual's
identity card.
Required
when
registrant_
type =
individual
Required
when
registrant_
type =
individual
Returned if
is_success
= true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
registrant_
type
The entity
type of
Required
Required
Returned if
is_success
Returned if
is_success =
48
trade
domain
(request)
registrant.
true
Returned if
is_success
= true and
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
Allowed
values are
individual or
organization
.
registration_ The business Required
number
number of the when
organization. registrant_
type =
organization
Required
when
registrant_
type =
organization
.FR registrant_extra_info
.FR domains are available to any individuals and organizations located in the
European Union, Switzerland, Norway, Iceland, or Liechtenstein. Individuals
must reside within one of the qualifying countries; organizations must have
their registered or main office located in a qualifying country; therefore,
when registering or transferring .FR domains, you must provide additional
residency information.
Parameters within the registrant_extra_info associative array are described
below.
Paramete Definition/Value
r name
sw_
register
(request)
trade
domain
(request)
get_order_
info
(response)
country_of
_birth
The two-letter
ISO3166 code for the
country in which the
registrant was born.
Required
when
registrant_
type =
individual
Required
when
registrant_
type =
individual
Returned when
registrant_
type =
individual
date_of_
birth
Required
when
registrant_
type =
individual
Required
when
registrant_
type =
individual
Returned when
registrant_
type =
individual
49
Paramete Definition/Value
r name
sw_
register
(request)
trade
domain
(request)
get_order_
info
(response)
place_of_
birth
Required
when
registrant_
type =
individual
and country_
of_birth =
FR
Required
when
registrant_
type =
individual
Returned when
registrant_
type =
individual
postal_
code_of_
birth
Required
when
registrant_
type =
individual
and country_
of_birth =
FR
Required
when
registrant_
type =
individual
Returned when
registrant_
type =
individual
Required
Required
Always
returned
Optional, but
recommended
for
organizations
located in
France
siren_siret
Optional, but
recommended
for
organizations
located in
France
50
.HK registrant_extra_info
The registrant_extra_info associative array contains information to satisfy
requirements of the .HK registry.
Parameters within the registrant_extra_info associative array are described
below.
Parameter Definition/ sw_
name
Value
register
(request)
trade
domain
(request)
get domain
(response)
get_order_
info
(response)
date_of_
birth
The
registrant's
date of birth in
the format
YYYY-MM-DD.
Required when
registrant_
type =
individual
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
id_card_
number
The number of
the
individual's
identity card.
Required when
registrant_
type =
individual
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
registrant_
type
The entity
type of
registrant.
Required
Required
Returned if
Returned if
is_success = is_success =
true
true
Required when
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
Allowed values
are individual
and
organization.
registration_ The business Required when
number
number of the registrant_
organization. type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
.IT it_registrant_info
The it_registrant_info associative array contains information to satisfy the
regional presence requirements of the .IT registry.
Parameters within the it_registrant _info associative array are described
below.
51
Parameter
name
Definition/Value sw_
register
(request)
entity_type
Always
returned
Always
returned
Returned if
submitted in
order
Returned if
submitted in
order
nationality_
code
1Italian
and foreign
natural
persons
2
Companies/o
ne man
companies
3Freelance
workers/prof
essionals
4Non-profit
organizations
5Public
organizations
6Other
subjects
7Foreigners
who match 26
Optional
If entity_type = 1,
nationality or
owner's country or
both must be an EU
country.
If entity_type = 26, this value must
be IT.
If entity_type = 7,
this value must
match owner's
country and must be
an EU country other
52
Parameter
name
Definition/Value sw_
register
(request)
than IT.
Note: Be sure to
use capital letters.
reg_code
An identifying
number, usually the
VAT or Codice
Fiscale (numeric tax
code). The value
that you need to
enter depends on
the entity type of
the registrant.
Italian
citizens must
enter their
Codice
Fiscale.
Non Italians
not living in
Italy can
enter n.a.
Italian
companies,
freelancers,
and other
subjects must
enter their 11
digit VAT
number or
tax
identification
number.
Italian nonprofit
organizations
must enter
their VAT
number or
tax
identification
number;
however, if
they do not
have
Required
Always
returned
Always
returned
53
Parameter
name
Definition/Value sw_
register
(request)
one,they can
enter n.a.
Non Italian
entities other
than persons
(organization
s,
freelancers,
companies,
etc.) may
enter their
VAT number
or n.a.
.JOBS registrant_extra_info
Registration of .JOBS domains is restricted to those who are involved in
Human Resource management. To be eligible, registrants must be a member
of the Society for Human Resource Management (SHRM) or involved in HR
practices that meet any of the following criteria:
Possess salaried-level human resource management experience.
Are certified by the Human Resource Certification Institute.
Are supportive of the SHRM Code of Ethical and Professional Standards
in Human Resource Management, as amended from time to time.
Consequently, when registering a .JOBS domain, registrants must complete
some additional information.
Definition/Value
sw_register modify
(request)
domain
(request)
jobs_admin_
type
Required
get domain
(response)
Always
returned
54
Parameter
name
Definition/Value
sw_register modify
(request)
domain
(request)
get domain
(response)
Required
Always
returned
Optional
Optional
Returned if
submitted in
order
jobs_title
Optional
Optional
Returned if
submitted in
order
jobs_website
Required
Required
Always
returned
modify
domain
(request)
get
domain
(response)
get_order_
info
(response)
id_card_
number
Required when
registrant_
type =
individual
Returned if
is_success
= true and
registrant_
type =
individual
Returned if
is_success
= true and
registrant_
type =
individual
Required when
registrant_
type =
organization
Returned if
is_success
= true and
registrant_
type =
organization
Returned if
is_success
= true and
registrant_
type =
organization
registrant_
type
Required
Returned if
is_success
= true
Returned if
is_success
= true
The number of
the
individual's
identity card.
The entity
type of
registrant.
Required
when
registrant_
type =
individual
Required
55
modify
domain
(request)
get
domain
(response)
get_order_
info
(response)
Required when
registrant_
type =
organization
Returned if
is_success
= true and
registrant_
type =
organization
Returned if
is_success
= true and
registrant_
type =
organization
Allowed values
are individual
or
organization.
registrant_
vat_id
The Value
Added Tax
(VAT) number
of the
organization
Required
when
registrant_
type =
organization
modify
domain
(request)
get domain
(response)
registrant_
type
Required
Returned if
Returned if
is_success = is_success =
true
true
get_order_
info
(response)
.NO registrant_extra_info
The registrant_extra_info associative array contains information to satisfy
requirements of the .NO registry.
Parameters within the registrant_extra_info associative array are described
below.
Parameter Definition/ sw_
name
Value
register
(request)
trade
domain
(request)
get
domain
(response)
get_order_
info
(response)
Required
Returned if
is_success
= true
Returned if
is_success =
true
Required
56
identity card.
get_order_
info
(response)
country_of_
birth
The country in
which the
registrant was
born.
Required when
registrant_
type =
individual
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
date_of_
birth
The
registrant's
date of birth
in the format
YYYY-MM-DD.
Required when
registrant_
type =
individual
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
place_of_
birth
The city in
which the
individual was
born.
Required when
registrant_
type =
individual and
country_of_
birth = FR
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Required when
registrant_
type =
individual and
country_of_
birth = FR
Required when
registrant_
type =
individual and
country_of_
birth = FR
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Required when
registrant_
type =
individual
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
registrant_
type
Required
Required
Returned if
is_success =
Returned if
is_success =
The entity
type of
57
registrant.
get_order_
info
(response)
true
true
Allowed
values are
individual
and
organization
.
registrant_
vat_id
The Value
Added Tax
(VAT) number
of the
organization.
Optional. May
be used when
registrant_
type =
organization
Optional. May
be used when
registrant_
type =
organization
Returned if
is_success =
true if
submitted in
the order
Returned if
is_success =
true if
submitted in
the order
Optional, but
recommended
for
organizations
located in
France
Returned if
is_success =
true if
submitted in
the order
Returned if
is_success =
true if
submitted in
the order
trademark_
number
Optional but
recommended
when
registrant_
type =
organization
Returned if
is_success =
true if
submitted in
the order
Returned if
is_success =
true if
submitted in
the order
The number
assigned to
the
organizations
pending or
registered
trademark.
Optional but
recommended
when
registrant_
type =
organization
.PRO professional_data
In order to register a .PRO domain name, the registrant must belong to an
accredited profession.
Parameters within the professional_data associative array are described
below.
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
authority
Optional
Optional
Returned if Returned if
submitted submitted
in order
in order
58
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
authority_
website
Optional
Optional
Returned if Returned if
submitted submitted
in order
in order
license_
number
Optional
Optional
Returned if Returned if
submitted submitted
in order
in order
profession
Required
Required
Always
returned
Always
returned
trade
domain
(request)
id_card_
number
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success
= true and
registrant_
type =
individual
Required when
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
Returned if
is_success
= true and
registrant_
type =
organization
registrant_
type
Required
Returned if
Returned if
is_success = is_success
true
= true
The number of
the
individual's
identity card.
The entity
type of
registrant.
Required
when
registrant_
type =
individual
Required
Allowed values
are
individual or
organization.
59
trade
domain
(request)
registrant_
vat_id
Required when
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
The Value
Added Tax
(VAT) number
of the
organization
Required
when
registrant_
type =
organization
Returned if
is_success
= true and
registrant_
type =
organization
.RU registrant_extra_info
The registrant_extra_info associative array contains information to satisfy
requirements of the .RU registry.
Parameters within the registrant_extra_info associative array are described
below.
Paramet Definitio sw_
er name n/Value register
(request)
trade
domain
(request)
date_of_
birth
The
registrant's
date of
birth in the
format
YYYY-MMDD.
Required
when
registrant_ty
pe =
individual
Required when
registrant_ty
pe =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
id_card_
authority
The name
of the
issuer.
Required
when
registrant_ty
pe =
individual
Required when
registrant_ty
pe =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Required
when
registrant_ty
pe =
individual
Required when
registrant_ty
pe =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
60
trade
domain
(request)
id_card_
number
Required
when
registrant_ty
pe =
individual
Required when
registrant_ty
pe =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Required
when
registrant_ty
pe =
individual
Required when
registrant_ty
pe =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Required
Required
Returned if
Returned if
is_success = is_success =
true
true
The
number of
the
individual's
identity
card.
Allowed
values are
individual
and
organizati
on.
trade
domain
(request)
Required when
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
Returned if
is_success =
true and
registrant_
type =
individual
registrant_
type
Required
Returned if
is_success =
Returned if
is_success =
The entity
type of
Required
61
trade
domain
(request)
registrant.
true
true
Allowed values
are individual
or
organization.
registrant_
vat_id
The Value
Added Tax
(VAT) number
of the
organization
Required
when
registrant_
type =
organization
Required when
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
Required when
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
Returned if
is_success =
true and
registrant_
type =
organization
.US nexus
The nexus associative array contains Nexus information for .US domains, to
satisfy the American presence requirements of the .US registry.
Parameters within the nexus associative array are described below.
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
app_
purpose
Required
Required
Always
returned
A description of the
domain's application
purpose:
P1Business use
for profit.
P2Non-profit
business, club,
association,
religious
organization, and so
on.
P3Personal use.
P4Education
Always
returned
62
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
Required
Required
Always
returned
Always
returned
Returned if
category
= C31 or
C32
Returned if
category
= C31 or
C32
purposes.
category
validator
P5Government
purposes.
A description of the
domain's nexus category:
C11A citizen of
the U.S. or any of
its territories.
C12A permanent
resident of the U.S.
or any of its
territories.
C21An
organization
incorporated within
the U.S.
.XXX ipr_data
.XXX domains are available to those within the adult entertainment industry
who are members of the Sponsored Community (SC). The ipr_data
associative array contains information to prove that the registrant is a
member of the Sponsored Community.
Parameters within the ipr_data associative array are described below.
63
Parameter Definition/Value
name
sw_
register
(request)
modify
domain
(request)
get
get_order
domain
_info
(response) (response)
Optional
Returned if Returned if
submitted
submitted
in the order in the
order
N/A
N/A
N/A
Optional
N/A
N/A
Returned if
submitted
in the
order
N/A
N/A
N/A
icm_
The ID number that was
Optional
membership provided when the
_id
registrant successfully
completed the XXX
Sponsored Community
validation process. If this
value is not submitted with
the domain registration,
the registry will contact the
registrant with instructions
on how to become a
member of the Sponsored
Community.
If you submit this value,
you do not need to submit
any of the other ipr_data
values.
ipr_email
ipr_name
ipr_non_
resolver
64
Lookup Commands
This section contains the following commands:
belongs_to_rspDetermines whether domain belongs to the RSP who
issued the command.
cira_email_pwdDeprecated. Sends CIRA login information to admin
contact.
get_balanceQueries the requester's account, and returns the total
amount of money in the account and the amount that is allocated to
pending transactions.
get_ca_blocker_listDeprecated. Checks for any domains blocking
the registration of a new .CA domain.
get_deleted_domainsLists domains that have been deleted due to
expiration or request.
get (domain)Queries various types of data associated with a domain.
get_domains_contactsQueries contact information for a list of
domains.
get_domains_by_expiredateQueries domains expiring within a date
range.
get_notesRetrieves the domain notes that detail the history of the
domain, for example, renewals and transfers.
get_order_infoQueries all information related to an order.
get_orders_by_domainRetrieves information about orders placed for
a specific domain.
get_priceQueries the price of a domain.
get_registrant_verification_statusReturns the current state of the
verification request.
lookup (domain)Determines the availability of a domain.
name_suggestChecks whether a name, word, is phrase is available
for registration.
65
belongs_to_rsp
Description
Action & object
action = belongs_to_rsp
object = domain
Usage
Determines whether the domain belongs to the RSP who issued the
command.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
domain
Required
request
66
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
belongs_to_rsp
Required
domain_expdate
67
</body>
</OPS_envelope>
Response
If belongs to RSP
<?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="attributes">
<dt_assoc>
<item key="belongs_to_rsp">1</item>
<item key="domain_expdate">2007-08-26 11:40:14</item>
</dt_assoc>
</item>
<item key="response_text">Query successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
68
<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="attributes">
<dt_assoc>
<item key="belongs_to_rsp">0</item>
</dt_assoc>
</item>
<item key="response_text">Query successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
69
cira_email_pwd
Description
Action & object
action = cira_email_pwd
object = domain
Usage
Sends the CIRA login information (used for confirming critical changes) to the
email address associated with a .CA domain's admin contact.
Important: This command has been deprecated. If this command is part of
your current integration, it will continue to work; however, the results will be
ignored. The response will return 'is_success' => '1'.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition / Value
domain
Required
request
70
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
71
<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">Command verified</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
72
get_balance
Description
Action & object
action = get_balance
object = balance
Usage
Queries the requester's account, and returns the total amount of money in
the account and the amount that is allocated to pending transactions.
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition / Value
balance
Required
73
Parameter
name
Obligation
Definition / Value
hold_balance
Required
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
74
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">BALANCE</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="balance">8549.18</item>
<item key="hold_balance">1676.05</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
75
get_ca_blocker_list
Description
Action & object
action = get_ca_blocker_list
object = domain
Usage
Before a .CA domain can be registered, it is checked against the CIRA
registry for any conflicting domains. If a variation of the requested domain is
already registered, the requested domain registration is put on hold. For
example, if a registrant owns 'domain.ca' or 'domain.pv.ca' (where .pv is the
provincial code), the CIRA system automatically reserves all variants of the
name.
This command checks for any domains blocking the registration of a new .CA
domain, and returns a list of those domains, if any exist. If blockers exist,
the .CA domain cannot be registered until the owners of the blocker domains
consent.
Important: This command has been deprecated. If this command is part of
your current integration, it will continue to work; however, the results will be
ignored. The response will return 'is_success' => '1'.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition / Value
domain
Optional
76
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition / Value
blocker_list
Required
Blocker_List
Parameters within the blocker_list associative array are described below.
Parameter name Obligation
Definition / Value
admin_email
Required
owner_org
Required
registrar
Required
tech_email
Required
77
Response
<?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>
78
<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">Query successful</item>
<item key="attributes">
<dt_assoc>
<item key="blocker_list">
<dt_assoc>
<item key="example.sk.ca">
<dt_assoc>
<item key="registrar">Tucows.com
Co.</item>
<item key="owner_org_name">Example
Company Ltd.</item>
<item
key="tech_email">tech_email@example.sk.ca</item>
<item
key="admin_email">admin_email@example.sk.ca</item>
</dt_assoc>
</item>
<item key="example.on.ca">
<dt_assoc>
<item key="registrar">Internic.ca
Corp.</item>
o/a Example Ontario</item>
<item
key="tech_email">randy@example.on.ca</item>
<item
key="admin_email">admin@example.on.ca</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
79
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
80
get_deleted_domains
Description
Action & object
action =get_deleted_domains
object = domain
Usage
Lists domains that have been deleted due to expiration or deleted by request
(revoked). This command applies to all domains in a Reseller's profile.
Results include the domain, status, and deleted date.
All attributes are optional, but can be used to narrow the search criteria. If
no attributes are specified, the response contains all domains that were ever
deleted from your profile.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition / Value
admin_email
Optional
billing_email
Optional
del_from
Optional
81
Parameter
name
Obligation
Definition / Value
del_to
Optional
domain
Optional
exp_from
Optional
exp_to
Optional
limit
Optional
owner_email
Optional
page
Optional
tech_email
Optional
82
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition / Value
del_domains
Required
page_size
Returned if specified in
the request.
total
Required
Del_Domains
Parameters within the del_domains associative array are described below.
Parameter name Obligation
Definition / Value
delete_date
delete_date_epoch
expire_date
expiredate_epoch
83
Definition / Value
name
reason
By-Request
Expired
Transferred
Historical
84
<item key="billing_email">*</item>
<item key="exp_to">2014-10-10</item>
<item key="tech_email">*</item>
<item key="exp_from">2002-10-10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="page">1</item>
<item key="page_size">2</item>
<item key="total">2</item>
<item key="del_domains">
<dt_array>
85
<item key="0">
<dt_assoc>
<item
key="expiredate_epoch">1229135427</item>
<item key="delete_date">12-DEC-2004
21:31:30</item>
<item key="reason">By-Request</item>
<item
key="delete_date_epoch">1102905090</item>
<item key="name">pure-
1102905253608.com</item>
<item key="expiredate">12-DEC-2008
21:30:27</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="expiredate_epoch">1229135516</item>
<item key="delete_date">12-DEC-2004
21:32:48</item>
<item key="reason">By-Request</item>
<item
key="delete_date_epoch">1102905168</item>
<item key="name">pure1102905358159.net</item>
<item key="expiredate">12-DEC-2008
21:31:56</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
86
get (domain)
Description
Action & object
action = get
object = domain
Usage
Queries various types of data regarding the user's domain. For example, the
all_info type allows you to retrieve all data for the domain linked to the
current cookie. The list type queries the list of domains associated with the
user's profile. The list type can also be used to return a list of domains that
expire within a specified range. The nameservers type returns the
nameservers currently acting as DNS servers for the domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
clean_ca_subset Optional
Definition / Value
Determines the type of contact_set values that
are returned for .CA domains when type = admin
or tech.
If clean_ca_subset = 1, the address data is
returned in the standard address fields
(address1, address2, and address3).
If clean_ca_subset is not specified, the query
returns the values addr_address_number,
addr_corporative, addr_office,
addr_orientation, addr_street_cat, and
87
Parameter
name
Obligation
Definition / Value
addr_street_name along with the standard
address fields (address1, address2, and
address3).
domain
Required if
cookie is not
submitted
limit
Optional
max_to_expiry
min_to_expiry
Required when Defines the expiration range (in days): to fetch the
type = list
list of domains that are between max_to_expiry
and min_to_expiry before expiration date.
If min_to_expiry is not provided, it defaults to 0.
If min_to_expiry > max_to_expiry, the list is
empty. These parameters can have negative
values, which means days past the expiration
date. For example, -5 means 5 days past the
expiration date.
page
Optional
type
Required
auto_renew_flagDeprecated,
Returned list of domains.
ca_whois_display_settingReturns the
current CIRA Whois Privacy setting for .CA
88
Parameter
name
Obligation
Definition / Value
domains.
89
Deprecated
Parameter name
Obligation
Definition / Value
with_encoding_types
Deprecated
request
Attributes
The response message returned varies depending on the value of the type
field that was used to send the request.
Obligation
Definition/Value
contact_set
descr
90
Parameter name
Obligation
Definition/Value
affiliate_id
descr
dns_errors
nameserver_list
registry_createdate
registry_expiredate
registry_transferdate
registry_updatedate
sponsoring_rsp
tld_data
1 = Domain is
under your Reseller
profile (logged-in
Reseller)
An associative array
containing registrant
information.
91
Parameter name
Obligation
Definition/Value
.PT, .RE, .RO, .RU, .SE, .TF, For more information, see
.US, .WF, .XXX, .YT, and
tld_data
.ZA domains when type =
all_infoand is_success =
true
Deprecated
Parameter name
Obligation
Definition/Value
rant_no
Deprecated
Nameserver_List
Parameters within the nameserver_list associative array are described
below.
Parameter
name
Obligation
Definition/Value
ip_address
ipv6
name
sort_order
Definition/Value
display
Returned if
is_success = true
92
Definition/Value
Allowed values are:
individual
Returned if
is_success = true
Definition/Value
Obligation
Definition/Value
auto_renew
1Auto-renew.
expiredate
Returned when type = The date that the domain is set to expire, in
expire_action
the format YYYY-MM-DD HH24:MM:SS.
let_expire
1Expire silently
93
Obligation
Definition/Value
forwarding_email
Obligation
Definition/Value
count
Returned when
type = list
domain_list
Returned when
type = list
ext_results
Returned when
type = list
remainder
Returned when
type = list
Domain_List
Parameters within the domain_list associative array are described below
Parameter
name
Obligation
Definition/Value
domain
Returned when
type = list
94
Parameter
name
Obligation
Definition/Value
encoding_type
Returned when
type = list
Ext_Results
Parameters within the ext_results associative array are described below.
Parameter name Obligation
Definition/Value
auto_renew
Returned when
type = list
1Auto-renew
expiredate
Returned when
type = list
has_whois_privacy
Returned when
type = list
let_expire
lock_state
sponsoring_rsp
Returned when
type = list
Returned when
type = list
Returned when
type = list
0Disabled
1Enabled
0Not locked.
1Locked.
1Sponsoring RSP
Deprecated
Parameter
name
Obligation
Definition/Value
wp_expiredate
Deprecated
95
Parameter
name
Obligation
Definition/Value
wp_service
Deprecated
Obligation
Definition/Value
nameserver_list
Nameserver_List
Parameters within the nameserver_list associative array are described
below.
Parameter
name
Obligation
Definition/Value
ipaddress
name
sortorder
96
Deprecated
Parameter
name
Obligation
Definition/Value
encoding_type
Deprecated
Obligation
Definition/Value
business
domain_enabled
YEnabled
NDisabled
phone
rsp_enabled
url
YEnabled
NDisabled
Obligation
Definition/Value
auctionescrow
Returned when
Indicates whether the domain has
type = status and been placed in auction escrow. If
domain is in
in auction escrow, the domain
auction escrow.
cannot be renewed.
0Not in escrow.
1In escrow.
97
Parameter name
Obligation
Definition/Value
can_modify
Returned when
type = status
domain_supports
Returned when
type = status
lock_state
Returned when
type = status
0Cannot be modified.
1Can be modified.
0Not locked.
1Locked.
parkp_status
Optional
transfer_away_in_progress
Optional
Obligation
Definition/Value
tld_data
98
Parameter
name
Obligation
Definition/Value
Obligation
Definition / Value
state
Deprecated
Parameter
name
Obligation
Definition/Value
changeable
Deprecated
Request
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
99
Response
<?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>
100
<item key="protocol">XCP</item>
<item key="object">DOMAIN</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Query Successful</item>
<item key="action">REPLY</item>
<item key="attributes">
<dt_assoc>
<item key="contact_set">
<dt_assoc>
<item key="admin">
<dt_assoc>
<item key="address1">32 Oak Street /item>
<item key="address2"></item>
<item key="address3"></item>
<item key="city">Toronto</item>
<item key="state">ON</item>
<item key="postal_code">M1M1M1</item>
<item key="country">CA</item>
<item key="org_name">Example Company</item>
<item key="phone">+1.4165551212</item>
<item key="fax"></item>
<item key="first_name">Marlin</item>
<item key="last_name">Wilk</item>
<item key="email">test@example.com</item>
<item key="lang">EN</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
101
</body>
</OPS_envelope>
Example 2
Without the clean_ca_subset parameter
Request
<?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">GET</item>
<item key="object">DOMAIN</item>
<item key="registrant_ip">10.0.62.128</item>
<item key="cookie">HyaiLx1KeHzxRWdX:235293:5217</item>
<item key="attributes">
<dt_assoc>
<item key="type">admin</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
102
<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">Query Successful</item>
<item key="action">REPLY</item>
<item key="attributes">
<dt_assoc>
<item key="contact_set">
<dt_assoc>
<item key="admin">
<dt_assoc>
<item key="addr_address_number"></item>
<item key="addr_corporative"></item>
<item key="addr_office"></item>
<item key="addr_orientation"></item>
<item key="addr_street_cat"></item>
<item key="addr_street_name">32 Oak Street</item>
<item key="address1">32 Oak Street</item>
<item key="address2"></item>
<item key="address3"></item>
<item key="city">Toronto</item>
<item key="state">ON</item>
<item key="postal_code">M1M1M1</item>
<item key="country">CA</item>
<item key="org_name">Example Company</item>
<item key="first_name">Marlin</item>
<item key="last_name">Wilk</item>
<item key="lang">EN</item>
<item key="email">test@example.com</item>
103
<item key="phone">+1.4165551212</item>
<item key="fax"></item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
104
<dt_assoc>
<item key="type">all_info</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Query Successful</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew">0</item>
21:27:25</item>
21:27:25</item>
21:27:25</item>
<item key="registry_createdate">2006-12-12
<item key="registry_expiredate">2007-12-12
<item key="registry_updatedate">2006-12-12
<item key="sponsoring_rsp">1</item>
<item key="expiredate">2007-12-12 21:27:25</item>
105
<item key="let_expire">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="ipaddress">21.40.33.21</item>
<item key="sortorder">1</item>
<item
key="name">ns1.domaindirect.com</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="ipaddress">207.136.100.142</item>
<item key="sortorder">2</item>
<item
key="name">ns2.domaindirect.com</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="ipaddress">24.22.23.28</item>
<item key="sortorder">3</item>
<item
key="name">patrick.mytestingprofile.com</item>
</dt_assoc>
</item>
<item key="3">
<dt_assoc>
<item key="ipaddress">24.22.23.24</item>
<item key="sortorder">4</item>
106
<item
key="name">qa1.mytestingprofile.com</item>
</dt_assoc>
</item>
<item key="4">
<dt_assoc>
<item key="ipaddress">24.22.23.25</item>
<item key="sortorder">5</item>
<item
key="name">qa2.mytestingprofile.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
For .CA domains
Request
<?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>
107
<item key="action">GET</item>
<item key="object">DOMAIN</item>
<item key="cookie">NNMxlmPhKbMOWswr:654537:28355</item>
<item key="attributes">
<dt_assoc>
<item key="limit">10</item>
<item key="type">all_info</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Query Successful</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="registry_createdate">2009-10-26 00:00:00</item>
<item key="fqdn2">ns3.opensrs-dns.com</item>
108
<item key="legal_type">CCT</item>
<item key="fqdn1">ns2.opensrs-dns.com</item>
<item key="sponsoring_rsp">1</item>
<item key="expiredate">2010-10-26 00:00:00</item>
<item key="auto_renew">0</item>
<item key="registry_expiredate">2010-10-26 00:00:00</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="name">ns2.opensrs-dns.com</item>
<item key="sortorder">1</item>
<item key="ipaddress"></item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="name">ns3.opensrs-dns.com</item>
<item key="sortorder">2</item>
<item key="ipaddress"></item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="name">ns1.opensrs-dns.com</item>
<item key="sortorder">3</item>
<item key="ipaddress"></item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key="let_expire">0</item>
<item key="contact_set">
<dt_assoc>
109
<item key="owner">
<dt_assoc>
<item key="org_name">Setter Sanctuary</item>
<item key="first_name">Owen</item>
<item key="last_name">Ottway</item>
<item key="address1">32 Oak St.</item>
<item key="address2">Suite 100</item>
<item key="address3"/>
<item key="city">Toronto</item>
<item key="state">ON</item>
<item key="postal_code">M1M1M1</item>
<item key="country">CA</item>
<item key="phone">+14165551212</item>
<item key="fax"></item>
<item key="email">ottway@example.com</item>
</dt_assoc>
</item>
<item key="admin">
<dt_assoc>
<item key="country">CA</item>
<item key="org_name">Setter Sanctuary</item>
<item key="phone">+14165551212</item>
<item key="state">ON</item>
<item key="last_name">Wilk</item>
<item key="address2"></item>
<item key="email">rwilk@example.com</item>
<item key="lang">EN</item>
<item key="city">Toronto</item>
<item key="postal_code">M1M1M1</item>
<item key="fax"></item>
<item key="address1"> 123 Oak St.</item>
<item key="first_name">Marlin</item>
</dt_assoc>
</item>
110
<item key="tech">
<dt_assoc>
<item key="country">CA</item>
<item key="org_name">Setter Sanctuary</item>
<item key="phone">+14165551212</item>
<item key="state">ON</item>
<item key="last_name">Wilk</item>
<item key="address2"></item>
<item key="email">rwilk@example.com</item>
<item key="lang">EN</item>
<item key="city">Toronto</item>
<item key="postal_code">M1M1M1</item>
<item key="fax"></item>
<item key="address1"> 123 Oak St.</item>
<item key="first_name">Robson</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="domain_description"></item>
<item key="fqdn3">ns1.opensrs-dns.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 3
For .AU domains
Request
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
111
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>get</item>
<item key='object'>domain</item>
<item key='cookie'>CpnuM7wfv81zsYGl:685255:1736</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>all_info</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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="is_success">1</item>
<item key="response_code">200</item>
112
113
<dt_assoc>
<item key="name">ns2.mdnsservice.com</item>
<item key="sortorder">2</item>
<item key="ipaddress"></item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key='contact_set'>
... see "Contact Set"
</item>
<item key="let_expire">0</item>
<item key="registry_updatedate">2010-09-22 18:30:05</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 4
For .XXX domains
Request
<?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'>get</item>
114
<item key='object'>domain</item>
<item key='cookie'>DopdK7wvd8erYGl:502741:5622</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>all_info</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Query Successful</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='attributes'>
<dt_assoc>
<item key='auto_renew'>1</item>
<item key='ipr_data'>
<dt_assoc>
<item key='icm_membership_id'>123456</item>
115
</dt_assoc>
</item>
<item key='contact_set'>
... see "Contact Set"
</item>
<item key='registry_updatedate'>2011-11-29 21:16:04</item>
<item key='sponsoring_rsp'>1</item>
<item key='registry_createdate'>2011-11-29 21:11:25</item>
<item key='expiredate'>2012-11-29 21:11:25</item>
<item key='let_expire'>0</item>
<item key='registry_expiredate'>2012-11-29 21:11:25</item>
<item key='nameserver_list'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='name'>ns1.systemdns.com</item>
<item key='sortorder'>1</item>
<item key='ipaddress'/>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='name'>ns2.systemdns.com</item>
<item key='sortorder'>2</item>
<item key='ipaddress'/>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
116
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
117
</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">OK</item>
<item key="attributes">
<dt_assoc>
<item key="individual">Y</item>
<item key="display">FULL</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
118
<item key="object">domain</item>
<item key="cookie">24128866:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="type">domain_auth_info</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Query Successful</item>
<item key="attributes">
<dt_assoc>
<item key="domain_auth_info">ewgnRwnH</item>
</dt_assoc>
</item>
</dt_assoc>
119
</data_block>
</body>
</OPS_envelope>
Request
<?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">get</item>
<item key="object">domain</item>
<item key="cookie">24128866:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="type">expire_action</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
120
Response
<?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="response_text">Query Successful</item>
<item key="is_success">1</item>
<item key="attributes">
<dt_assoc>
<item key="ext_results">
<dt_array>
<item key="0">
<dt_assoc>
<item key="domain1">
<dt_assoc>
<item key="auto_renew">1</item>
<item key="expiredate">2001-07-15
15:41:11</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="domain2">
121
<dt_assoc>
<item key="auto_renew">0</item>
<item key="expiredate">2001-11-21
14:16:23</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
<item key="count">33</item>
<item key="domain_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="domain">domain1</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key="remainder">1</item>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
122
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">get</item>
<item key="object">domain</item>
<item key="cookie">24128866:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="type">forwarding_email</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
123
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Query Successful</item>
<item key="attributes">
<dt_assoc>
<item key="forwarding_email"/>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
124
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="count">1</item>
<item key="remainder">0</item>
<item key="domain_list">
<dt_array>
<item key="0">example.com</item>
</dt_array>
</item>
<item key="ext_results">
<dt_array>
<item key="0">
125
<dt_assoc>
<item key="example.com">
<dt_assoc>
<item key="let_expire">0</item>
<item key="wp_service">0</item>
key="has_whois_privacy">0</item>
<item
<item key="sponsoring_rsp">1</item>
<item key="auto_renew">0</item>
<item key="lock_state">0</item>
<item key="expiredate">0</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
126
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">get</item>
<item key="object">domain</item>
<item key="cookie">24128866:3210384</item>
<item key="registrant_ip">111.121.121.121</item>
<item key="attributes">
<dt_assoc>
<item key="type">nameservers</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Query Successful</item>
<item key="attributes">
<dt_assoc>
127
<item key="type">nameservers</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="ipaddress">21.40.33.21</item>
<item key="sortorder">1</item>
<item key="name">ns1.example.com</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="ipaddress">207.136.100.142</item>
<item key="sortorder">2</item>
<item key="name">ns2.example.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
128
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">get</item>
<item key="object">domain</item>
<item key="cookie">24128866:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="type">owner</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
129
130
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="url"/>
<item key="domain_enabled">Y</item>
<item key="rsp_enabled">Y</item>
<item key="fax"/>
<item key="business">Example</item>
<item key="opt_info">This company may be contacted
for domain login/passwords, DNS/Nameserver changes, and general domain
support questions.</item>
<item key="email">fraser@example.com</item>
<item key="phone">+1.4165350123</item>
</dt_assoc>
</item>
131
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
132
<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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="can_modify">0</item>
<item key="domain_supports">1</item>
<item key="auctionescrow">1</item>
<item key="parkp_status">enabled</item>
<item key="lock_state">0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
133
<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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="can_modify">0</item>
<item key="domain_supports">1</item>
<item key="parkp_status"/>
<item key="lock_state">0</item>
<item key="transfer_away_in_progress">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
134
<body>
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>get</item>
<item key='object'>domain</item>
<item key='cookie'>lQr4eKXz4ydiFBXL:698303:1653</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>tld_data</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Query Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='attributes'>
135
<dt_assoc>
<item key='tld_data'>
<dt_assoc>
<item key='ced_info'>
<dt_assoc>
<item
key='legal_entity_type_info'>proprietorship</item>
<item key='locality_state_prov'>NSW</item>
<item key='id_type'>other</item>
<item key='contact_type'>tech</item>
<item key='locality_city'>Sydney</item>
<item key='locality_country'>AU</item>
<item key='id_type_info'>driver\'s license</item>
<item key='legal_entity_type'>other</item>
<item key='id_number'>AB1234567</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
For a .COOP domain
Request
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
136
</header>
<body>
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>get</item>
<item key='object'>domain</item>
<item key='cookie'>ndxOATL2zdtVpWXJ:710538:6469</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>tld_data</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Query Successful</item>
137
<item key='attributes'>
<dt_assoc>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='coop_verification_code'>123456789</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 3
For a .DK domain
Request
<?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'>get</item>
<item key='object'>domain</item>
138
<item key='cookie'>pKuqcg3if1AeYWB8:754002:2258</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>tld_data</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Query Successful</item>
<item key='attributes'>
<dt_assoc>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='registrant_type'>organization</item>
139
<item key='registrant_vat_id'>123456789</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 4
For a .JOBS domain
Request
<?xml version='1.0' encoding='UTF-8'?>
<!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'>get</item>
<item key='object'>domain</item>
<item key='cookie'>7rQitruAeYGgKcBO:707623:6222</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>tld_data</item>
</dt_assoc>
</item>
140
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8'?>
<!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'>Query Successful</item>
<item key='attributes'>
<dt_assoc>
<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
Management</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>
141
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 5
For .LV and .COM.LV domains
Request
<?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'>get</item>
<item key='object'>domain</item>
<item key='cookie'>BOx2X6bZrHX4HeXp:710540:6468</item>
<item key='attributes'>
<dt_assoc>
<item key='type'>tld_data</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
142
</OPS_envelope>
Response
<?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'>Query Successful</item>
<item key='attributes'>
<dt_assoc>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='registrant_type'>individual</item>
<item key='id_card_number'>987654321</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
143
</body>
</OPS_envelope>
Example 6
For a .PRO domain
Request
<?xml version='1.0' encoding='UTF-8'?>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key='attributes'>
<dt_assoc>
<item key='type'>tld_data</item>
</dt_assoc>
</item>
<item key='protocol'>XCP</item>
<item key='action'>get</item>
<item key='object'>domain</item>
<item key='cookie'>kXO4IpLLr7EJidWD:698312:17335</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
144
</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'>Query Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='attributes'>
<dt_assoc>
<item key='tld_data'>
<dt_assoc>
<item key='professional_data'>
<dt_assoc>
<item key='profession'>Dentist</item>
<item key='license_number'>123456789</item>
<item key='authority_website'>http://www.cdaadc.ca/</item>
<item key='authority'>Canadian Dental
Association</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?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">get</item>
<item key="object">domain</item>
<item key="cookie">24128866:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="type">waiting_history</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
146
<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">Query Successful</item>
<item key="attributes">
<dt_assoc>
<item key="record_count">0</item>
<item key="waiting_history">
<dt_array/>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
147
<item key="registrant_ip"/>
<item key="attributes">
<dt_assoc>
<item key="type">whois_privacy_state</item>
<item key="limit">10</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Query Successful</item>
<item key="attributes">
<dt_assoc>
<item key="state">enabled</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
148
</body>
</OPS_envelope>
149
get_domains_contacts
Description
Action & object
action = get_domains_contacts
object = domain
Usage
Queries the contact information for the specified domains.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain_list
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
150
Attributes
The attributes array includes an array of associative arrays, one for each
domain queried. The associative array for each domain includes the contact
set for that domain.
151
Response
<?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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="js3.be">
<dt_assoc>
<item key="contact_set">
... see "Contact Set"
</item>
</dt_assoc>
</item>
<item key="js4.be">
<dt_assoc>
<item key="contact_set">
... see "Contact Set"
</item>
</dt_assoc>
</item>
</dt_assoc>
152
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
153
get_domains_by_expiredate
Description
Action & object
action = get_domains_by_expiredate
object = domain
Usage
Retrieves domains that expire within a specified date range.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
exp_from
Required
exp_to
Required
limit
Optional - if not
The number of domains to return on each
specified, the default '40' page.
will be used.
page
Optional - if not
specified, the default '1'
will be used.
154
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
exp_domains
Required
page
Required
remainder
Required
total
Required
Exp_Domains
Parameters within the exp_domains associative array are described below.
Parameter
name
Obligation
Definition/Value
expiredate
Required
f_auto_renew
Required
155
Parameter
name
Obligation
Definition/Value
f_let_expire
Required
name
Required
156
Response
<?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">Command successful</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="page">1</item>
<item key="total">2</item>
<item key="remainder">0</item>
<item key="exp_domains">
<dt_array>
<item key="0">
<dt_assoc>
<item key="f_let_expire">N</item>
<item key="name">katarina.biz</item>
<item key="expiredate">2009-12-18
23:59:59</item>
<item key="f_auto_renew">N</item>
</dt_assoc>
</item>
<item key="1">
157
<dt_assoc>
<item key="name">kristina.ch</item>
<item key="expiredate">2009-12-18
23:59:59</item>
<item key="f_let_expire">N</item>
<item key="f_auto_renew">N</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
158
get_notes
Description
Action & object
action = get_notes
object = domain
Usage
Retrieves the domain notes that detail the history of the domain, for
example, renewals and transfers.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
limit
Optional
order_id
Optional
page
Optional
transfer_id
Optional
type
Required
159
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
notes
Required
page
Optional
page_size
Required
total
Required
160
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">get_notes</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="domain">example.com</item>
<item key="page">1</item>
<item key="order_id">123456</item>
<item key="type">order</item>
<item key="limit">100</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successful</item>
<item key="response_code">200</item>
161
<item key="attributes">
<dt_assoc>
<item key="page_size">100</item>
<item key="page">1</item>
<item key="total">1</item>
<item key="notes">
<dt_array>
<item key="0">
<dt_assoc>
<item key="timestamp">15-OCT-2007
16:23:04</item>
162
get_order_info
Description
Action & object
action = get_order_info
object = domain
Usage
Queries all the information on an order ID, but does not return sensitive
information such as username, password, and Authcode.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
order_id
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
163
Domain attributes
Parameters within the attributes associative array for domain orders are
described below.
Parameter name Obligation
Definition/Value
field_hash
Required for
domain orders
Field Hash
Parameter name Obligation
Definition/Value
affiliate_id
Returned if
The associated affiliate ID.
is_success = true
and reg_type = new,
transfer, premium,
or sunrise
application_id
Returned if
is_success = true
and the order's
reg_type = sunrise
or landrush and the
order is for a .XXX
domain
application_status
Returned if
is_success = true
and the order's
reg_type = sunrise
and the order is for
a .XXX domain
processedWaiting for
notification from registry.
declinedDomain registration
unsuccessful.
not_availableThis status is
always returned for Sunrise B
applications.
comments
Optional
completed_date
Returned when
Date when the transfer was completed.
reg_type = transfer
164
Definition/Value
cost
Returned if
is_success = true
domain
Returned if
is_success = true
encoding type
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
expiry_year
Returned if
is_success = true
and reg_type =
transfer
f_auto_renew
Returned if
is_success = true
f_lock_domain
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
flag_saved_ns_
fields
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
flag_saved_tech_
fields
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
forwarding_email
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
1Domain is locked
165
Definition/Value
fqdn1/2/3/4
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
id
Returned if
is_success = true
master_order_id
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
notes
Returned if
is_success = true
order_date
Returned if
is_success = true
owner, admin,
billing, and tech
contact information
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
owner_confirm_
time
Returned if
is_success = true
and reg_type =
transfer
owner_request_
time
Returned if
is_success = true
and reg_type =
transfer
period
Returned if
is_success = true
processed_date
Returned if
is_success = true.
Empty for new
166
Definition/Value
domain registration.
reg_domain
Returned if
is_success = true
and reg_type =
new, transfer,
premium, or
sunrise
reg_type
Returned if
is_success = true
registry_request_
time
Returned if
is_success = true
and reg_type =
transfer
request_address
Returned if
is_success = true
and reg_type =
transfer
status
Returned if
is_success = true
tld_data
Returned for
.ASIA, .AR, .AU,
.BR, .Cl, .COOP,
.DE, .DK, .FI, .FR,
.HK, .HU, .IT, .LV,
.MX, .MY, .NO,
.NU, .PM, .PRO,
.PT, .RE, .RO, .RU,
.SE, .SG, .TF, .US,
.WF, .XXX, .YT,
and .ZA domains if
is_success = true
Returned if
is_success = true
and reg_type =
transfer
transfer_notes
transfer_status
Returned if
167
Definition/Value
Owner Approval
Notes_list
Parameters within the notes_list associative array are described below.
Parameter
name
Obligation
Definition/Value
date
Optional
note
Optional
type
Optional
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
168
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">get_order_info</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="order_id">3515690</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
169
<item key="attributes">
<dt_assoc>
<item key="field_hash">
<dt_assoc>
<item key="owner_first_name">Owen</item>
<item key="owner_last_name">Ottway</item>
<item key="owner_org_name">Example Inc.</item>
<item key="owner_address1">32 Oak St.</item>
<item key="owner_address2">Suite 500</item>
<item key="owner_address3"/>
<item key="owner_city">Santa Clara</item>
<item key="owner_state">CA</item>
<item key="owner_country">US</item>
<item key="owner_postal_code">90210</item>
<item
key="owner_phone">+1.4165550123x1902</item>
<item key="owner_fax">+1.4165550124</item>
<item key="owner_email">owner@example.com</item>
<item key="admin_first_name">Adler</item>
<item key="admin_last_name">Adams</item>
<item key="admin_org_name">Example Inc.</item>
<item key="admin_address1">32 Oak St.</item>
<item key="admin_address2">Suite 100</item>
<item key="admin_address3"/>
<item key="admin_city">Santa Clara</item>
<item key="admin_state">CA</item>
<item key="admin_country">US</item>
<item key="admin_postal_code">90210</item>
<item
key="admin_phone">+1.4165550123x1812</item>
<item key="admin_fax"/>
<item key="admin_email">admin@example.com</item>
<item key="billing_first_name">Bill</item>
<item key="billing_last_name">Burton</item>
<item key="billing_org_name">Example Inc.</item>
170
<item key="timestamp">05-OCT-2007
171
172
<item key="1">
<dt_assoc>
<item key="note">RSP Note: testing
second note</item>
<item key="timestamp">27-OCT-2007
11:15:05</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="note">RSP Note: testing
third note</item>
<item key="timestamp">27-OCT-2007
11:15:07</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key="master_order_id">0</item>
<item key="period">1</item>
<item key="cost">15</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
For a .DK domain order
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
173
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key='action'>get_order_info</item>
<item key='object'>domain</item>
<item key='attributes'>
<dt_assoc>
<item key='order_id'>607642</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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='is_success'>1</item>
<item key='response_text'>Command completed successfully</item>
<item key='attributes'>
<dt_assoc>
174
<item key='field_hash'>
<dt_assoc>
<item key='owner_last_name'>Jensen</item>
<item key='owner_org_name'>Example Co.</item>
<item key='owner_address2'/>
<item key='owner_address3'/>
<item key='owner_city'>Copenhagen V</item>
<item key='owner_state'/>
<item key='owner_postal_code'>1610</item>
<item key='owner_phone'>+1.33257400</item>
<item key='owner_fax'>+1.33257410</item>
<item key='owner_email'>djensen@example.dk</item>
<item key='admin_org_name'>Example Co.</item>
<item key='admin_first_name'>Katrin</item>
<item key='admin_last_name'>Jensen</item>
<item key='admin_address1'>Gammel Kongevej 1</item>
<item key='admin_address2'/>
<item key='admin_address3'/>
<item key='admin_city'>Copenhagen V</item>
<item key='admin_state'/>
<item key='admin_country'>DK</item>
<item key='admin_postal_code'>1610</item>
<item key='admin_phone'>+1.33257400</item>
<item key='admin_fax'>+1.33257410</item>
<item key='admin_email'>kjensen@example.dk</item>
<item key='billing_org_name'>Example Co.</item>
<item key='billing_first_name'>Sarah</item>
<item key='billing_last_name'>Jensen</item>
<item key='billing_address1'>Gammel Kongevej 1</item>
<item key='billing_address2'/>
<item key='billing_address3'/>
<item key='billing_city'>Copenhagen V</item>
<item key='billing_state'/>
<item key='billing_postal_code'>1610</item>
175
<item key='billing_country'>DK</item>
<item key='billing_phone'>+1.33257400</item>
<item key='billing_fax'>+1.33257410</item>
<item key='billing_email'>sjensen@example.dk</item>
<item key='tech_org_name'>Example Co.</item>
<item key='tech_first_name'>Eric</item>
<item key='tech_last_name'>Jensen</item>
<item key='tech_address1'>Gammel Kongevej 1</item>
<item key='tech_address2'/>
<item key='tech_address3'/>
<item key='tech_city'>Copenhagen V</item>
<item key='tech_state'/>
<item key='tech_postal_code'>1610</item>
<item key='tech_country'>DK</item>
<item key='tech_phone'>+1.33257400</item>
<item key='tech_fax'>+1.33257410</item>
<item key='tech_email'>ejensen@example.dk</item>
<item key='affiliate_id'>affiliatetest1</item>
<item key='domain'>qatest1380643516039.dk</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='registrant_type'>organization</item>
<item key='registrant_vat_id'>123456789</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='flag_saved_tech_fields'>1</item>
<item key='completed_date'>1380643717</item>
<item key='notes'>
<dt_array>
</dt_array>
176
</item>
<item key='reg_domain'/>
<item key='comments'/>
<item key='id'>607642</item>
<item key='cost'>15</item>
<item key='flag_saved_ns_fields'>1</item>
<item key='master_order_id'>0</item>
<item key='order_date'>1380643519</item>
<item key='f_auto_renew'>Y</item>
<item key='forwarding_email'/>
<item key='status'>completed</item>
<item key='fqdn1'>ns1.systemdns.com</item>
<item key='fqdn2'>ns2.systemdns.com</item>
<item key='fqdn3'/>
<item key='fqdn4'/>
<item key='fqdn5'/>
<item key='fqdn6'/>
<item key='reg_type'>new</item>
<item key='f_lock_domain'>0</item>
<item key='period'>1</item>
<item key='encoding_type'/>
<item key='processed_date'/>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
177
Example 3
For a .FR domain order
Request
<?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='action'>get_order_info</item>
<item key='object'>domain</item>
<item key='attributes'>
<dt_assoc>
<item key='order_id'>457700</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
178
<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'>Command completed successfully</item>
<item key='attributes'>
<dt_assoc>
<item key='field_hash'>
<dt_assoc>
<item key='domain'>example.fr</item>
<item key='owner_org_name'>Example GmbH</item>
<item key='owner_first_name'>Astrid</item>
<item key='owner_last_name'>Bauer</item>
<item key='owner_address1'>Klostergasse 10</item>
<item key='owner_address2'/>
<item key='owner_address3'/>
<item key='owner_city'>Innsbruck</item>
<item key='owner_state'>Tirol</item>
<item key='owner_postal_code'>6020</item>
<item key='owner_country'>AT</item>
<item key='owner_phone'>+43 512 5333 10</item>
<item key='owner_fax'>+43 512 5333 11</item>
<item key='owner_email'>astrid@example.com</item>
<item key='admin_first_name'>Franz</item>
<item key='admin_last_name'>Bauer</item>
<item key='admin_org_name'>Example GmbH</item>
<item key='admin_address1'>Klostergasse 10</item>
<item key='admin_address2'/>
<item key='admin_address3'/>
<item key='admin_city'>Innsbruck</item>
<item key='admin_state'>Tirol</item>
<item key='admin_postal_code'>6020</item>
179
<item key='admin_country'>AT</item>
<item key='admin_phone'>+1.4165350125</item>
<item key='admin_fax'>+1.4165350124</item>
<item key='admin_email'>franz@example.com</item>
<item key='billing_first_name'/>
<item key='billing_last_name'/>
<item key='billing_org_name'/>
<item key='billing_address1'/>
<item key='billing_address2'/>
<item key='billing_address3'/>
<item key='billing_city'/>
<item key='billing_state'/>
<item key='billing_postal_code'/>
<item key='billing_country'/>
<item key='billing_phone'/>
<item key='billing_fax'/>
<item key='billing_email'/>
<item key='tech_first_name'>Jorg</item>
<item key='tech_last_name'>Bauer</item>
<item key='tech_org_name'>Example GmbH</item>
<item key='tech_address1'>Klostergasse 10</item>
<item key='tech_address2'/>
<item key='tech_address3'/>
<item key='tech_city'>Innsbruck</item>
<item key='tech_state'>Tirol</item>
<item key='tech_country'>AT</item>
<item key='tech_postal_code'>6020</item>
<item key='tech_phone'>+1.4165350125</item>
<item key='tech_fax'>+1.4165350124</item>
<item key='tech_email'>jorg@example.com</item>
<item key='processed_date'/>
<item key='fqdn1'>ns1.systemdns.com</item>
<item key='fqdn2'>ns2.systemdns.com</item>
<item key='fqdn3'/>
180
<item key='fqdn4'/>
<item key='fqdn5'/>
<item key='fqdn6'/>
<item key='period'>1</item>
<item key='encoding_type'/>
<item key='affiliate_id'/>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='registrant_type'>individual</item>
<item key='date_of_birth'>1989-03-03</item>
<item key='country_of_birth'>FR</item>
<item key='postal_code_of_birth'>75008</item>
<item key='place_of_birth'>Paris</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='flag_saved_tech_fields'>1</item>
<item key='completed_date'>1329504888</item>
<item key='notes'>
<dt_array>
</dt_array>
</item>
<item key='reg_domain'/>
<item key='comments'/>
<item key='id'>457700</item>
<item key='cost'>15</item>
<item key='flag_saved_ns_fields'>1</item>
<item key='master_order_id'>0</item>
<item key='order_date'>1329504872</item>
<item key='f_auto_renew'>Y</item>
<item key='forwarding_email'/>
181
<item key='status'>completed</item>
<item key='reg_type'>new</item>
<item key='f_lock_domain'>0</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 4
For a .RE domain order
Request
<?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">get_order_info</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="order_id">16732959</item>
</dt_assoc>
</item>
</dt_assoc>
182
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Command completed successfully</item>
<item key='attributes'>
<dt_assoc>
<item key='field_hash'>
<dt_assoc>
<item key='owner_first_name'>Henrie</item>
<item key='owner_last_name'>LaFleur</item>
<item key='owner_org_name'>French Impressions</item>
<item key='owner_address1'>13 Rue Daze</item>
<item key='owner_address2'/>
<item key='owner_address3'/>
<item key='owner_city'>Paris</item>
<item key='owner_state'/>
<item key='owner_postal_code'>75002</item>
<item key='owner_country'>FR</item>
183
<item key='owner_phone'>+1.3365551212</item>
<item key='owner_fax'>>+1.3365550124</item>
<item key='owner_email'>lafleur@example.com</item>
<item key='admin_first_name'>Marie</item>
<item key='admin_last_name'>LaFleur</item>
<item key='admin_org_name'>French Impressions</item>
<item key='admin_address1'>13 Rue Daze</item>
<item key='admin_address2'/>A
<item key='admin_address3'/>
<item key='admin_city'>Paris</item>
<item key='admin_state'/>
<item key='admin_postal_code'>75002</item>
<item key='admin_country'>FR</item>
<item key='admin_email'>marie@example.com</item>
<item key='admin_phone'>>+1.3365551213</item>
<item key='admin_fax'>>+1.3365550125</item>
<item key='billing_first_name'/>
<item key='billing_last_name'/>
<item key='billing_org_name'/>
<item key='billing_address1'/>
<item key='billing_address2'/>
<item key='billing_address3'/>
<item key='billing_city'/>
<item key='billing_state'/>
<item key='billing_postal_code'/>
<item key='billing_country'/>
<item key='billing_phone'/>
<item key='billing_fax'/>
<item key='billing_email'/>
<item key='tech_first_name'>Pierre</item>
<item key='tech_last_name'>Richard</item>
<item key='tech_org_name'>French Impressions</item>
<item key='tech_address1'>13 Rue Daze</item>
<item key='tech_address2'/>
184
<item key='tech_address3'/>
<item key='tech_city'>Paris</item>
<item key='tech_state'/>
<item key='tech_postal_code'>75002</item>
<item key='tech_country'>FR</item>
<item key='tech_phone'>+1.3365551215</item>
<item key='tech_fax'>+1.3365550125</item>
<item key='tech_email'>pierre@example.com</item>
<item key='processed_date'/>
<item key='period'>1</item>
<item key='encoding_type'/>
<item key='affiliate_id'/>
<item key='domain'>example.re</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='registrant_type'>individual</item>
<item key='date_of_birth'>1976-08-05</item>
<item key='country_of_birth'>FR</item>
<item key='postal_code_of_birth'>33023</item>
<item key='place_of_birth'>Bordeaux</item>
<item key='province_of_birth'>Gironde</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='flag_saved_tech_fields'>1</item>
<item key='completed_date'>1341517755</item>
<item key='notes'>
<dt_array>
</dt_array>
</item>
<item key='reg_domain'/>
185
<item key='fqdn1'>ns1.systemdns.com</item>
<item key='fqdn2'>ns2.systemdns.com</item>
<item key='fqdn3'>ns3.systemdns.com</item>
<item key='fqdn4'/>
<item key='fqdn5'/>
<item key='fqdn6'/>
<item key='comments'/>
<item key='id'>485395</item>
<item key='cost'>50</item>
<item key='flag_saved_ns_fields'>1</item>
<item key='master_order_id'>0</item>
<item key='order_date'>1341517725</item>
<item key='f_auto_renew'>Y</item>
<item key='forwarding_email'/>
<item key='status'>completed</item>
<item key='reg_type'>new</item>
<item key='f_lock_domain'>1</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 5
For a .XXX order
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
186
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">get_order_info</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="order_id">457626</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Command completed successfully</item>
187
<item key='attributes'>
<dt_assoc>
<item key='field_hash'>
<dt_assoc>
<item key='owner_org_name'>Example Inc.</item>
<item key='owner_first_name'>Owen</item>
<item key='owner_last_name'>Ottway</item>
<item key='owner_address1'>32 Oak St.</item>
<item key='owner_address2'>Suite 500</item>
<item key='owner_address3'/>
<item key='owner_city'>Santa Clara</item>
<item key='owner_state'>CA</item>
<item key='owner_postal_code'>90210</item>
<item key='owner_country'>US</item>
<item key='owner_email'>owner@example.com</item>
<item key='owner_phone'>+1.4165550123x1902</item>
<item key='owner_fax'>+1.4165350124</item>
<item key='admin_org_name'>Example Inc.</item>
<item key='admin_first_name'>Adler</item>
<item key='admin_last_name'>Adams</item>
<item key='admin_address1'>32 Oak St.</item>
<item key='admin_address2'>Suite 100</item>
<item key='admin_address3'/>
<item key='admin_city'>Santa Clara</item>
<item key='admin_state'>CA</item>
<item key='admin_postal_code'>90210</item>
<item key='admin_country'>US</item>
<item key='admin_phone'>+1.4165550123x1812</item>
<item key='admin_fax'>+1.4165350124</item>
<item key='admin_email'>admin@example.com</item>
<item key='billing_first_name'>Bill</item>
<item key='billing_last_name'>Burton</item>
<item key='billing_org_name'>Example Inc.</item>
<item key='billing_address1'>32 Oak St.</item>
188
189
<item key='ipr_data'>
<dt_assoc>
<item key='ipr_name'>Owen Ottway</item>
<item key='ipr_email'>ottway@example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='notes'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='timestamp'>15-FEB-2012
18:08:50</item>
<item key='note'>Domain lock enabled</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key='reg_domain'/>
<item key='fqdn3'/>
<item key='fqdn5'/>
<item key='comments'/>
<item key='id'>315169</item>
<item key='ipr_registration_date'>2011-01-01</item>
<item key='cost'>85</item>
<item key='flag_saved_ns_fields'>1</item>
<item key='application_status'>processed</item>
<item key='master_order_id'>0</item>
<item key='order_date'>1314713193</item>
<item key='f_auto_renew'>Y</item>
<item key='forwarding_email'/>
<item key='status'>completed</item>
<item key='fqdn6'/>
190
<item key='reg_type'>sunrise</item>
<item key='fqdn1'>ns1.systemdns.com</item>
<item key='tech_country'>CA</item>
<item key='f_lock_domain'>1</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
191
get_orders_by_domain
Description
Action & object
action = get_orders_by_domain
object = domain
Usage
Retrieves information about orders placed for a specific domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
limit
Optional
order_from
Optional
order_to
Optional
page
Optional
192
Parameter
name
Obligation
Definition/Value
status
Optional
type
Optional
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
orders
Required
page_size
Required
Orders
Parameters within the orders associative array are described below.
Parameter
name
Obligation
Definition/Value
id
Required
order_date
Required
193
Parameter
name
Obligation
Definition/Value
status
Optional
type
Required
194
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successful</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="page_size">100</item>
<item key="orders">
<dt_array>
<item key="0">
<dt_assoc>
<item key="order_date">16-OCT-2007 15:21:26</item>
<item key="status">pending</item>
<item key="type">new</item>
<item key="id">103789</item>
</dt_assoc>
</item>
195
<item key="1">
<dt_assoc>
<item key="order_date">16-OCT-2007 15:21:23</item>
<item key="status">pending</item>
<item key="type">new</item>
<item key="id">103788</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
196
get_price
Description
Action & object
action = get_price
object = domain
Usage
Queries the price of a domain, and can be used to determine the cost of a
billable transaction for any TLD. A returned price for a given domain does not
guarantee the availability of the domain, but indicates that the requested
action is supported by the system and calculates the cost to register the
domain (if available).
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
period
Optional
reg_type
Optional
197
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
price
Required
198
<item key="domain">example.com</item>
<item key="period">1</item>
<item key="reg_type">new</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="price">20.2</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
199
get_registrant_verification_status
Description
Action & object
action =get_registrant_verification_status
object = domain
Usage
When a domain is registered or transferred, or when the registrant contact
information is changed, the registrant must reply to an email requesting
them to confirm that the submitted contact information is correct. This
command returns the current state of the verification request.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition / Value
domain
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
days_to_suspend Returned if
The number of days remaining until the domain is
is_success = suspended if the registrant information is not
true
validated. If the domain has already been
suspended, this value will be a negative number.
If the domain has been verified, the value
returned is 0.
Note: This parameter is returned only if the value
for registrant_verification_status is pending,
verifying, suspended, or admin_reviewing.
email_bounced
Returned if
Returns 1 if the verification email was triggered
is_success = because the WDRP or the renewal notice bounced.
true
registrant_
verification_
status
Returned if
The current status of the verification.
is_success = Allowed values are:
true
admin_reviewingThe registrant data
has been submitted and is being validated
manually by the Tucows Compliance team
verification_
deadline
Returned if
The date when the name will be suspended.
is_success = Note: This parameter is returned only if the value
true
for registrant_verification_status is pending,
verifying, suspended, or admin_reviewing.
201
Response
<?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>
202
<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">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="registrant_verification_status">suspended</item>
<item key="verification_deadline">2013-12-02 00:00:00</item>
<item key="days_to_suspend">2</item>
<item key="email_bounced">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
203
lookup (domain)
Description
Action & object
action = lookup
object = domain
Usage
Determines the availability of a specified domain name.
Note: This command checks the availability of a single domain name. We
recommend that you use the much more robust name_suggest API instead.
In addition to checking the specified domain name, the name_suggest API
also checks whether the domain name is available in other TLDs (.COM,
.NET, .ORG, .INFO, and .BIZ), and it returns a list of suggested domains
names that are related to the specified name.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
no_cache
Optional
204
Deprecated
Parameter
name
Obligation
Definition/Value
pre_reg
Deprecated
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
email_available
Optional
noservice
Required only
for .NAME
1supplier unavailable
Required
205
Parameter
name
Obligation
Definition/Value
status
Required
206
Response
If domain is available
<?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">210</item>
<item key="response_text">Domain available</item>
<item key="attributes">
<dt_assoc>
<item key="status">available</item>
<item key="email_available">undef</item>
<item key="price_status">undef</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
If domain is unavailable
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
207
<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">211</item>
<item key="response_text">Domain taken</item>
<item key="attributes">
<dt_assoc>
<item key="status">taken</item>
<item key="email_available">undef</item>
<item key="price_status">undef</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
208
name_suggest (domain)
Description
Action & object
action = name_suggest
object = domain
Usage
Checks whether a specified name, word, or phrase is available for
registration in gTLDs and ccTLDs, suggests other similar domain names for
.COM, .NET, .ORG, .INFO, .BIZ, .US, and .MOBI domains, and checks
whether they are available. Reseller must be enabled for the specified TLDs.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
languages
Optional
enEnglish
frFrench
deGerman
itItalian
esSpanish
209
Parameter name
Obligation
Definition/Value
in that language.
max_wait_time
Optional
search_key
Optional
searchstring
Required
210
Parameter name
Obligation
Definition/Value
service_override
Optional
services
skip_registry_lookup
Optional
Optional
lookupCheck availability.
suggestionRequest suggestions.
personal_namesCheck the
availability of the specified personal
name, (firstname lastname).
Optional
tlds
Required
211
Parameter name
Obligation
Definition/Value
.ORG, .INFO, .BIZ, .US, and .MOBI.
212
Service_Override
Parameters within the service_override associative array are described
below.
Parameter
name
Obligation
Definition/Value
lookup
Optional
personal_names
Optional
premium
Optional
suggestion
Optional
Obligation
Definition/Value
maximum
Optional
price_max
213
Parameter
name
Obligation
Definition/Value
price_min
tlds
Required
Lookup
The following parameter may be used in the lookup associative array:
Parameter
name
Obligation
Definition/Value
no_cache_tlds
Optional
request
214
attributes
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
is_search_completed
Required
lookup
Optional
personal_names
Optional
premium
Optional
search_key
Returned if
A key that is returned if the
is_search_compl name_suggest command did not return
eted = 0
complete results during the specified
max_wait_time.
The command continues to run in the
background, and you can resubmit the
command with the search_key to see
more results.
215
Parameter name
Obligation
Definition/Value
suggestion
Optional
Obligation
Definition/Value
count
Required
items
Required
Items
Parameters within the items associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
price
Optional
status
Required
undeterminedReturned if
skip_registry_lookup = 1 in the request, or
if the registry could not be contacted.
216
Parameter
name
Obligation
Definition/Value
the allowed time. The command continues to
run in the background, and you can resubmit
the command with the search_key to see
more results.
vendor
Optional
Request
For lookup, suggestion, premium, and personal names with suggestion
limited to .COM, .NET, and .ORG, in English, German, Italian, and Spanish.
<?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'>name_suggest</item>
<item key='object'>domain</item>
<item key='attributes'>
<dt_assoc>
<item key='services'>
<dt_array>
<item key='0'>lookup</item>
<item key='1'>suggestion</item>
<item key='2'>premium</item>
217
<item key='3'>personal_names</item>
</dt_array>
</item>
<item key='searchstring'>search string</item>
<item key='languages'>
<dt_array>
<item key='0'>en</item>
<item key='1'>de</item>
<item key='2'>it</item>
<item key='3'>es</item>
</dt_array>
</item>
<item key='tlds'>
<dt_array>
<item key='0'>.com</item>
<item key='1'>.net</item>
<item key='2'>.org</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
218
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>REPLY</item>
<item key='response_text'>Command completed successfully</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='attributes'>
<dt_assoc>
<item key='lookup'>
<dt_assoc>
<item key='count'>6</item>
<item key='response_text'>Command completed
successfully.</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>searchstring.com</item>
<item key='status'>taken</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='domain'>searchstring.net</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='2'>
<dt_assoc>
<item key='domain'>searchstring.org</item>
<item key='status'>available</item>
219
</dt_assoc>
</item>
<item key='3'>
<dt_assoc>
<item key='domain'>search-string.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='personal_names'>
<dt_assoc>
<item key='count'>6</item>
<item key='response_text'>Command completed
successfully.</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>search.stringham.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='domain'>search.stringhini.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
220
<item key='2'>
<dt_assoc>
<item
key='domain'>search.stringfield.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='3'>
<dt_assoc>
<item key='domain'>search.stringer.net</item>
<item key='status'>available</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='premium'>
<dt_assoc>
<item key='count'>20</item>
<item key='response_text'>Command Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>badmintonstring.com</item>
<item key='status'>available</item>
<item key='price'>1349.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
221
<item key='1'>
<dt_assoc>
<item key='domain'>cheapstring.com</item>
<item key='status'>available</item>
<item key='price'>1549.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
<item key='2'>
<dt_assoc>
<item key='domain'>elasticstring.com</item>
<item key='status'>available</item>
<item key='price'>1399.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
<item key='3'>
<dt_assoc>
<item key='domain'>findcordblood.com</item>
<item key='status'>available</item>
<item key='price'>1688.00</item>
<item key='vendor'>buydomains</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='suggestion'>
<dt_assoc>
<item key='count'>50</item>
<item key='response_text'>Command Successful</item>
<item key='response_code'>200</item>
222
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item
key='domain'>amazonsearchstring.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item
key='domain'>archivesearchstring.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='2'>
<dt_assoc>
<item key='domain'>briefsearchstring.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
...
<item key='49'>
<dt_assoc>
<item key='domain'>search-string.org</item>
<item key='status'>available</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
223
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
For both lookup and suggestion with lookups limited to .COM and .INFO,
querying the registry (not OpenSRS cache) for .COM lookups, suggestions
limited to .COM and .ORG, and maximum 25 suggestions returned.
<?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">name_suggest</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="searchstring">example@search.com</item>
<item key="service_override">
<dt_assoc>
<item key="suggestion">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
<item key="1">.org</item>
</dt_array>
224
</item>
<item key="maximum">25</item>
</dt_assoc>
</item>
<item key="lookup">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
<item key="1">.info</item>
</dt_array>
</item>
<item key = "no_cache_tlds">
<dt_array>
<item key="0">.com</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="services">
<dt_array>
<item key="0">lookup</item>
<item key="1">suggestion</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
225
Response
<?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="response_text">Command completed
successfully</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="lookup">
<dt_assoc>
<item key="count">8</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
search.com</item>
226
<dt_assoc>
<item key="domain">example-
search.info</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item
key="domain">example.com</item>
<item key="status">taken</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key="suggestion">
<dt_assoc>
<item key="count">25</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item
key="domain">modelhunt.org</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
227
<item
key="domain">modelfind.org</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
key="domain">problemfind.org</item>
<item
<item key="status">available</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
For premium domains, limited to .COM and .NET.
<?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>
228
<item key='protocol'>XCP</item>
<item key='action'>name_suggest</item>
<item key='object'>domain</item>
<item key='attributes'>
<dt_assoc>
<item key='searchstring'>abc&d !</item>
<item key='service_override'>
<dt_assoc>
<item key='premium'>
<dt_assoc>
<item key='tlds'>
<dt_array>
<item key='0'>.com</item>
<item key='1'>.net</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='services'>
<dt_array>
<item key='0'>premium</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
229
Response
<?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="is_success">1</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="premium">
<dt_assoc>
<item key="count">4</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
d.com</item>
230
<item key="1">
<dt_assoc>
<item
key="domain">abcandd.com</item>
<item key="status">available</item>
<item key="price">499.98</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item
key="domain">abcandd.net</item>
<item key="status">available</item>
<item key="price">99.78</item>
</dt_assoc>
</item>
<item key="3">
<dt_assoc>
<item key="domain">abcd.com</item>
<item key="status">available</item>
<item key="price">1523.45</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
231
Request
For premium, lookup, and suggestion, limited to .COM, maximum 10
suggestions returned.
<?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">name_suggest</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="service_override">
<dt_assoc>
<item key="premium">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
</dt_array>
</item>
</dt_assoc>
</item>
<item key="suggestion">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
</dt_array>
232
</item>
<item key="maximum">10</item>
</dt_assoc>
</item>
<item key="lookup">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="services">
<dt_array>
<item key="0">lookup</item>
<item key="1">suggestion</item>
<item key="2">premium</item>
</dt_array>
</item>
<item key="searchstring">abc&d</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
233
Response
<?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="response_text">Command completed
successfully</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="lookup">
<dt_assoc>
<item key="count">2</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item key="domain">abc-d.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
234
<item key="domain">abcd.com</item>
<item key="status">taken</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
<item key="premium">
<dt_assoc>
<item key="count">3</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item key="domain">abc-andd.com</item>
<item key="status">available</item>
<item key="price">299.98</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="domain">abcandd.com</item>
<item key="status">available</item>
<item key="price">499.98</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="domain">abcd.com</item>
235
<item key="status">available</item>
<item key="price">1523.45</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
<item key="suggestion">
<dt_assoc>
<item key="count">10</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item
key="domain">abcdlive.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="domain">abcdpro.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item
key="domain">abcdslive.com</item>
<item key="status">available</item>
236
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
For lookup and suggestion, limited to .COM, not checking the availability of
the lookup domain, maximum 10 suggestions returned.
<?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">name_suggest</item>
<item key="object">domain</item>
<item key="attributes">
<item key="services">
<dt_array>
<item key="0">lookup</item>
<item key="1">suggestion</item>
237
</dt_array>
</item>
<dt_assoc>
<item key="searchstring">smith</item>
<item key="skip_registry_lookup">1</item>
<item key="service_override">
<dt_assoc>
<item key="suggestion">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
</dt_array>
</item>
<item key="maximum">10</item>
</dt_assoc>
</item>
<item key="lookup">
<dt_assoc>
<item key="tlds">
<dt_array>
<item key="0">.com</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
238
Response
<?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="response_text">Command completed
successfully</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="lookup">
<dt_assoc>
<item key="count">1</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item key="domain">smith.com</item>
<item
key="status">undetermined</item>
</dt_assoc>
</item>
</dt_array>
239
</item>
</dt_assoc>
</item>
<item key="suggestion">
<dt_assoc>
<item key="count">10</item>
<item key="response_text"/>
<item key="response_code">0</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item key="domain">smith-
mail.com</item>
<item key="status">taken</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="domain">smithfamily.com</item>
<item key="status">taken</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
key="domain">smithslive.com</item>
<item
<item key="status">taken</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
240
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
For lookup, suggestion, premium, and personal names with suggestion
limited to .COM, .NET, .ORG, and .IN, in English, German, Italian, and
Spanish, with the command run time limited to 0.4 seconds.
<?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'>name_suggest</item>
<item key='object'>domain</item>
<item key='attributes'>
<dt_assoc>
<item key='searchstring'>search string</item>
<item key='max_wait_time'>0.4</item>
<item key='languages'>
<dt_array>
<item key='0'>en</item>
<item key='1'>de</item>
<item key='2'>it</item>
<item key='3'>es</item>
241
</dt_array>
</item>
<item key='tlds'>
<dt_array>
<item key='0'>.com</item>
<item key='1'>.net</item>
<item key='2'>.org</item>
<item key='3'>.in</item>
</dt_array>
</item>
<item key='services'>
<dt_array>
<item key='0'>lookup</item>
<item key='1'>suggestion</item>
<item key='2'>premium</item>
<item key='3'>personal_names</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
The results were in the specified time; however, not all lookup results are
complete. Premium name results were returned but suggestion and personal
names could not be returned in the specified time. The returned unique_key
allows you to resubmit the command.
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
242
</header>
<body>
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>REPLY</item>
<item key='response_text'>Command completed successfully</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='is_search_completed'>0</item>
<item key='search_key'>vgL2FeBzZ8JuS5lIluIEYhDc7Vg</item>
<item key='attributes'>
<dt_assoc>
<item key='lookup'>
<dt_assoc>
<item key='count'>84</item>
<item key='response_text'>Command completed
successfully.</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>searchstring.com</item>
<item key='status'>taken</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='domain'>searchstring.net</item>
<item key='status'>available</item>
</dt_assoc>
</item>
243
<item key='2'>
<dt_assoc>
<item key='domain'>searchstring.org</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='3'>
<dt_assoc>
<item key='domain'>searchstring.in</item>
<item key='status'>undetermined</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='premium'>
<dt_assoc>
<item key='count'>20</item>
<item key='response_text'>Command Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>badmintonstring.com</item>
<item key='status'>available</item>
<item key='price'>1349.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
<item key='1'>
244
<dt_assoc>
<item key='domain'>cheapstring.com</item>
<item key='status'>available</item>
<item key='price'>1549.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
<item key='2'>
<dt_assoc>
<item key='domain'>elasticstring.com</item>
<item key='status'>available</item>
<item key='price'>13998.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
Resubmits the previously run name_suggest command which did not return
complete lookup results during the specified max_wait_time. The command
can run for a maximum of 0.7 seconds.
<?xml version=1.0 encoding=UTF-8 standalone=no ?>
<!DOCTYPE OPS_envelope SYSTEM ops.dtd>
<OPS_envelope>
<header>
245
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>name_suggest</item>
<item key='object'>DOMAIN</item>
<item key='attributes'>
<dt_assoc>
<item key='search_key'>vgL2FeBzZ8JuS5lIluIEYhDc7Vg</item>
<item key='max_wait_time'>0.7</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
Complete results for lookup are returned as well as results for suggestion,
premium, and personal names.
<?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='response_text'>Command completed successfully</item>
246
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='is_search_completed'>1</item>
<item key='attributes'>
<dt_assoc>
<item key='lookup'>
<dt_assoc>
<item key='count'>84</item>
<item key='response_text'>Command completed
successfully.</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>searchstring.com</item>
<item key='status'>taken</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='domain'>searchstring.net</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='2'>
<dt_assoc>
<item key='domain'>searchstring.org</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='3'>
<dt_assoc>
247
<item key='domain'>searchstring.in</item>
<item key='status'>undetermined</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='premium'>
<dt_assoc>
<item key='count'>20</item>
<item key='response_text'>Command Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>badmintonstring.com</item>
<item key='status'>available</item>
<item key='price'>1349.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='domain'>cheapstring.com</item>
<item key='status'>available</item>
<item key='price'>1549.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
<item key='2'>
248
<dt_assoc>
<item key='domain'>elasticstring.com</item>
<item key='status'>available</item>
<item key='price'>13998.00</item>
<item key='vendor'>fabulous</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='personal_names'>
<dt_assoc>
<item key='count'>6</item>
<item key='response_text'>Command completed
successfully.</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='domain'>search.stringham.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='domain'>search.stringhini.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='2'>
249
<dt_assoc>
<item
key='domain'>search.stringfield.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
<item key='suggestion'>
<dt_assoc>
<item key='count'>50</item>
<item key='response_text'>Command Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='items'>
<dt_array>
<item key='0'>
<dt_assoc>
<item
key='domain'>amazonsearchstring.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item
key='domain'>archivesearchstring.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
<item key='2'>
<dt_assoc>
250
<item key='domain'>briefsearchstring.com</item>
<item key='status'>available</item>
</dt_assoc>
</item>
...
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
251
Provisioning Commands
This section contains the following commands:
activate (domain)Activates a parked .DE domain.
cancel_active_processDeprecated. Cancels an active .CA order.
cancel_pending_ordersCancels pending or declined orders.
modify (domain)Changes information associated with a domain.
process_pendingProcesses or cancels pending orders.
query_queued_requestQueries the status of a queued request.
redeem (domain)Redeems a .COM, .NET, .CA, .IT, or .NL domain
that has expired but is within the redemption grace period.
renew (domain)Renews a domain.
revoke (domain)Removes the domain at the registry.
send_CIRA_approval_emailDeprecated. Resends CIRA registration
approval email.
send_registrant_verification_emailSends or resends the verification
email to the registrant.
sw_register (domain)Submits a new registration or transfer order.
update_contactsSubmits a domain-contact information update to the
system.
252
Provisioning Commands
activate (domain)
Description
Action & object
action = activate
object = domain
Usage
Activates a parked .DE domain. The .DE registry requires a domain to be
parked on a valid nameserver. The domain can be parked prior to the
registration, or within thirty days of the successful registration. Use this
command within thirty days of registering the domain and after you park the
domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
domainname
Required
request
253
Provisioning Commands
Response
<?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>
254
Provisioning Commands
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>REPLY</item>
<item key='object'>DOMAIN</item>
<item key='is_success'>0</item>
<item key='response_code'>437</item>
<item key='response_text'>A request is currently waiting on
this domain</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
255
Provisioning Commands
Usage
Cancels an active .CA order. This command is useful if you have placed a .CA
order and subsequently cancelled it, or were unable to confirm the order with
CIRA, but the system has not yet been updated and still shows the order as
active. In such a situation, you cannot resubmit a revised order for the
same .CA domain until the original .CA order is cancelled. You can either wait
for the system to be updated with CIRA's records, or you can cancel the
order using this command. The cancel .CA order functionality is also available
in the Reseller Web Interface (RWI).
Note: The system synchronizes with CIRA once a day, during non-business
hours, EST, including weekends.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
order_id
256
Provisioning Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
257
Provisioning Commands
Response
<?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">Cancellation successful</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
258
Provisioning Commands
cancel_pending_orders
Description
Action & object
action = cancel_pending_orders
object = order
Usage
Cancels orders with a status of pending or declined.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
status
Optional
to_date
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
attributes
259
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
cancelled
Required
total
Required
Cancelled
Parameters within the cancelled associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
id
Required
reg_type
Required
260
Provisioning Commands
<item key="attributes">
<dt_assoc>
<item key="to_date">1115228160</item>
<item key="status">
<dt_array>
<item key="0">declined</item>
<item key="1">pending</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">ORDER</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="total">2</item>
<item key="cancelled">
261
Provisioning Commands
<dt_array>
<item key="0">
<dt_assoc>
<item key="reg_type">new</item>
<item key="id">5261</item>
<item key="domain">example.de</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="reg_type">transfer</item>
<item key="id">5530</item>
<item key="domain">example.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
262
Provisioning Commands
modify (domain)
Description
Action & object
action = modify
object = domain
Usage
Changes information associated with a domain, such as contact info. The
action request message is different depending on the type of modification
being made, and is shown separately for each type.
This command also allows you to set an auto-renew flag for the domain from
which you logged in. If you are using the affected_domains option, you can
set the renewal action flags for all domains in the user's profile.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
affect_domains
Required
data
Required
263
Provisioning Commands
Parameter
name
Obligation
Definition/Value
representatives, and Aboriginal peoples.
change_ips_tag For transfers of .UK
domains between registrars. The domain's
domain tag must be changed to that of the
gaining registrar in order to transfer a .UK
domain.
cira_registrantUsed to change the owner
of a .CA domain.
Warning: When you include the
cira_registrant parameter, you transfer the
ownership of a domain to the specified contact.
contact_info For contact information
changes.
264
Provisioning Commands
Parameter
name
Obligation
Definition/Value
to individuals (not available to organizations).
When activated, the individual's personal
information is not returned with the WHOIS for
their .UK domain.
whois_privacy_state Used to enable or
disable WHOIS Privacy.
nameserver_list Deprecated. Use the
advanced_update_nameservers command
instead.
auto_renew Deprecated. Use the
expire_action value instead.
domain
Required if
cookie is not
submitted
tld_data
Required for
changes to
tld_data
values for
.ASIA, .AU,
.COOP,
.JOBS, .LV,
.MX, .PRO,
.RO, .US, ZA;
optional for
.XXX
registrant_extra_infoIndustry
requirements for .JOBS domain.
265
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
display
Required
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
change_tag_all
Optional
domain
Required
gaining_registrar_tag
Required
rsp_override
Optional
266
Provisioning Commands
Parameter name
Obligation
Definition/Value
User's Domain Tag change settings
Attributes
Parameters within the attributes associative array are described below.
Parameter Obligation
name
Definition/Value
address1
Optional
address2
Optional
address3
Optional
city
Optional
country
Optional
Optional
fax
Optional
first_name
Required
lang
Optional
last_name
Required
legal_type
Required
ENEnglish
FRFrench
ABOAboriginal
267
Provisioning Commands
Parameter Obligation
name
Definition/Value
ASSAssociation
CCOCanadian Corporation
CCTCanadian Citizen
GOVGovernment
HOPHospital
INBIndian Band
LGRLegal Representative
PLTPolitical Party
PRTPartnership
RESPermanent Resident
TDMTrademark Owner
TRDTrade Union
TRSTrust
org_name
Optional for
individuals
phone
Optional
postal_code
Optional
Maximum 16 characters.
state
Optional
ABAlberta
BCBritish Columbia
MBManitoba
NBNew Brunswick
NTNorthwest Territories
NSNova Scotia
NUNunavut
ONOntario
QCQuebec
SKSaskatchewan
YTYukon
268
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
contact_set
Required
admin
billing
owner
Note: The owner contact for .IT domains
requires three additional parameters:
entity_type, nationality_code, and
reg_code. For information about these
parameters, see .IT registrations.
tech
Required
Organization name.
report_email
Optional
Contact_Set
You can submit different contact information for each contact type, or you
can use the also_apply_to parameter to apply the changes to other contact
types.
Parameters within the contact_set associative array are described below.
Parameter
name
Obligation
Definition/Value
also_apply_to
Optional
269
Provisioning Commands
Parameter
name
Obligation
Definition/Value
tech types as well, use:
also_apply_to => ['owner', 'tech']
If only one contact type is specified and
also_apply_to is empty, update only that contact
type.
If also_apply_to is specified, but the complete
contact set for the contact types in also_apply_to
is also submitted, the complete contact set is used,
and also_apply_to is ignored.
Allowed values are:
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
domain_auth_info
Required
270
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
auto_renew
Required
let_expire
1Set to auto-renew.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
forwarding_email
Required
271
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
state
Required
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
all
Required
affect_domains
flag
Required
Required
272
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
Domain
Required if
cookie is not
submitted
lock_state
Required
0Unlocked
1Locked
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
reg_type
uk_affect_domains
uk_whois_opt
Required
Optional
Required
INDIndividual
FINDForeign Individual
273
Provisioning Commands
Parameter name Obligation
Definition/Value
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
affect_domains
Required
report_email
Optional
state
Required
request
response_code = response code indicating outcome of the request
274
Provisioning Commands
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
details
Required
encoding_type
Optional
response_code
Required
response_text
Required
waiting_requests_no
Required
Deprecated
Parameter
name
Obligation
Definition/Value
waiting_request
Deprecated
Replaced by waiting_requests_no.
275
Provisioning Commands
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
276
Provisioning Commands
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">DOMAIN</item>
<item key="response_text">OK</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
277
Provisioning Commands
<item key="gaining_registrar_tag">q1q1</item>
<item key="change_tag_all">0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successfully
completed.</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
278
Provisioning Commands
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">MODIFY</item>
<item key="object">DOMAIN</item>
<item key="cookie">sDYKUWhe8vdtc2iB:682913:27858</item>
<item key="attributes">
<dt_assoc>
<item key="data">cira_registrant</item>
<item key="first_name">Pierre</item>
<item key="last_name">Lalonde</item>
<item key="org_name">Example Inc.</item>
<item key="address1">32 Oak St.</item>
<item key="address2">Suite 100</item>
<item key="address3"/>
<item key="city">Toronto</item>
<item key="state">ON</item>
<item key="postal_code">M1M 1M1</item>
<item key="country">CA</item>
<item key="legal_type">CCT</item>
<item key="email">plalonde@example.com</item>
<item key="phone">+1.4165551212x1234</item>
<item key="fax">+1.4165551024</item>
<item key="lang">FR</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
279
Provisioning Commands
Response
<?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">OK</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?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>
280
Provisioning Commands
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">MODIFY</item>
<item key="object">DOMAIN</item>
<item key="cookie">2121:1212</item>
<item key="registrant_ip">111.121.121.11</item>
<item key="attributes">
<dt_assoc>
<item key="data">contact_info</item>
<item key="affect_domains">0</item>
<item key="contact_set">
<dt_assoc>
<item key="also_apply_to">
<dt_array>
<item key="0">owner</item>
<item key="1">billing</item>
</dt_array>
</item>
<item key="admin">
<dt_assoc>
<item key="first_name">Adler</item>
<item key="last_name">Adams</item>
<item key="org_name">Example Inc.</item>
<item key="address1">32 Oak St.</item>
<item key="address2">Suite 100</item>
<item key="address3"/>
<item key="city">Santa Clara</item>
<item key="state">CA</item>
<item key="postal_code">90210</item>
<item key="country">US</item>
<item
key="phone">+1.7075551212x1812</item>
<item key="fax">+1.7075553123</item>
<item key="email">adams@example.com</item>
<item
key="url">http://www.example.com</item>
</dt_assoc>
281
Provisioning Commands
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Modification(s) successful</item>
<item key="attributes">
<dt_assoc>
<item key="details">
<dt_assoc>
<item key="example.com">
<dt_assoc>
<item key="response_text">Contact
modification successful</item>
<item key="response_code">200</item>
</dt_assoc>
282
Provisioning Commands
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
In this example, admin and tech contact information is changed for a .CA
domain.
Note: For .CA domains when data = contact_info, instead of address1,
address2, and address3, you can specify these address attributes:
addr_office, addr_address_number, addr_street_name,
addr_street_cat, and addr_orientation.
Request
<?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">MODIFY</item>
<item key="object">DOMAIN</item>
<item key="cookie">853675384:13254444</item>
<item key="registrant_ip">72.53.78.221</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains">0</item>
<item key="contact_set">
283
Provisioning Commands
<dt_assoc>
<item key="admin">
<dt_assoc>
<item key="org_name">Example Co.</item>
<item key="first_name">Adler</item>
<item key="last_name">Adams</item>
<item key="ddress1">32 Oak Street</item>
<item key="address2">Suite 100</item>
<item key="address3"/>
<item key="city">Saskatoon</item>
<item key="state">SK</item>
<item key="country">CA</item>
<item key="postal_code">M1M1M1</item>
<item key="phone">+1/4165551212</item>
<item key="fax">+1.4165552222</item>
<item key="email">adams@example.ca</item>
<item key="language">EN</item>
</dt_assoc>
</item>
<item key="also_apply_to">
<dt_array>
<item key="0">tech</item>
</dt_array>
</item>
</dt_assoc>
</item>
<item key="report_email"></item>
<item key="data">contact_info</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
284
Provisioning Commands
Response
<?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">Modification(s) successful</item>
<item key="attributes">
<dt_assoc>
<item key="details">
<dt_assoc>
<item key="example.ca">
<dt_assoc>
<item key="response_text">Contact
modification successful</item>
<item key="response_code">200</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
285
Provisioning Commands
Example 3
In this example, owner contact information is modified for a .IT domain.
The .IT owner contact requires three additional parameters:
nationality_code, reg_code, and entity_type.
Note: The other contact types do not require these additional parameters, so
if you change the owner contact information, and you use also_apply_to to
apply the changes to another type, for example, tech, the command will be
successful, but those additional parameters and values are ignored by the
other contact type. However, also_apply_to billing is not supported for .IT
domains, and if you submit that value, the command will fail. When the
domain owner is a person (entity_type = 1), changing the owner contact
information also changes the admin contact information as these are
considered to be the same at the Registry.
Request
<?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">MODIFY</item>
<item key="object">DOMAIN</item>
<item key="cookie">EKQygsAX2t5OqLM2:256400:25530</item>
<item key="registrant_ip">10.0.62.128</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains"></item>
<item key="report_email"></item>
<item key="data">contact_info</item>
<item key="contact_set">
<dt_assoc>
<item key="owner">
<dt_assoc>
286
Provisioning Commands
<item key="entity_type">1</item>
<item key="nationality_code">IT</item>
<item key="first_name">Mario</item>
<item key="last_name">Segale</item>
<item key="org_name"></item>
<item key="address1">Via del Campidoglio, 1</item>
<item key="address2"></item>
<item key="address3"></item>
<item key="city">Rome</item>
<item key="state">RM</item>
<item key="country">IT</item>
<item key="postal_code">00123</item>
<item key="email">mario@example.com</item>
<item key="reg_code">SGLMRA80A01H501E</item>
<item key="phone">+39.0612345678</item>
<item key="fax"></item>
</dt_assoc>
</item>
<item key="also_apply_to"/>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
287
Provisioning Commands
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">DOMAIN</item>
<item key="response_text">Command completed successfully</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="details">
<dt_assoc>
<item key="example033.it">
<dt_assoc>
<item key="response_text">Command completed
successfully</item>
<item key="waiting_requests_no">0</item>
<item key="encoding_type"></item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
288
Provisioning Commands
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">modify</item>
<item key="object">domain</item>
<item key="cookie">992262064:387073</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains">0</item>
<item key="domain_auth_info">mysecret</item>
<item key="data">domain_auth_info</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
289
Provisioning Commands
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Domain auth code modification
Successful</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
290
Provisioning Commands
</OPS_envelope>
Response
<?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">Update successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
291
Provisioning Commands
<item key="action">modify</item>
<item key="object">domain</item>
<item key="cookie">113013968:388172</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains">0</item>
<item key="forwarding_email">new@example.com</item>
<item key="data">forwarding_email</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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 forwarding email
modification Successful</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
292
Provisioning Commands
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
293
Provisioning Commands
<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">Parked page successfully enabled
for domain example.com</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
294
Provisioning Commands
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command Successfully
Completed</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
295
Provisioning Commands
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">modify</item>
<item key="object">domain</item>
<item key="cookie">631119177:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains">0</item>
<item key="lock_state">0</item>
<item key="data">status</item>
<item key="domain_name">example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
296
Provisioning Commands
<item key="response_code">200</item>
<item key="response_text">Lock disabled for
example.com</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
297
Provisioning Commands
</OPS_envelope>
Response
<?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">Modification Successful</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
298
Provisioning Commands
<item key="object">domain</item>
<item key="cookie">77467901:3893</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains">0</item>
<item key="report_email"/>
<item key="state">disable</item>
<item key="data">whois_privacy_state</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Whois Privacy successfully
disabled</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
299
Provisioning Commands
300
Provisioning Commands
</data_block>
</body>
</OPS_envelope>
Response
<?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='response_code'>200</item>
<item key='is_success'>1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
301
Provisioning Commands
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">modify</item>
<item key="object">domain</item>
<item key="cookie">364577922:3202133</item>
<item key="attributes">
<dt_assoc>
<item key="affect_domains">0</item>
<item key="data">tld_data</item>
<item key="tld_data">
<dt_assoc>
<item key='ced_info'>
<dt_assoc>
<item key="contact_type">tech</item>
<item key="legal_entity_type">other</item>
<item key="legal_entity_type_info">add some
text here</item>
<item key="id_type">other</item>
<item key="id_type_info">other</item>
<item key="id_number">8675309</item>
<item key="locality_city">Sydney</item>
<item key="locality_state_prov">NSW</item>
<item key="locality_country">AU</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
302
Provisioning Commands
Response
<?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">Data modification
Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
Without end-user credentials
Request
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
303
Provisioning Commands
<item key="action">modify</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="domain">example.asia</item>
<item key="data">tld_data</item>
<item key="tld_data">
<dt_assoc>
<item key='ced_info'>
<dt_assoc>
<item key="contact_type">tech</item>
<item key="id_number">8675309</item>
<item key="id_type">passport</item>
<item
key="legal_entity_type">corporation</item>
<item key="locality_city">Sydney</item>
<item key="locality_state_prov">NSW</item>
<item key="locality_country">AU</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
304
Provisioning Commands
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">DOMAIN</item>
<item key="response_text">CED Data modification Successful</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
305
Provisioning Commands
<dt_assoc>
<item key="icm_membership_id">123456</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">OK</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
306
Provisioning Commands
307
Provisioning Commands
Response
<?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">Command completed successfully</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="details">
<dt_assoc>
<item key="feb22test1.it">
<dt_assoc>
<item key="response_text">Command completed
successfully</item>
<item key="waiting_requests_no">0</item>
<item key="encoding_type"></item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
308
Provisioning Commands
</data_block>
</body>
</OPS_envelope>
309
Provisioning Commands
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Nexus Data modification
Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
Without end-user credentials
Request
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
310
Provisioning Commands
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">modify</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="domain">example.us</item>
<item key="data">tld_data</item>
<item key='tld_data'>
<dt_assoc>
<item key="nexus">
<dt_assoc>
<item key="validator">CA</item>
<item key="category">C31</item>
<item key="app_purpose">P1</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
311
Provisioning Commands
<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">Nexus Data modification Successful</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
312
Provisioning Commands
<item key='professional_data'>
<dt_assoc>
<item key='authority_website'>http://www.cda-
adc.ca</item>
<item key='license_number'>987654321</item>
<item key='authority'>Canadian Dental
Association</item>
<item key='profession'>Dentist</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>OK</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
</dt_assoc>
313
Provisioning Commands
</data_block>
</body>
</OPS_envelope>
314
Provisioning Commands
</body>
</OPS_envelope>
Response
<?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'>OK</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
315
Provisioning Commands
<item key='object'>domain</item>
<item key='cookie'>7rQitruAeYGgKcBO:707623:6222</item>
<item key='attributes'>
<dt_assoc>
<item key='data'>tld_data</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='jobs_admin_type'>Yes</item>
<item
key='jobs_website'>http://www.example.com</item>
<item key='jobs_association_member'>Yes</item>
<item key='jobs_title'>HR Generalist</item>
<item key='jobs_industry_type'>Logistics
Management</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
316
Provisioning Commands
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>REPLY</item>
<item key='object'>DOMAIN</item>
<item key='response_text'>OK</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
317
Provisioning Commands
<item key='id_card_authority'>Republic of
Khakassia </item>
<item key='id_card_issue_date'>2001-01-01</item>
<item key='id_card_number'>987654321</item>
<item key='registrant_type'>individual</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>OK</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
318
Provisioning Commands
process_pending
Description
Action & object
action = process_pending
object = domain
Usage
Processes or cancels pending orders; also applicable to any order that is
declined. The order is cancelled and a new order is created. Can also be used
to process cancelled orders, provided the cancelled order was a new order or
a transfer.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
command
Optional
fax_received
Optional
0No
1Yes
order_id
Required
owner_address
Optional
319
Provisioning Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
attributes
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
f_auto_renew
id
registration
expiration date
Included in success The new expiration date for the service, in the
response
format YYYY-MM-DD hh:mm:ss
Deprecated
Parameter
name
Obligation
Definition / Value
transaction_id
Deprecated
Deprecated
320
Provisioning Commands
<msg_type>standard</msg_type>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">process_pending</item>
<item key="object">domain</item>
<item key="attributes">
<dt_assoc>
<item key="owner_address">myemail@example.com</item>
<item key="fax_received">1</item>
<item key="order_id">535242</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
If successful
<?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="attributes">
321
Provisioning Commands
<dt_assoc>
<item key="f_auto_renew">Y</item>
<item key="id">3343012</item>
<item key="registration expiration date">2007-12-05
15:23:15</item>
</dt_assoc>
</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text"> Domain registration successfully
completed
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
If unsuccessful
<?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">0</item>
<item key="response_code">480</item>
<item key="response_text">Order 535242 is not a pending or
declined order and cannot be processed</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
322
Provisioning Commands
query_queued_request
Description
Action & object
action = query_queued_request
object = domain
Usage
Queries the status of a queued request.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
request_id
Required
request
323
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
queue_date
Included in success
response
request_data
Included in success
response
324
Provisioning Commands
Response
<?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">Command completed
successfully</item>
<item key="attributes">
<dt_assoc>
<item key="queue_date">04-MAR-2004 10:27:01</item>
<item key="request_data">
<dt_assoc>
<item key="ip">10.0.11.121</item>
<item key="username">purple</item>
<item key="action">SW_REGISTER</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
325
Provisioning Commands
redeem (domain)
Description
Action & object
action = redeem
object = domain
Usage
Redeems a .COM, .NET, .CA, .IT, or .NL domain that has expired but is within
the redemption grace period.
Note: Domain redemptions may incur addition fees.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation Definition/Value
domain
Required
326
Provisioning Commands
response_text = message describing the outcome of the request
Response
<?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>
327
Provisioning Commands
<dt_assoc>
<item key="protocol">XCP</item>
<item key="object">DOMAIN</item>
<item key="action">REPLY</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
328
Provisioning Commands
renew (domain)
Description
Action & object
action = renew
object = domain
Usage
Renews a domain and allows you to set the auto-renewal flag on a domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
affiliate_id
Optional
auto_renew
Required
1Set to auto-renew
currentexpirationyear
Required
domain
Required
f_parkp
Optional
329
Provisioning Commands
Parameter name
Obligation
Definition/Value
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
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.
period
Required
Required
request
330
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
admin_email
Required
auto_renew
Required
id
Returned if order
is not queued
order_id
Required
queue_request_id
Only returned if
order is queued
registration
expiration date
Required
Response codes
Response
Code
Response Text
Explanation
200
Command completed
successfully
Success response.
480
Renew capability is not Renewals are not yet supported for this TLD.
enabled for domain.tv
555
Domain already
renewed
541
400
System error.
400
Domain already
renewed; another
renewal cannot be
applied until the first
request completes', at
the registry,
approximately six to
331
Provisioning Commands
Response
Code
Response Text
Explanation
332
Provisioning Commands
</body>
</OPS_envelope>
Response
<?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="attributes">
<dt_assoc>
<item key="registration expiration date">2009-01-08
15:35:00</item>
<item key="auto_renew">1</item>
<item key="admin_email">admin1@example.com</item>
<item key="id">3212624</item>
<item key="order_id">3511417</item>
</dt_assoc>
</item>
<item key="response_text">Command completed
successfully</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
333
Provisioning Commands
revoke (domain)
Description
Action & object
action = revoke
object = domain
Usage
Removes the domain at the registry. Use this command to request a refund
for a domain purchase. This call can refund/revoke only one domain at the
time.
Note: A refund can be issued for only those domains which fall within the
specified grace period as defined by each registry.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
Domain to be revoked.
notes
Optional
reseller
Required
Reseller username.
334
Provisioning Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
charge
Optional
price
Optional
0No charge
1Indicates a charge
335
Provisioning Commands
<dt_assoc>
<item key="reseller">test</item>
<item key="domain">example.com</item>
<item key="notes">this is a test</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
If successful
<?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="attributes">
<dt_assoc>
<item key="charge">0</item>
<item key="price">undef</item>
</dt_assoc>
</item>
<item key="response_text">Domain example.com revoked
successfully.</item>
<item key="response_code">200</item>
</dt_assoc>
336
Provisioning Commands
</data_block>
</body>
</OPS_envelope>
If unsuccessful
<?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">0</item>
<item key="response_text">Domain not found.</item>
<item key="response_code">461</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
337
Provisioning Commands
send_CIRA_approval_email
Description
Action & object
action = send_CIRA_approval_email
object = domain
Usage
When a .CA domain is registered, it goes into a waiting-approval state, and
the admin contact must confirm the registration by responding to an
approval email message, sent by CIRA. This command resends that CIRA
registration approval email message to the domain's contact.
Important: This command has been deprecated. If this command is part of
your current integration, it will continue to work; however, the results will be
ignored. The response will return 'is_success' => '1'.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
338
Provisioning Commands
request
339
Provisioning Commands
Response
<?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">CIRA registration confirmation
mail sent to user1@example.ca</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
340
Provisioning Commands
send_registrant_verification_email
Description
Action & object
action =send_registrant_verification_email
object = domain
Usage
When a domain is registered or transferred, or when the registrant contact
information is changed, the registrant must reply to an email requesting
them to confirm that the submitted contact information is correct. This
command sends or resends the verification email to the registrant.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition / Value
domain
341
Provisioning Commands
response_text = message describing the outcome of the request
Response
<?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>
342
Provisioning Commands
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">DOMAIN</item>
<item key="response_text">Verification email has been resent
successfully.</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
343
Provisioning Commands
sw_register (domain)
Description
Action & object
action = sw_register
object = domain
Usage
Submits a new registration or transfer order that obeys the Reseller's
'process immediately' flag setting.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
affiliate_id
Optional
auto_renew
Optional
change_contact
Optional
1Auto-renew
344
Provisioning Commands
Parameter name Obligation
Definition/Value
comments
Optional
contact_set
Required
custom_
nameservers
Required for
domain
registrations
custom_transfer_
nameservers
345
Provisioning Commands
Parameter name Obligation
Definition/Value
custom_tech_
contact
dns_template
Required for
domain
registrations
Optional
ns1.systemdns.com
ns2.systemdns.com
ns3.systemdns.com
Required for
The domain name to be acted upon in the
domain
sw_register request.
registrations and
domain vetted
certificates
encoding_type
Optional
346
Provisioning Commands
Parameter name Obligation
Definition/Value
f_lock_domain
f_parkp
Optional
Optional
1Lock domain
f_whois_privacy
Optional
0Disable
1Enable
347
Provisioning Commands
Parameter name Obligation
Definition/Value
handle
link_domains
Optional
Optional
Required for
domain
registrations if
link_domains
=1
nameserver_list
ns1.systemdns.com
ns2.systemdns.com
ns3.systemdns.com
348
Provisioning Commands
Parameter name Obligation
Definition/Value
have any nameservers.
owner_confirm_
address
Required for
.DE, .BE, .EU,
and .IT
transfers
period
Required for
new domain
registrations
only
premium_price_
to_verify
Optional
reg_username
Required for
domain
registrations
Required for
domain
registrations
Required for
domain
registrations
reg_password
reg_type
tld_data
.AR, .ASIA,
.AU, .BR,
.CL, .COOP,
.DE, .DK, .FI,
transferTransfer a domain in
349
Provisioning Commands
Parameter name Obligation
Definition/Value
.FR, .HK,
include data = tld_data.
.HU, .IT, .JOBS, Allowed values are:
.LV, .MX,
au_registrant_infoEligibility
.MY, .NO,
requirements for.AU registrants.
.NU, .PM, .PRO,
ced_infoCharter Eligibility
.PT, .RE,
Declaration (CED) information for .ASIA
.RO, .RU,
domains.
.SE, .SG,
.TF, .US.
ipr_dataSponsored Community
.WF, .YT,
information associated with .XXX
and .ZA
domains.
domains.
it_registrant_infoRegional presence
Optional for
requirements for .IT domains.
.XXX domains.
nexusAmerican presence
requirements for .US domains.
professional_dataThe professional
designation information that is
associated with the .PRO domain.
registrant_extra_infoRegional
presence requirements for various
ccTLDs such as .FR, or industry
requirements for .JOBS domains or
.AERO domains.
Required for
The Signed Mark Data (SMD) that is associated
sunrise orders of with your trademark, and which serves as proof
the new gTLDs of trademark rights. Contact your Reseller to
acquire a Signed Mark Data file.
When submitting sunrise orders for the new
gTLDs, you must also submit the following
parameters and values: reg_type = sunrise
and handle = save.
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
sortorder
Required
350
Provisioning Commands
351
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
owner_confirm_address
Required
Obligation
Definition/Value
lang
Required
enEnglish
frFrench
nlDutch
352
Provisioning Commands
.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
ABOAboriginal
ASSAssociation
CCOCanadian Corporation
CCTCanadian Citizen
EDUEducational Institution
GOVGovernment
HOPHospital
INBIndian Band
LGRLegal Representative
PLTPolitical Party
PRTPartnership
RESPermanent Resident
TDMTrademark Owner
TRDTrade Union
TRSTrust
Deprecated
The following parameters have been deprecated. If these parameters are
used in your current integration, the command will continue to work;
however, the values will be ignored.
Parameter
name
Obligation
Definition/Value
ca_link_domain
Deprecated
353
Provisioning Commands
Parameter
name
Obligation
Definition/Value
Allowed values are:
cwa
Deprecated
domain_description Deprecated
isa_trademark
rant_agrees
Deprecated
Deprecated
0No
1Yes
354
Provisioning Commands
Parameter
name
Obligation
Definition/Value
Deprecated
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 http://www.eurid.eu/en/get-eu/domain-namesspecial-characters-idns.
Tip: Individual .EU domain registrants can keep their name private in the
WHOIS record by leaving the owner org_name field blank.
Note: During a .EU 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.
355
Provisioning Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
owner_confirm_address
Required for
.EU transfers
Parameter
name
Obligation
Definition/Value
country
BEBelgium
CYCyprus
CZCzech Republic
DEGermany
DKDenmark
EEEstonia
ESSpain
FIFinland
FRFrance
GIGibraltar
GFFrench Guyana
GPGuadeloupe
GRGreece
HUHungary
IEIreland
ITItaly
LTLithuania
LULuxembourg
LVLatvia
MQMartinique
MTMalta (including
Gozo and Comino)
NLNetherlands
PLPoland
PTPortugal
REReunion
SESweden
SISlovenia
SKSlovakia
356
Provisioning Commands
Parameter
name
Obligation
Definition/Value
lang
daDanish
deGerman
elGreek
enEnglish
esSpanish
etEstonian
fiFinnish
frFrench
huHungarian
itItalian
ltLithuanian
lvLatvian
mtMaltese
nlDutch
plPoland
ptPortuguese
skSlovak
slSlovenian
svSwedish
Obligation Definition/Value
Used to change contact information during a
transfer or after transfer completion.
change_contact Optional
Required
tld_data
357
Provisioning Commands
it_registrant_info
The it_registrant_info associative array within the tld_data associative
array contains information to satisfy the regional presence requirements of
the .IT registry.
Parameter
name
Obligation
Definition/Value
entity_type
Required
nationality_
code
Optional
3Freelance workers/professionals
4Non-profit organizations
5Public organizations
6Other subjects
reg_code
Required
358
Provisioning Commands
.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 two 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
nameservers ns1.mdnsservice.com and ns2.mdnsservice.com, and use the
Managed DNS service to delegate traffic once the site is live.
Obligation
Definition/Value
period
Required
reg_type
Required
.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
forwarding-emailFor
.NAME domains
359
Provisioning Commands
Performing a set cookie or get userinfo command indicates if there is an
action currently waiting on a domain.
Standard parameters
action = reply
object = domain
is_success = a Boolean is returned, indicating success or failure of the
request
Definition/Value
admin_email
Optional
cancelled_orders
Optional
error
forced_pending
id
Required
queue_request_id
registration_code
Required
registration_text
Required
transfer_id
Only returned if
reg_type=transfer
whois_privacy_state
Required
360
Provisioning Commands
Request
<?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="registrant_ip">10.0.10.19</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="reg_domain"/>
<item key="f_lock_domain">1</item>
361
Provisioning Commands
<item key="f_whois_privacy">1</item>
<item key="f_parkp">Y</item>
<item key="domain">example.com</item>
<item key="affiliate_id"/>
<item key="period">1</item>
<item key="reg_type">new</item>
<item key="reg_username">daniel</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="sortorder">1</item>
<item
key="name">ns1.domaindirect.com</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="sortorder">2</item>
<item
key="name">ns2.domaindirect.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key="reg_password">daniel</item>
<item key="encoding_type"/>
<item key="custom_nameservers">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
362
Provisioning Commands
</body>
</OPS_envelope>
Response
<?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. WHOIS
Privacy successfully enabled. Domain successfully locked.
</item>
<item key="attributes">
<dt_assoc>
<item key="admin_email">jsmith@example.com</item>
<item key="whois_privacy_state">enabled</item>
<item key="registration_text">Domain registration
successfully completed. WHOIS Privacy successfully enabled. Domain
successfully locked.</item>
<item key="registration_code">200</item>
<item key="id">3735281</item>
<item key="cancelled_orders">
<dt_array>
<item key="0">3764860</item>
<item key="1">3764861</item>
</dt_array>
</item>
363
Provisioning Commands
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
About this example:
Request
<?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="registrant_ip">10.0.10.19</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="dns_template">newdnstemplate</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
364
Provisioning Commands
</item>
<item key="reg_domain">example.com</item>
<item key="f_lock_domain">0</item>
<item key="domain">example.net</item>
<item key="affiliate_id"/>
<item key="period">10</item>
<item key="reg_type">new</item>
<item key="reg_username">daniel</item>
<item key="reg_password">daniel</item>
<item key="custom_nameservers">0</item>
<item key="encoding_type"/>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">
365
Provisioning Commands
<dt_assoc>
<item key="registration_code">435</item>
<item key="id">3735283</item>
<item key="forced_pending">3735283</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 3
About this example:
Request
<?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="registrant_ip">10.0.10.19</item>
<item key="attributes">
<dt_assoc>
<item key="dns_template">*blank*</item>
<item key="auto_renew"/>
<item key="link_domains">0</item>
366
Provisioning Commands
<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.com</item>
<item key="affiliate_id"/>
<item key="period">1</item>
<item key="reg_type">new</item>
<item key="reg_username">daniel</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="reg_password">daniel</item>
<item key="encoding_type"/>
<item key="custom_nameservers">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Domain registration successfully completed
367
Provisioning Commands
Domain successfully locked.
Whois Privacy successfully enabled.</item>
<item key="action">REPLY</item>
<item key="attributes">
<dt_assoc>
<item key="admin_email">email@testemail.com</item>
<item key="registration_text">Domain registration successfully
completed
Domain successfully locked.
Whois Privacy successfully enabled.</item>
<item key="registration_code">200</item>
<item key="id">177411</item>
</dt_assoc>
</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
368
Provisioning Commands
<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">
... see "Contact Set"
</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>
369
Provisioning Commands
<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>
Response
<?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>
370
Provisioning Commands
<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>
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
<msg_id>2.21765911726198</msg_id>
<msg_type>standard</msg_type>
</header>
<body>
<data_block>
<dt_assoc>
371
Provisioning Commands
<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'>sanford</item>
<item key='reg_password'>mypass</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.domaindirect.com</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='sortorder'>2</item>
<item key='name'>ns2.domaindirect.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key='contact_set'>
... see "Contact Set"
</item>
<item key='tld_data'>
<dt_assoc>
<item key='ced_info'>
<dt_assoc>
<item key='locality_country'>JP</item>
372
Provisioning Commands
<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>
Response
<?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>
373
Provisioning Commands
<item key='registration_text'>Domain registration
successfully completed</item>
<item key='registration_code'>200</item>
<item key='id'>96852687</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
374
Provisioning Commands
<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='registrant_id'>99 999 999 999</item>
<item key='eligibility_type'>Registered
Business</item>
CTO</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'>
... see "Contact Set"
</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>
375
Provisioning Commands
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">admin@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>
376
Provisioning Commands
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?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="custom_tech_contact">0</item>
<item key="auto_renew">0</item>
<item key="reg_type">new</item>
<item key="reg_username">test</item>
<item key="domain">example.ca</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="domain_description">this is a domain
description</item>
<item key="link_domains">0</item>
<item key="period">1</item>
377
Provisioning Commands
<item key="reg_password">passwd</item>
<item key="legal_type">CCT</item>
<item key="reg_domain"/>
<item key="custom_nameservers">0</item>
</dt_assoc>
</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="sortorder">1</item>
<item key="name">ns1.domaindirect.com</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="sortorder">2</item>
<item key="name">ns2.domaindirect.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
378
Provisioning Commands
<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='response_text'>Domain registration successfully
submitted</item>
<item key='is_success'>1</item>
<item key='parameters'>
<dt_array>
<item key='0'>
<dt_assoc>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='attributes'>
<dt_assoc>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key='rr_id'>839480</item>
<item key='domain_id'>14532389</item>
<item key='attributes'>
<dt_assoc>
<item key='registration_text'>Domain registration
successfully submitted</item>
<item key='admin_email'>fraser@example.ca</item>
<item key='registration_code'>300</item>
<item key='waiting_requests_no'>1</item>
<item key='id'>56726064</item>
</dt_assoc>
</item>
</dt_assoc>
379
Provisioning Commands
</data_block>
</body>
</OPS_envelope>
380
Provisioning Commands
</item>
<item key="custom_nameservers">1</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="name">ns1.livednsservice.com</item>
<item key="sortorder">1</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="name">ns2.livednsservice.com</item>
<item key="sortorder">2</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="name">ns3.livednsservice.com</item>
<item key="sortorder">3</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
381
Provisioning Commands
<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">ajobim12345@somedomain.com.br</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>
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
382
Provisioning Commands
<!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='f_lock_domain'>0</item>
<item key='custom_tech_contact'>1</item>
<item key='auto_renew'>1</item>
<item key='affiliate_id'>affiliatetest1</item>
<item key='reg_type'>new</item>
<item key='reg_username'>andrew</item>
<item key='domain'>example.de</item>
<item key='contact_set'>
... see "Contact Set"
</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>
383
Provisioning Commands
<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_type'>individual</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='period'>1</item>
<item key='reg_password'>test</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>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
384
Provisioning Commands
<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'>robson@example.com</item>
<item key='registration_code'>200</item>
<item key='id'>607737</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
385
Provisioning Commands
<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'>1</item>
<item key='auto_renew'>1</item>
<item key='affiliate_id'>affiliatetest1</item>
<item key='reg_type'>new</item>
<item key='reg_username'>test</item>
<item key='domain'>example.dk</item>
<item key='contact_set'>
... see "Contact Set"
</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='link_domains'>0</item>
<item key='tld_data'>
386
Provisioning Commands
<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='period'>1</item>
<item key='reg_password'>test</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>
Response
<?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>
387
Provisioning Commands
<item key='response_text'>Domain registration successfully
submitted</item>
<item key='rr_id'>29910</item>
<item key='domain_id'>753996</item>
<item key='transaction_id'>2013-10-01 12:00:49 1402 101</item>
<item key='attributes'>
<dt_assoc>
<item key='registration_text'>Domain registration
successfully submitted</item>
<item key='admin_email'>robson@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'>607640</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
388
Provisioning Commands
<item key="attributes">
<dt_assoc>
<item key="domain">example.eu</item>
<item key="period">1</item>
<item key="reg_username">test</item>
<item key="reg_password">test</item>
<item key="custom_nameservers">0</item>
<item key="handle">process</item>
<item key="reg_domain"/>
<item key="reg_type">new</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="custom_tech_contact">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
389
Provisioning Commands
<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">16629</item>
<item key="admin_email">jsmith@example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
390
Provisioning Commands
<item key="contact_set">
... see "Contact Set"
</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='link_domains'>0</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='date_of_birth'>1989-03-03</item>
<item key='place_of_birth'>Paris</item>
<item key='country_of_birth'>FR</item>
<item key='postal_code_of_birth'>75008</item>
<item key='registrant_type'>individual</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='period'>1</item>
<item key='reg_password'>changeit</item>
391
Provisioning Commands
<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>
Response
<?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'>andre@example.com</item>
<item key='registration_code'>200</item>
<item key='id'>457700</item>
</dt_assoc>
</item>
392
Provisioning Commands
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
393
Provisioning Commands
<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'/>
394
Provisioning Commands
<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>
395
Provisioning Commands
<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>
Response
<?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>
396
Provisioning Commands
<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>
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
397
Provisioning Commands
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">SW_REGISTER</item>
<item key="object">DOMAIN</item>
<item key="registrant_ip">10.0.10.19</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="custom_tech_contact">1</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="reg_domain">example-nsi.com</item>
<item key="f_lock_domain">0</item>
<item key="domain">example.info</item>
<item key="affiliate_id"/>
<item key="period">2</item>
<item key="reg_type">new</item>
<item key="reg_username">daniel</item>
<item key="nameserver_list">
<dt_array/>
</item>
<item key="reg_password">daniel</item>
<item key="encoding_type"/>
<item key="custom_nameservers">0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
398
Provisioning Commands
Response
<?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'>23994</item>
<item key='admin_email'>admin@example.info</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
399
Provisioning Commands
<?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">aaaa</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">aaaa</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>
400
Provisioning Commands
<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>
401
Provisioning Commands
<item key="0">
<dt_assoc>
<item key="name">ns1.mdnsservice.com</item>
<item key="sortorder">1</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="name">ns2.mdnsservice.com</item>
<item key="sortorder">2</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="name">ns3.mdnsservice.com</item>
<item key="sortorder">3</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
402
Provisioning Commands
<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>
Request
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>
403
Provisioning Commands
<item key="object">DOMAIN</item>
<item key="attributes">
<dt_assoc>
<item key="reg_username">aaaa</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">aaaa</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>
404
Provisioning Commands
<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>
405
Provisioning Commands
</dt_assoc>
</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="name">ns1.mdnsservice.com</item>
<item key="sortorder">1</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="name">ns2.mdnsservice.com</item>
<item key="sortorder">2</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item key="name">ns3.mdnsservice.com</item>
<item key="sortorder">3</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
406
Provisioning Commands
<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>
407
Provisioning Commands
<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">Daniel</item>
<item key="reg_password">changeit</item>
<item key="auto_renew">0</item>
<item key="link_domains">0</item>
<item key="f_whois_privacy">0</item>
<item key="f_lock_domain">0</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
<dt_assoc>
<item key="owner">
<dt_assoc>
<item key="first_name">Owen</item>
<item key="last_name">Ottway</item>
<item key="address1">123 Oak St.</item>
<item key="state">CA</item>
<item key="city">Santa Clara</item>
<item key="postal_code">90210</item>
<item key="country">US</item>
<item key="phone">+1.4165551212</item>
<item key="fax">+1.4165551234</item>
<item key="email">owen@example.com</item>
<item key="org_name">Example Inc.</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="domain">example.jobs</item>
<item key="affiliate_id"/>
408
Provisioning Commands
<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="jobs_admin_type">Yes</item>
<item key="jobs_industry_type">Supply Chain
Management</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>
409
Provisioning Commands
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">13688</item>
<item key="transaction_id">2012-05-16 09:04:19 1249 101</item>
<item key="domain_id">707818</item>
<item key="attributes">
<dt_assoc>
<item key="registration_text">Domain registration successfully
submitted</item>
<item key="admin_email">a@b.com</item>
<item key="registration_code">300</item>
<item key="waiting_request">sw_register</item>
<item key="waiting_requests_no">1</item>
410
Provisioning Commands
<item key="id">477658</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?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="registrant_ip">10.0.10.19</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="reg_domain">example-nsi.com</item>
<item key="f_lock_domain">0</item>
<item key="domain">jane.doe.name</item>
411
Provisioning Commands
<item key="affiliate_id"/>
<item key="period">10</item>
<item key="reg_type">new</item>
<item key="reg_username">example</item>
<item key="nameserver_list">
<dt_array/>
</item>
<item key="tld_data">
<dt_assoc>
<item
key="forwarding_email">johndoe@netscape.net</item>
</dt_assoc>
</item>
<item key="reg_password">example</item>
<item key="encoding_type"/>
<item key="custom_nameservers">0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
412
Provisioning Commands
<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'>mail@example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
413
Provisioning Commands
<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>
414
Provisioning Commands
<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>
415
Provisioning Commands
<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>
416
Provisioning Commands
Response
<?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>
417
Provisioning Commands
<version>0.9</version>
<msg_id>2.21765911726198</msg_id>
<msg_type>standard</msg_type>
</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'>robson</item>
<item key='domain'>dentalpro13.pro</item>
<item key='contact_set'>
... see "Contact Set"
</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>
418
Provisioning Commands
</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='professional_data'>
<dt_assoc>
<item
key='authority_website'>http://www.cda-adc.ca</item>
<item key='license_number'>123456789</item>
<item key='authority'>Canadian Dental
Association</item>
<item key='profession'>Dentist</item>
</dt_assoc>*
</item>
</dt_assoc>
</item>
<item key='period'>1</item>
<item key='reg_password'>aaaa</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>
419
Provisioning Commands
Response
<?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'>qafive@example.com</item>
<item key='registration_code'>200</item>
<item key='id'>454197</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
420
Provisioning Commands
Request
<?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='custom_tech_contact'>0</item>
<item key='auto_renew'>0</item>
<item key='reg_type'>new</item>
<item key='reg_username'>aaaa</item>
<item key='domain'>example.us</item>
<item key='nameserver_list'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='sortorder'>1</item>
<item key='name'>ns1.domaindirect.com</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='sortorder'>2</item>
<item key='name'>ns2.domaindirect.com</item>
421
Provisioning Commands
</dt_assoc>
</item>
</dt_array>
</item>
<item key='contact_set'>
... see "Contact Set"
</item>
<item key='link_domains'>0</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='period'>1</item>
<item key='reg_password'>aaaa</item>
<item key='reg_domain'>corelogic0.info</item>
<item key='custom_nameservers'>0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
422
Provisioning Commands
<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'>mail@example.us</item>
<item key='registration_code'>200</item>
<item key='id'>56726889</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
<?xml version='1.0' encoding='UTF-8'?>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
423
Provisioning Commands
<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='f_lock_domain'>1</item>
<item key='custom_tech_contact'>1</item>
<item key='auto_renew'>1</item>
<item key='reg_username'>aaaa</item>
<item key='domain'>example.xxx</item>
<item key='contact_set'>
... see "Contact Set"
</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.domaindirect.com</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='sortorder'>2</item>
<item key='name'>ns2.domaindirect.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key='link_domains'>0</item>
<item key='tld_data'>
424
Provisioning Commands
<dt_assoc>
<item key='ipr_data'>
<dt_assoc>
<item key='icm_membership_id'>123456</item>
<item key='icm_membership_password'>passw0rd</item>
<item key='ipr_name'>John Smith</item>
<item key='ipr_email'>johnsmith@example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='period'>1</item>
<item key='reg_password'>aaaa</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>
Response
<?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>
425
Provisioning Commands
<item key='response_text'>Registration orders for .XXX cannot
be processed until general availability begins on December 6, 2011 at
16:00:00 UTC</item>
<item key='action'>REPLY</item>
<item key='attributes'>
<dt_assoc>
<item key='admin_email'>qafive@example.com</item>
<item key='id'>451020</item>
<item key='forced_pending'>451020</item>
</dt_assoc>
</item>
<item key='response_code'>465</item>
<item key='is_success'>0</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.
Request
<?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='action'>SW_REGISTER</item>
<item key='object'>DOMAIN</item>
<item key='attributes'>
<dt_assoc>
<item key='reg_type'>new</item>
426
Provisioning Commands
<item key='f_lock_domain'>1</item>
<item key='custom_tech_contact'>1</item>
<item key='auto_renew'>1</item>
<item key='reg_username'>aaaa</item>
<item key='domain'>example.xxx</item>
<item key='contact_set'>
... see "Contact Set"
</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.domaindirect.com</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='sortorder'>2</item>
<item key='name'>ns2.domaindirect.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key='link_domains'>0</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='period'>1</item>
427
Provisioning Commands
<item key='reg_password'>aaaa</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>
Response
<?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'>Registration orders for .XXX cannot
be processed until general availability begins on December 6, 2011 at
16:00:00 UTC</item>
<item key='action'>REPLY</item>
<item key='attributes'>
<dt_assoc>
<item key='admin_email'>qafive@example.com</item>
<item key='id'>256841</item>
<item key='forced_pending'>256841</item>
</dt_assoc>
</item>
<item key='response_code'>465</item>
<item key='is_success'>0</item>
</dt_assoc>
428
Provisioning Commands
</data_block>
</body>
</OPS_envelope>
429
Provisioning Commands
<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='link_domains'>0</item>
<item key='tld_data'>
<dt_assoc>
<item key='trademark_smd'> Trademark SMD:Marks:
TEST
smdID: 00000096381377086406165-1
U-labels: sunrise-test
notBefore: 2013-08-21 14:00:06
notAfter: 2015-07-01 00:00:00
-----BEGIN ENCODED SMD----PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHNtZDpzaWduZWRNYXJ
rIHht
bG5zOnNtZD0idXJuOmlldGY6cGFyYW1zOnhtbDpuczpzaWduZWRNYXJrLTEuMCIgaWQ9Il8
0Yjk4
YzMzOC03ZjAxLTQyYWMtYjQyMS00MTQ5YWVkN2JhYjIiPgogIDxzbWQ6aWQ+MDAwMDAwOTYz
YzMzOC03ZjAxLTQyYWMtYjQyMS00MTQ5YWVkN2JhYjIiPgogIDxzbWQ6aWQ+ODEz
NzcwODY0MDYxNjUtMTwvc21kOmlkPgogIDxzbWQ6aXNzdWVySW5mbyBpc3N1ZXJJRD0iMSI
+CiAg
ICA8c21kOm9yZz5EZWxvaXR0ZTwvc21kOm9yZz4KICAgIDxzbWQ6ZW1haWw+YmV0bWNoc21k
ICA8c21kOm9yZz5EZWxvaXR0ZTwvc21kOm9yZz4KICAgIDxzbWQ6ZW1haWw+QGRl
bG9pdHRlLmJlPC9zbWQ6ZW1haWw+CiAgPC9zbWQ6aXNzdWVySW5mbz4KICA8c21kOm5vdEJl
bG9pdHRlLmJlPC9zbWQ6ZW1haWw+Zm9y
ZT4yMDEzLTA4LTIxVDEyOjAwOjA2LjE2NVo8L3NtZDpub3RCZWZvcmU+CiAgPHNtZDpub3RB
ZT4yMDEzLTA4LTIxVDEyOjAwOjA2LjE2NVo8L3NtZDpub3RCZWZvcmU+ZnRl
430
Provisioning Commands
cj4yMDE1LTA2LTMwVDIyOjAwOjAwLjAwMFo8L3NtZDpub3RBZnRlcj4KICA8bWFyazptYXJ
rIHht
bG5zOm1hcms9InVybjppZXRmOnBhcmFtczp4bWw6bnM6bWFyay0xLjAiPgogICAgPG1hcms
6dHJh
ZGVtYXJrPgogICAgICA8bWFyazppZD4wMDA1MjUxMzc2NDA0OTY4MTM3NjQwNDk2OC0xPC9
tYXJr
OmlkPgogICAgICA8bWFyazptYXJrTmFtZT5UVUNPV1M8L21hcms6bWFya05hbWU+CiAgICAg
OmlkPgogICAgICA8bWFyazptYXJrTmFtZT5UVUNPV1M8L21hcms6bWFya05hbWU+IDxt
YXJrOmhvbGRlciBlbnRpdGxlbWVudD0ib3duZXIiPgogICAgICAgIDxtYXJrOm9yZz5UVUN
PV1Mg
KERFTEFXQVJFKSBJTkMuPC9tYXJrOm9yZz4KICAgICAgICA8bWFyazphZGRyPgogICAgICA
gICAg
PG1hcms6c3RyZWV0PjEyMDkgT1JBTkdFIFNUUkVFVCBDT1JQT1JBVElPTiBUUlVTVCBDRU5
URVI8
L21hcms6c3RyZWV0PgogICAgICAgICAgPG1hcms6Y2l0eT5XSUxNSU5HVE9OPC9tYXJrOmN
pdHk+
CiAgICAgICAgICA8bWFyazpzcD5ERUxBV0FSRTwvbWFyazpzcD4KICAgICAgICAgIDxtYXJ
rOnBj
PjE5ODAxPC9tYXJrOnBjPgogICAgICAgICAgPG1hcms6Y2M+VVM8L21hcms6Y2M+CiAgICAg
PjE5ODAxPC9tYXJrOnBjPgogICAgICAgICAgPG1hcms6Y2M+VVM8L21hcms6Y2M+ICAg
PC9tYXJrOmFkZHI+CiAgICAgIDwvbWFyazpob2xkZXI+CiAgICAgIDxtYXJrOmNvbnRhY3Qg
PC9tYXJrOmFkZHI+CiAgICAgIDwvbWFyazpob2xkZXI+dHlw
ZT0iYWdlbnQiPgogICAgICAgIDxtYXJrOm5hbWU+QWxleGFuZGVyIFNjaHdlcnRuZXI8L21h
ZT0iYWdlbnQiPgogICAgICAgIDxtYXJrOm5hbWU+cms6
bmFtZT4KICAgICAgICA8bWFyazpvcmc+RVBBRyBEb21haW5zZXJ2aWNlcyBHbWJIPC9tYXJr
bmFtZT4KICAgICAgICA8bWFyazpvcmc+Om9y
Zz4KICAgICAgICA8bWFyazphZGRyPgogICAgICAgICAgPG1hcms6c3RyZWV0PlJoZWluYWx
sZWUg
MzwvbWFyazpzdHJlZXQ+CiAgICAgICAgICA8bWFyazpjaXR5PkJvbm48L21hcms6Y2l0eT4K
MzwvbWFyazpzdHJlZXQ+ICAg
ICAgICAgIDxtYXJrOnNwPk5SVzwvbWFyazpzcD4KICAgICAgICAgIDxtYXJrOnBjPjUzMTc
zPC9t
YXJrOnBjPgogICAgICAgICAgPG1hcms6Y2M+REU8L21hcms6Y2M+CiAgICAgICAgPC9tYXJr
YXJrOnBjPgogICAgICAgICAgPG1hcms6Y2M+REU8L21hcms6Y2M+OmFk
ZHI+CiAgICAgICAgPG1hcms6dm9pY2U+KzQ5LjIyODMyOTY4NDA8L21hcms6dm9pY2U+CiAg
ZHI+CiAgICAgICAgPG1hcms6dm9pY2U+KzQ5LjIyODMyOTY4NDA8L21hcms6dm9pY2U+ICAg
ICAgPG1hcms6ZW1haWw+cmVnaXN0cnktcmVsYXRpb25zQGVwYWcuZGU8L21hcms6ZW1haWw
+CiAg
ICAgIDwvbWFyazpjb250YWN0PgogICAgICA8bWFyazpqdXJpc2RpY3Rpb24+VVM8L21hcms6
431
Provisioning Commands
ICAgIDwvbWFyazpjb250YWN0PgogICAgICA8bWFyazpqdXJpc2RpY3Rpb24+anVy
aXNkaWN0aW9uPgogICAgICA8bWFyazpjbGFzcz40MjwvbWFyazpjbGFzcz4KICAgICAgPG1
hcms6
bGFiZWw+dHVjb3dzPC9tYXJrOmxhYmVsPgogICAgICA8bWFyazpnb29kc0FuZFNlcnZpY2Vz
bGFiZWw+PklD
IDA0Mi4gVVMgMTAwIDEwMS4gRyAmYW1wOyBTOiBjb21wdXRlciBzb2Z0d2FyZSBpbmZvcm1
hdGlv
biBzZXJ2aWNlcywgbmFtZWx5LCBpbmZvcm1hdGlvbiByZWdhcmRpbmcgY29tcHV0ZXIgc29
mdHdh
cmUgcmVsYXRlZCB0byBhIGdsb2JhbCBjb21wdXRlciBuZXR3b3JrLCBvZmZlcmVkIHZpYSB
hIGds
b2JhbCBjb21wdXRlciBuZXR3b3JrLiBGSVJTVCBVU0U6IDE5OTQwODAwLiBGSVJTVCBVU0U
gSU4g
Q09NTUVSQ0U6IDE5OTQwODAwPC9tYXJrOmdvb2RzQW5kU2VydmljZXM+CiAgICAgIDxtYXJr
Q09NTUVSQ0U6IDE5OTQwODAwPC9tYXJrOmdvb2RzQW5kU2VydmljZXM+OnJl
Z051bT4yMjQ3MTk2PC9tYXJrOnJlZ051bT4KICAgICAgPG1hcms6cmVnRGF0ZT4xOTk5LTA
1LTI0
VDIyOjAwOjAwLjAwMFo8L21hcms6cmVnRGF0ZT4KICAgIDwvbWFyazp0cmFkZW1hcms+CiAg
VDIyOjAwOjAwLjAwMFo8L21hcms6cmVnRGF0ZT4KICAgIDwvbWFyazp0cmFkZW1hcms+PC9t
YXJrOm1hcms+CjxkczpTaWduYXR1cmUgeG1sbnM6ZHM9Imh0dHA6Ly93d3cudzMub3JnLzIw
YXJrOm1hcms+MDAv
MDkveG1sZHNpZyMiIElkPSJfYTQwNWQ3OTAtMzJmYS00YjJiLTg2OTAtZTkyYmMzNjdiMDA
0Ij48
ZHM6U2lnbmVkSW5mbz48ZHM6Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh
0dHA6
Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIvPjxkczpTaWduYXR1cmVNZXR
ob2Qg
QWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2E
tc2hh
MjU2Ii8+PGRzOlJlZmVyZW5jZSBVUkk9IiNfNGI5OGMzMzgtN2YwMS00MmFjLWI0MjEtNDE0
MjU2Ii8+OWFl
ZDdiYWIyIj48ZHM6VHJhbnNmb3Jtcz48ZHM6VHJhbnNmb3JtIEFsZ29yaXRobT0iaHR0cDo
vL3d3
dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI2VudmVsb3BlZC1zaWduYXR1cmUiLz48ZHM6VHJ
hbnNm
b3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8xMC94bWwtZXhjLWMxNG4
jIi8+
PC9kczpUcmFuc2Zvcm1zPjxkczpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d
3Lncz
Lm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiLz48ZHM6RGlnZXN0VmFsdWU+Qk5Eb0IyS0VC
Lm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiLz48ZHM6RGlnZXN0VmFsdWU+UC9D
432
Provisioning Commands
UGZHYXpGZTZFZkptNmllSUF1VnhYM2NMMTBmdVhBOD08L2RzOkRpZ2VzdFZhbHVlPjwvZHM
6UmVm
ZXJlbmNlPjxkczpSZWZlcmVuY2UgVVJJPSIjXzFkOWQwMjNlLTNmYjUtNDAxMi1iYjExLTd
iYmNl
ZjAxZTdjZCI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6
ZjAxZTdjZCI+PGRzOlRyYW5zZm9ybXM+Ly93
d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIvPjwvZHM6VHJhbnNmb3Jtcz48ZHM
6RGln
ZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmM
jc2hh
MjU2Ii8+PGRzOkRpZ2VzdFZhbHVlPmx2Q2dCdFBkUlAydURZR05lQ0hqMXhaSmJhUlVwOW04
MjU2Ii8+em5K
S2hNOUtKakE9PC9kczpEaWdlc3RWYWx1ZT48L2RzOlJlZmVyZW5jZT48L2RzOlNpZ25lZEl
uZm8+
PGRzOlNpZ25hdHVyZVZhbHVlIElkPSJfNjJmNzA4Y2UtMmM5YS00ZjMwLTk4NTgtMDc0OTM
1ZmE1
YmE5Ij5pTDNpUmdCaVRNUTFmajNZT2F3VFZJQ3RpZmJETE9tL0x1NjF6UE9iOU5HYTZRT3N
ISTFZ
dnB6SDVYREJ6N1dRcVZmZDJ5V0VPdWFRClBOUjZjQUhHT3h0c0M2QytVRy94UmFoM2JnUUw
0Tmwv
cXI2SVBOd3dQdmNtVFlYYTBIUjV6MkRXNVJUbHZUY2dIQjA5Q1Z4eng5SkMKMFRnVjhpVE9
2bmpB
eFZ6OTF6dlJ5dUE0UFhvdi8waDBKcjg2a1F5WXhwanZJTXp4Y1pJb1ZhcVdZZWNrcGpUZDk
2Znhn
TGhBQ0ZhUAo5YkVQMkZKTDl4QnJ3SnU4Mjdsd1dkRlJGWmJhL2ZKSVFROVAyN0k4aWVUR29
FUzA4
NTFmSWNNUHRmcjhmQkZvRHNOV25QQkdZSkY2CnlOUC80NEozTXBmU3pKcDBvUXNEbnM0L2l
TY2U1
S2xsR0crdzNRPT08L2RzOlNpZ25hdHVyZVZhbHVlPjxkczpLZXlJbmZvIElkPSJfMWQ5ZDA
yM2Ut
M2ZiNS00MDEyLWJiMTEtN2JiY2VmMDFlN2NkIj48ZHM6WDUwOURhdGE+PGRzOlg1MDlDZXJ0
M2ZiNS00MDEyLWJiMTEtN2JiY2VmMDFlN2NkIj48ZHM6WDUwOURhdGE+aWZp
Y2F0ZT5NSUlGTlRDQ0JCMmdBd0lCQWdJaEFKTkNNcWhOanozY1hWSlBqN3l2Y1p2cm8xRkt
RUitk
VEM2dFhhemVtNWcvTUEwR0NTcUdTSWIzCkRRRUJDd1VBTUhZeEN6QUpCZ05WQkFZVEFsVlR
NVHd3
T2dZRFZRUUtFek5KYm5SbGNtNWxkQ0JEYjNKd2IzSmhkR2x2YmlCbWIzSWcKUVhOemFXZHV
aV1Fn
VG1GdFpYTWdZVzVrSUU1MWJXSmxjbk14S1RBbkJnTlZCQU1USUVsRFFVNU9JRlJ5WVdSbGJ
XRnlh
eUJEYkdWaApjbWx1WjJodmRYTmxJRU5CTUI0WERURXpNRGN5TkRBd01EQXdNRm9YRFRFNU1
EY3lN
433
Provisioning Commands
ekl6TlRrMU9Wb3dnYUF4Q3pBSkJnTlZCQVlUCkFrSkZNUkV3RHdZRFZRUUlFd2hDY25WemM
yVnNj
ekVSTUE4R0ExVUVCeE1JVFdGamFHVnNaVzR4RVRBUEJnTlZCQW9UQ0VSbGJHOXAKZEhSbE1
USXdN
QVlEVlFRREV5bEpRMEZPVGlCVVRVTklJRUYxZEdodmNtbDZaV1FnVkhKaFpHVnRZWEpySUZ
aaGJH
bGtZWFJ2Y2pFawpNQ0lHQ1NxR1NJYjNEUUVKQVJZVlltVjBiV05vYzIxa1FHUmxiRzlwZEh
SbExt
SmxNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DCkFROEFNSUlCQ2dLQ0FRRUF5VSs0a3d
xaHlE
QU13YlhINnhyZ3JKK0NzTzVPN2JMZGtEMk1vTmFKajFLUlcxY2ZTUVVNUUM0ZHpJd1QKM0d
nZksw
M1lPSk9wTTFUSjQvM2xZMWFTcmFMSnRtRy9LYlVrZDFub0RNWmlja3FqQWtISDhtTGliYlF
1Zjl2
dFpWV0ZOUW5td0h4VwoyWWFxRlVzUUFGQVNjRjNURmE0dG1rZDFZbU1Zb2IzYUdUaFZUMkl
maktt
OXpUNkhNT1JqNCtYd0gvamRkOGxKeHIwSmJCc0dCSzloClBab3o1NXdvVWJNTFhLcWVvVFl
OTE5V
R0VNRlpYWktKSllIQzdFcFl4d3hKaDNtN2NWK2x0UVZzWG5NMlZndVZWak5EUjVYNEY2NCs
KcG54
ZGp2SzFPUEVxWDBRWVJhMzYrYW9QTlQ5cGdtM3RJVE5PSUQ4ZnFIeFh5TGRsbTRnTzZ3SUR
BUUFC
bzRJQmdUQ0NBWDB3REFZRApWUjBUQVFIL0JBSXdBREFkQmdOVkhRNEVGZ1FVc21rQjl0SDI
5cURR
N204TUdyWDhxdXdJVFp3d2djQUdBMVVkSXdTQnVEQ0J0WUFVClhNRHhsaXpLVEZzcDhVQjA
weHMy
UGtmVWJnU2hlcVI0TUhZeEN6QUpCZ05WQkFZVEFsVlRNVHd3T2dZRFZRUUtFek5KYm5SbGN
tNWwK
ZENCRGIzSndiM0poZEdsdmJpQm1iM0lnUVhOemFXZHVaV1FnVG1GdFpYTWdZVzVrSUU1MWJ
XSmxj
bk14S1RBbkJnTlZCQU1USUVsRApRVTVPSUZSeVlXUmxiV0Z5YXlCRGJHVmhjbWx1WjJodmR
YTmxJ
RU5CZ2lFQWswSXlxRTJQUGR4ZFVrK1B2Szl4bSt1alVVcEJINTFNCkxxMWRyTjZibUQ0d0R
nWURW
UjBQQVFIL0JBUURBZ2VBTUM0R0ExVWRId1FuTUNVd0k2QWhvQitHSFdoMGRIQTZMeTlqY21
3dWFX
TmgKYm00dWIzSm5MM1J0WTJndVkzSnNNRXNHQTFVZElBUkVNRUl3RUFZT0t3WUJCQUdDeVJ
zQkJZ
TTdDQW93TGdZSUt3WUJCUVVIQWdFdwpJakFnQmdnckJnRUZCUWNDQVJZVWFIUjBjSE02THk
5allT
NXBZMkZ1Ymk1dmNtY3dEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBQTdKCmhXZHZpdUtkeXN
ZM2pl
T3pic1gyRFRtN1RxdmN0Y0V0am1hTy80VW1OMDlDc01USUUzcGptNUtxdzQ5cmxoR0VLM2V
uRGFU
434
Provisioning Commands
S1hWRXUKMG5iYkRxZUJENjA2WithbFlNNjN3dzRRbjRUYVNiTmNlaDZubGhDYzcrWEI5VGR
LUHJw
SFVwUmhsSDdOM1dXWUsvUGQyMEVmUVR5bwo4UStIMVppbXV3VGdTU2dzN2JvVUlDSWFadFJ
YTG5J
YXZoL2ZNaWYySkpPbDZpUXhsNEp6d2ErUHQwdkd2Q1IrYUx1RVNnWkZuMDR2CmpGVWFUbHF
3YVhv
YUVkOUs2SmxQa2NGTHFIcmN4MlpKSzE5eHBjWTBSR3FreXloc3A1S0RsS0I5RGZraWxhK3l
GcGRQ
R2JjN05rNTgKUkxGSHYvaUlqZTZiZUxwY1FZcS9mQnMzSGRaT2dTQXBiVkE9PC9kczpYNTA
5Q2Vy
dGlmaWNhdGU+PC9kczpYNTA5RGF0YT48L2RzOktleUluZm8+PC9kczpTaWduYXR1cmU+PC9z
dGlmaWNhdGU+PC9kczpYNTA5RGF0YT48L2RzOktleUluZm8+PC9kczpTaWduYXR1cmU+bWQ6
c2lnbmVkTWFyaz4=
-----END ENCODED SMD----</item>
</dt_assoc>
</item>
<item key='period'>1</item>
<item key='reg_password'>aaaa</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>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
435
Provisioning Commands
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">DOMAIN</item>
<item key="response_text">Order created</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
<item key="attributes">
<dt_assoc>
<item key="admin_email">qafive@example.com</item>
<item key="id">422013</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
436
Provisioning Commands
<item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="f_parkp">Y</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
<item key="reg_domain">example-nsi.com</item>
<item key="domain">transfer-example-nsi.com</item>
<item key="period">1</item>
<item key="reg_type">transfer</item>
<item key="reg_username">example</item>
<item key="reg_password">example</item>
<item key="encoding_type"/>
<item key="custom_transfer_nameservers">0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
This response shows the result of a successful response to a transfer order.
The transfer is not complete at this point rather, it has only been started. If
the domain's current whois information is accurate, then the current domain
owner receives an email requesting that they approve or reject the transfer
request.
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
437
Provisioning Commands
<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="response_text">Transfer request has been
successfully sent</item>
<item key="is_success">1</item>
<item key="attributes">
<dt_assoc>
<item key="registration_text">Transfer request has
been successfully sent</item>
<item key="registration_code">200</item>
<item key="id">3735288</item>
<item key="transfer_id">1234</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
438
Provisioning Commands
<item key='action'>SW_REGISTER</item>
<item key='object'>DOMAIN</item>
<item key='attributes'>
<dt_assoc>
<item key='reg_type'>transfer</item>
<item key='handle'>process</item>
<item key='domain'>mytransferdomain.au</item>
<item key='f_lock_domain'>1</item>
<item key='auto_renew'>0</item>
<item key='reg_domain'>existingdomain.com</item>
<item key='reg_username'>username</item>
<item key='reg_password'>password</item>
<item
key='owner_confirm_address'>myconfirmemail@domain.com</item>
<item key='custom_tech_contact'>1</item>
<item key='contact_set'>
<dt_assoc>
<item key='owner'>
<dt_assoc>
<item key='first_name'>Chris</item>
<item key='last_name'>Christopherson</item>
<item key='phone'>+1.4165550123</item>
<item key='fax'></item>
<item
key='email'>chris@christopherson.com</item>
<item key='org_name'>Christopherson Kitchens
(Australia) Pty Limited</item>
<item key='address1'>4 York Street</item>
<item key='address2'></item>
<item key='address3'></item>
<item key='city'>Sydney</item>
<item key='state'>NSW</item>
<item key='country'>AU</item>
<item key='postal_code'>2022</item>
</dt_assoc>
</item>
439
Provisioning Commands
<item key='tech'>
<dt_assoc>
<item key='first_name'>Johnny</item>
<item key='last_name'>Jameson</item>
<item key='phone'>+1.4165550123</item>
<item key='fax'></item>
<item
key='email'>johnny@techfixers.com</item>
<item key='org_name'>Tech Fixers Inc.</item>
<item key='address1'>66 Mowat Avenue</item>
<item key='address2'></item>
<item key='address3'></item>
<item key='city'>Sudney</item>
<item key='state'>NSW</item>
<item key='country'>AU</item>
<item key='postal_code'>2023</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key='custom_transfer_nameservers'>0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
Response
<?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>
440
Provisioning Commands
<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">Transfer request has been successfully
sent. Admin contact email: chris@christopherson.com</item>
<item key="attributes">
<dt_assoc>
<item key="registration_text">Transfer request has been
successfully sent. Admin contact email: chris@christopherson.com</item>
<item key="transfer_id">5851957</item>
<item key="admin_email">chris@christopherson.com</item>
<item key="registration_code">200</item>
<item key="id">101184590</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
441
Provisioning Commands
<item key="object">DOMAIN</item>
<item key="attributes">
<dt_assoc>
<item key="auto_renew">0</item>
<item key="f_parkp">N</item>
<item key="domain">example.ca</item>
<item key="reg_type">transfer</item>
<item key="reg_domain"/>
<item key="reg_username">srs_registrant_username</item>
<item key="reg_password">srs_registrant_password</item>
<item key="encoding_type"/>
<item key="custom_transfer_nameservers">0</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Registration successful</item>
<item key="attributes">
442
Provisioning Commands
<dt_assoc>
<item key="admin_email">admin@email.com</item>
<item key="id">85550904</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
443
Provisioning Commands
<item key='link_domains'>0</item>
<item key='period'>1</item>
<item key='reg_password'>test</item>
<item key='bulk_order'>0</item>
<item key='reg_domain'/>
<item key='custom_nameservers'>0</item>
</dt_assoc>
</item>
<item key='nameserver_list'>
<dt_array>
<item key='0'>
<dt_assoc>
<item key='sortorder'>1</item>
<item key='name'>ns1.domaindirect.com</item>
</dt_assoc>
</item>
<item key='1'>
<dt_assoc>
<item key='sortorder'>2</item>
<item key='name'>ns2.domaindirect.com</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
444
Provisioning Commands
<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">Transfer request has been
successfully sent. Admin contact email: robson@example.com</item>
<item key="attributes">
<dt_assoc>
<item key="registration_text">Transfer request has
been successfully sent. Admin contact email: robson@example.com</item>
<item key="admin_email">robson@example.com</item>
<item key="registration_code">200</item>
<item key="id">101550</item>
<item key="transfer_id">1234</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
445
Provisioning Commands
<item key="protocol">XCP</item>
<item key="action">SW_REGISTER</item>
<item key="object">DOMAIN</item>
<item key="attributes">
<dt_assoc>
<item key="affiliate_id"/>
<item key="reg_type">transfer</item>
<item key="period">1</item>
<item key="reg_username">unittest</item>
<item key="auto_renew"/>
<item key="domain">example.eu</item>
<item key="reg_password">password</item>
<item key="custom_tech_contact">0</item>
<item
key="owner_confirm_address">owner@example.eu</item>
<item key="link_domains">0</item>
<item key="custom_transfer_nameservers">1</item>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item
key="name">ns1.domaindirect.com</item>
<item key="sortorder">1</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="name">ns2.domaindirect.com</item>
<item key="sortorder">2</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key="contact_set">
... see "Contact Set"
446
Provisioning Commands
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">
Transfer request has been successfully sent.
Admin contact email: admin@example.eu
</item>
<item key="attributes">
<dt_assoc>
<item key="registration_text">
Transfer request has been successfully sent.
Admin contact email: admin@example.eu
</item>
<item key="registration_code">200</item>
<item key="id">3751913</item>
<item key="transfer_id">1234</item>
447
Provisioning Commands
<item key="admin_email">admin@example.eum</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
448
Provisioning Commands
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="reg_password">aaaa</item>
<item key="domain">example037.it</item>
<item
key="owner_confirm_address">transferapprover@example.com</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, 20</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 20</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>
449
Provisioning Commands
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Transfer request has been successfully
sent. Admin contact email: transferapprover@example.com</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="transfer_id">41334</item>
<item key="registration_text">Transfer request has been
successfully sent. Admin contact email:
transferapprover@example.com</item>
<item key="admin_email">transferapprover@example.com</item>
<item key="registration_code">200</item>
<item key="id">214998</item>
450
Provisioning Commands
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
451
Provisioning Commands
Response
<?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="is_success">1</item>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">DOMAIN</item>
<item key="attributes">
<dt_assoc>
<item key="id">7235</item>
<item key="admin_email">admin@example.com</item>
</dt_assoc>
</item>
<item key="response_text">WHOIS Privacy order [#7298] is in
progress</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
452
Provisioning Commands
update_contacts
Description
Action & object
action = update_contacts
object = domain
cookie = cookie created to access the system, see "set (cookie)"
Usage
Submits a domain-contact information update to the system. Each contact
object is submitted as a whole, and changes are parsed against the existing
information.
Important: For .UK domains, if you use this command to submit a change to
the Organization field, it is recognized by the system, but not by the registry.
To change the .UK Organization information, you must contact the Nominet
Registry.
For .ES domains, if you use this command to submit any changes to the
owner contact information, the changes are recognized by the system, but
not by the registry. To change the .ES Owner contact information, you must
contact the Esnic Registry.
For .IT domains, the owner contact requires three additional parameters:
entity_type, nationality_code, and reg_code. For more information about
contact_set values, see .IT contact requirements.
Obligation
Definition/Value
affect_domains
Optional
453
Provisioning Commands
Parameter
name
Obligation
Definition/Value
this profile.
contact_set
Required
domain
Required
report_email
Optional
types
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
details
Required
454
Provisioning Commands
Parameter name
Obligation
Definition/Value
domain success information is the name
of the domain itself, for example,
'mydomain.com' or 'mydomain.co.uk'.
Each key contains a hash (described
below) that provides details on the
action performed on that domain.
encoding_type
Optional
response_code
Required
response_text
Required
waiting_requests_no
Required
455
Provisioning Commands
<item key="0">admin</item>
<item key="1">billing</item>
</dt_array>
</item>
<item key="contact_set">
... see "Contact Set"
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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"></item>
<item key="is_success">1</item>
<item key="response_text">Command completed
successfully.</item>
<item key="response_code">200</item>
<item key="waiting_requests_no">0</item>
<item key="attributes">
<dt_assoc>
<item key="details">
<dt_assoc>
456
Provisioning Commands
<item key="example.com">
<dt_assoc>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
457
458
Sub-Reseller Commands
name_suggest (surname)
Description
Action & object
action = name_suggest
object = surname
Usage
Checks whether a specified Personal Name, (firstname lastname) is available
for registration in various gTLDs and ccTLDs, suggests other similar domain
names, and checks whether they are available.
Important: This command has been deprecated. To check whether a
specified Personal Names domain, is available for registration, use the
name_suggest (domain) command and specify personal_names.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
searchstring
Required
459
Sub-Reseller Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
suggestion
Required
Suggestion
Parameters within the suggestion associative array are described below.
Parameter
name
Obligation
Definition/Value
count
Required
items
Required
Items
Parameters within the items associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
status
Required
460
Sub-Reseller Commands
Response
<?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>
461
Sub-Reseller Commands
<item key="action">REPLY</item>
<item key="object">SURNAME</item>
<item key="response_text">Command completed
successfully</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="suggestion">
<dt_assoc>
<item key="count">11</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
<item key="items">
<dt_array>
<item key="0">
<dt_assoc>
<item
key="domain">steven.smith.net</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item
key="domain">steven.smithemail.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="2">
<dt_assoc>
<item
key="domain">steven.smithhome.com</item>
<item key="status">available</item>
</dt_assoc>
462
Sub-Reseller Commands
</item>
<item key="3">
<dt_assoc>
<item
key="domain">steven.smithmail.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="4">
<dt_assoc>
<item
key="domain">steven.smithnet.net</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="5">
<dt_assoc>
<item
key="domain">steven.smithnet.org</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="6">
<dt_assoc>
<item
key="domain">steven.smithpage.net</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="7">
<dt_assoc>
<item
key="domain">steven.smithpost.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="8">
463
Sub-Reseller Commands
<dt_assoc>
<item
key="domain">steven.smithweb.org</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="9">
<dt_assoc>
<item
key="domain">steven.thesmith.org</item>
<item key="status">available</item>
</dt_assoc>
</item>
<item key="10">
<dt_assoc>
<item
key="domain">steven.nesmith.com</item>
<item key="status">available</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
464
Sub-Reseller Commands
su_register
Description
Action & object
action = su_register
object = surname
Usage
Submits a new registration order for an available Personal Names domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation Definition/Value
A DNS record associated with the domain along with
its value.
dnsRecords
Optional
domain
Required
mailbox
Required
465
Sub-Reseller Commands
DNS Records
Parameters within the dnsRecords associative array are described below.
Parameter
name
Obligation Definition/Value
content
Optional
name
Optional
type
Optional
Mailbox
Parameters within the mailbox associative array are described below.
Parameter
name
Obligation Definition/Value
forward_email
Optional
mailbox_type
Required
password
Required
466
Sub-Reseller Commands
467
Sub-Reseller Commands
Response
<?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'>SURNAME</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='response_text'>Command completed successfully</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
Register a domain with a regular mailbox and email forwarding
<?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">SU_REGISTER</item>
468
Sub-Reseller Commands
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">MAILBOX</item>
<item key="password">changeit</item>
<item key="forward_email">steve@example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>SURNAME</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='response_text'>Command completed successfully</item>
</dt_assoc>
</data_block>
469
Sub-Reseller Commands
</body>
</OPS_envelope>
Request
Register a domain with webmail only
<?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">SU_REGISTER</item>
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">WEBMAIL_ONLY</item>
<item key="password">changeit</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
470
Sub-Reseller Commands
<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'>SURNAME</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='response_text'>Command completed successfully</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
Register a domain with webmail only and email forwarding
<?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">SU_REGISTER</item>
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
471
Sub-Reseller Commands
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">WEBMAIL_ONLY</item>
<item key="password">changeit</item>
<item key="forward_email">steve@example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
Response
<?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'>SURNAME</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='response_text'>Command completed successfully</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
472
Sub-Reseller Commands
Request
Register a domain with email forwarding and set the A record
<?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">SU_REGISTER</item>
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">MAILBOX</item>
<item key="password">changeit</item>
<item key="forward_email">steve@example.com</item>
</dt_assoc>
</item>
<item key="dnsRecords">
<dt_array>
<item key="0">
<dt_assoc>
<item key="type">A</item>
<item key="name">@</item>
<item key="content">127.0.0.2</item>
</dt_assoc>
</item>
</dt_array>
</item>
473
Sub-Reseller Commands
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
Response
<?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'>SURNAME</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='response_text'>Command completed successfully</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Request
Register a domain with a regular mailbox and set the Cname record
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
474
Sub-Reseller Commands
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">SU_REGISTER</item>
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">MAILBOX</item>
<item key="password">changeit</item>
</dt_assoc>
</item>
<item key="dnsRecords">
<dt_array>
<item key="0">
<dt_assoc>
<item key="type">CNAME</item>
<item key="name">@</item>
<item key="content">steven.smith.net.</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
475
Sub-Reseller Commands
Response
<?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'>SURNAME</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
<item key='response_text'>Command completed successfully</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
476
Sub-Reseller Commands
query (surname)
Description
Action & object
action = query
object = surname
Usage
Queries the properties of the domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
query_dns
Optional
query_email
Optional
477
Sub-Reseller Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
created_on
Required
domain
Required
mailbox
Optional
state
Optional
zone
Optional
Mailbox
Parameters within the mailbox associative array are described below.
Parameter
name
Obligation
Definition/Value
forward_email
Optional
mailbox_type
Optional
478
Sub-Reseller Commands
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation
Definition/Value
content
Optional
name
Optional
type
Optional
Zone
Parameters within the zone associative array are described below.
Parameter
name
Obligation
Definition/Value
records
Optional
zone_id
Optional
479
Sub-Reseller Commands
<item key="domain">steven.smith.net</item>
<item key="query_email">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">SURNAME</item>
<item key="is_success">1</item>
<item key="response_text">Command completed successfully</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="state">active</item>
<item key="created_on">2008-01-03T14:25:45.000-05:00</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">MAILBOX</item>
<item key="response_text">OK</item>
<item key="is_success">1</item>
</dt_assoc>
480
Sub-Reseller Commands
</item>
<item key="zone">
<dt_assoc>
<item key="state">active</item>
<item key="response_text">OK</item>
<item key="is_success">1</item>
<item key="zone_id">3186929</item>
<item key="name">steven.smith.net</item>
<item key="records">
<dt_array>
<item key="0">
<dt_assoc>
<item key="content">steven.smith.net</item>
<item key="type">CNAME</item>
<item key="name">www</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
481
Sub-Reseller Commands
update (surname)
Description
Action & object
action = update
object = surname
Usage
Changes properties of the domain. You can use this command to change the
DNS records, enable or disable email forwarding, or to change the service
type, for example, to switch from Webmail (no IMAP/POP/SMTP) to a regular
mailbox.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
dnsRecords
Optional
domain
Required
mailbox
Optional
482
Sub-Reseller Commands
DnsRecords
Parameters within the dnsRecords associative array are described below.
Parameter
name
Obligation
Definition/Value
content
Optional
name
Optional
type
Optional
Warning: If you update dnsRecords, you must supply a full list of records.
Any committed records will be deleted.
Mailbox
Parameters within the mailbox associative array are described below.
Parameter name
Obligation
Definition/Value
disable_forward_
email
Optional
forward_email
Optional
mailbox_type
Optional
password
Optional
WEBMAIL_ONLYChange to Webmail
only account (no IMAP/POP/SMTP).
483
Sub-Reseller Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
484
Sub-Reseller Commands
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">SURNAME</item>
<item key="is_success">1</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
485
Sub-Reseller Commands
Request
Change a webmail only account to a regular mailbox, change the
password, and set the A record
<?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">UPDATE</item>
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">MAILBOX</item>
<item key="password">changeit</item>
</dt_assoc>
</item>
<item key="dnsRecords">
<dt_array>
<item key="0">
<dt_assoc>
<item key="type">A</item>
<item key="name">@</item>
<item key="content">127.0.0.2</item>
</dt_assoc>
</item>
</dt_array>
</item>
486
Sub-Reseller Commands
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">SURNAME</item>
<item key="is_success">1</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
487
Sub-Reseller Commands
Request
Change a webmail only account to a regular mailbox and disable
email forwarding
<?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">UPDATE</item>
<item key="object">SURNAME</item>
<item key="attributes">
<dt_assoc>
<item key="domain">steven.smith.net</item>
<item key="mailbox">
<dt_assoc>
<item key="mailbox_type">MAILBOX</item>
<item key="disable_forward_email">1</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
488
Sub-Reseller Commands
Response
<?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">SURNAME</item>
<item key="is_success">1</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
<OPS_envelope>
489
Sub-Reseller Commands
delete (surname)
Description
Action & object
action = delete
object = surname
Usage
Deletes the Personal Names domain. This call can delete only one domain at
a time.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
domain
Required
request
490
Sub-Reseller Commands
Response
<?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>
491
Sub-Reseller Commands
<item key="action">REPLY</item>
<item key="object">SURNAME</item>
<item key="is_success">1</item>
<item key="response_text">Command completed
successfully</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
492
Transfer Commands
This section contains the following commands:
cancel_transfercancels transfers that are pending owner approval.
check_transferchecks to see if the specified domain can be
transferred in, or from one Reseller to another.
get_transfers_awaylists domains that have been transferred away.
get_transfers_inlists domains that have been transferred in.
process_transfercreates a new order with the same data as a
cancelled order.
rsp2rsp_push_transfertransfer a domain from one Reseller to
another Reseller.
send_password (transfer)resends an email to the admin contact for
a transfer that is in 'pending owner approval' state,
trade_domaintransfers ownership of a .EU or .BE domain.
493
Transfer Commands
cancel_transfer
Description
Action & object
action = cancel_transfer
object = transfer
Usage
Cancels transfers that are pending owner approval.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
order_id
reseller
Required
Reseller username.
request
494
Transfer Commands
Response
If successful
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
495
Transfer Commands
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">TRANSFER</item>
<item key="response_text">Transfer with order id: 3533098
has been cancelled.</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
If unsuccessful
<?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">TRANSFER</item>
<item key="response_text">Command Failed: Transfer State
Prohibits Cancellation</item>
<item key="is_success">0</item>
<item key="response_code">400</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
496
Transfer Commands
check_transfer
Description
Action & object
action = check_transfer
object = domain
Usage
Checks to see if the specified domain can be transferred in, or from one
Reseller to another. This call can also be used to check the status of the last
transfer request on a given domain name.
When using the check_transfer action prior to initiating a transfer, the
transferable response parameter is most relevant, and if transferable = 0,
the reason field is also important. When using the check_transfer action to
determine the progress of a transfer, the status parameter is of most
importance.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
check_status
Optional
domain
Required
497
Transfer Commands
Parameter name
Obligation
Definition/Value
get_request_address
Optional
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
noservice
Always returned
0Supplier is available
1Supplier is unavailable.
Included only if
transferable = 0
request_address
Optional
status
Conditional: returned
only if domain is not
transferable. If no
transfer is underway,
this is retrieved from
the previous transfer
order.
pending_ownerAwaiting
498
Transfer Commands
Parameter
name
Obligation
Definition/Value
approval by domain's admin contact
(every transfer begins with this
status). If approval is not given
within five days, the transfer is
cancelled.
timestamp
Always returned. If no
transfer is currently
underway, timestamp
is retrieved from the
previous transfer
order.
pending_adminWaiting for
approval by support.
pending_registryAwaiting
registry approval (the transfer
completes after 7 days unless it is
declined by the current registrar). If
the Registry shows OpenSRS as the
Registrar of record, OpenSRS
initiates the completion of .UK
transfers, or schedules the
completion of gTLD transfers.
completedThe transfer
completed successfully.
cancelledThe Reseller or
OpenSRS stopped the transfer.
transferrable
type
Included only if
transferable = 1
unixtime
499
Transfer Commands
Response
<?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>
500
Transfer Commands
<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">Query successful</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="status">pending_owner</item>
<item key="transferrable">0</item>
<item key="reason">Transfer in progress</item>
<item key="request_address"/>
<item key="unixtime">1115213766</item>
<item key="timestamp">Wed May
4 09:36:06 2005</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
501
Transfer Commands
get_transfers_away
Description
Action & object
action = get_transfers_away
object = domain
Usage
Lists domains that have been transferred away. This command applies to all
domains in a Reseller's profile.
All attributes are optional, but can be used to narrow the search criteria. If
no attributes are specified, all domains that were ever transferred-away from
your profile are returned.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
domain
Optional
gaining_registrar
Optional
limit
Optional
owner_confirm_from
Optional
502
Transfer Commands
Parameter name
Obligation
Definition/Value
owner_confirm_ip
Optional
owner_confirm_to
Optional
owner_request_from
Optional
owner_request_to
Optional
page
Optional
req_from
Optional
503
Transfer Commands
Parameter name
Obligation
Definition/Value
req_to
Optional
request_address
Optional
status
Optional
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
page
page_size
total
Always returned
504
Transfer Commands
Parameter
name
Obligation
Definition/Value
transfers
Returned if a transferred-away
domain exists and meets the
specified search criteria
Transfers
Parameters within the transfers associative array are described below.
Parameter name
Obligation
Definition/Value
domain
Returned if a
transferred-away
domain exists and
meets the specified
search criteria.
gaining_registrar
owner_choice
owner_confirm_date
owner_confirm_ip
owner_confirm_date_epoch
owner_request_date
owner_request_date_epoch
registry_request_date
505
Transfer Commands
Parameter name
Obligation
Definition/Value
registry_request_date_epoch
request_address
request_date
request_date_epoch
status
506
Transfer Commands
<item key="request_address">girl@example.com</item>
<item key="gaining_registrar">Tucows Inc.</item>
<item key="owner_confirm_ip">10.0.10.220</item>
<item key="registry_request_date">20-JUL-2006</item>
<item key="limit">40</item>
<item key="page">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="page">1</item>
<item key="page_size">2</item>
<item key="total">1</item>
<item key="transfers">
<dt_array>
507
Transfer Commands
<item key="0">
<dt_assoc>
<item key="domain">example.com</item>
<item key="status">completed</item>
<item key="gaining_registrar">TUCOWS
Inc.</item>
<item key="owner_choice">Y</item>
<item
key="owner_confirm_ip">10.0.12.165</item>
<item key="owner_request_date">20-JUL2006 16:14:41</item>
<item
key="owner_request_date_epoch">1153426481</item>
<item key="owner_confirm_date">20-JUL2006 16:18:08</item>
<item
key="owner_confirm_date_epoch">1153426688</item>
<item
key="request_address">girl@example.com</item>
<item key="request_date">20-JUL-2006
16:14:36</item>
<item
key="request_date_epoch">1153426476</item>
<item key="registry_request_date">20-JUL2006 16:18:09</item>
<item
key="registry_request_date_epoch">1153426689</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
508
Transfer Commands
get_transfers_in
Description
Action & object
action = get_transfers_in
object = domain
Usage
Lists domains that have been transferred in. This command applies to all
domains in a Reseller's profile.
All attributes are optional, but can be used to narrow the search criteria. If
no attributes are specified, all domains that were ever transferred into your
profile are returned.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
completed_from
Optional
completed_to
Optional
domain
Optional
gaining_registrar
Optional
limit
Optional
509
Transfer Commands
Parameter name
Obligation
Definition/Value
order_id
Optional
owner_confirm_from
Optional
owner_confirm_ip
Optional
owner_confirm_to
Optional
owner_request_from
Optional
owner_request_to
Optional
page
Optional
510
Transfer Commands
Parameter name
Obligation
Definition/Value
req_from
Optional
req_to
Optional
request_address
Optional
status
Optional
transfer_id
Optional
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
511
Transfer Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
page
page_size
total
Always returned.
transfers
Returned if a transferred-in
domain exists and meets the
specified search criteria.
Transfers
Parameters within the transfers associative array are described below.
Parameter name
Obligation
Definition/Value
domain
Returned if a
The domain that was transferred
transferred-in
in.
domain exists and
meets the
specified search
criteria.
gaining_registrar
Always returned
in the case of a
transferred-in
domain.
owner_choice
Always returned
in the case of a
transferred-in
domain.
owner_confirm_date
Always returned
in the case of a
transferred-in
domain.
owner_confirm_date_epoch
Always returned
in the case of a
transferred-in
domain.
512
Transfer Commands
Parameter name
Obligation
Definition/Value
owner_confirm_ip
Always returned
in the case of a
transferred-in
domain.
owner_request_date
Always returned
in the case of a
transferred-in
domain.
owner_request_date_epoch
Always returned
in the case of a
transferred-in
domain.
registry_request_date
Always returned
in the case of a
transferred-in
domain.
registry_request_date_epoch
Always returned
in the case of a
transferred-in
domain.
request_address
Always returned
in the case of a
transferred-in
domain.
request_date
Always returned
in the case of a
transferred-in
domain.
request_date_epoch
Always returned
in the case of a
transferred-in
domain.
status
Always returned
in the case of a
transferred-in
domain.
Always returned.
513
Transfer Commands
514
Transfer Commands
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command successful</item>
<item key="attributes">
<dt_assoc>
<item key="page_size">20</item>
<item key="page">1</item>
<item key="total">1</item>
<item key="transfers">
<dt_array>
<item key="0">
<dt_assoc>
<item key="owner_request_date">06-OCT2006 14:23:54</item>
<item key="status">cancelled</item>
<item key="registry_request_date"/>
<item key="owner_confirm_date"/>
515
Transfer Commands
<item key="registry_request_date_epoch"/>
<item key="owner_confirm_ip"/>
<item key="completed_date">06-OCT-2006
14:59:01</item>
<item
key="order_date_epoch">1159729141</item>
<item key="owner_confirm_date_epoch"/>
<item
key="request_address">agnes@example.com</item>
<item key="losing_registrar">Tucows</item>
<item key="domain">kaka.cc</item>
<item key="order_date">06-OCT-2006
14:23:52</item>
<item
key="completed_date_epoch">1160159032</item>
<item
key="owner_request_date_epoch">1160159034</item>
<item key="transfer_id">1234</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
516
Transfer Commands
process_transfer
Description
Action & object
action = process_transfer
object = transfer
Usage
Creates a new order with the same data as a cancelled order; the existing
cancelled order is not modified. This command is only available for failed
transfers with the status of 'cancelled'.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
order_id
Required
reseller
Required
Reseller username.
request
517
Transfer Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
order_id
Definition/Value
518
Transfer Commands
Response
If successful
<?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">TRANSFER</item>
<item key="is_success">1</item>
<item key="response_text">Transfer request has been
successfully sent. Admin contact email: admin@example.com'</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="order_id">1111111</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
If unsuccessful
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
519
Transfer Commands
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">TRANSFER</item>
<item key="is_success">0</item>
<item key="response_text">'Transfer status does not allow
for resubmit.'</item>
<item key="response_code">400</item>
<item key="attributes">
<dt_assoc>
<item key="order_id">undef</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
520
Transfer Commands
rsp2rsp_push_transfer
Description
Action & object
action = rsp2rsp_push_transfer
object = domain
Usage
Transfer a domain from one Reseller to another Reseller. The domain is not
renewed when it is transferred and so no charges are incurred.
Important: Before you can push a domain to another Reseller account, that
Reseller has to add you to their allow list by entering your username on the
Push Domain Settings page of the RWI. For more information, see the
Reseller's Guide to Domain Name Registration and Management guide.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
grsp
Required
password
Optional
username
Optional
521
Transfer Commands
request
522
Transfer Commands
Response
If successful
<?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"></item>
<item key="is_success">1</item>
<item key="response_text">'Domain successfully
transferred'</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
If unsuccessful
<?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"></item>
523
Transfer Commands
<item key="is_success">0</item>
<item key="response_text">'grsp must be another
reseller'</item>
<item key="response_code">465</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
524
Transfer Commands
send_password (transfer)
Description
Action & object
action = send_password
object = transfer
Usage
Resends an email message for a transfer that is in 'pending owner approval'
state, to the admin contact listed for the domain at the time that the transfer
request was submitted. If a transfer is currently in progress, but in a
different state, an error is returned.
Note: This does not handle bulk transfers as such if the password is
requested for a domain that is part of a bulk-transfer order, the password
returned in the email is only usable for the single domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain_name
Required
request
525
Transfer Commands
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
526
Transfer Commands
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">reply</item>
<item key="object">transfer</item>
<item key="response_text">Message sent.</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
527
Transfer Commands
trade_domain
Description
Action & object
action = trade_domain
object = domain
Usage
Transfers ownership of a domain name from one registrant to another. This
command may be used for the following domains: .CL, .COM.AR, .DK, FI,
.FR, .HK, .HU, .MY, .NO, .NU, .PM, .RE, .RO, .RU, .SE, .SG, .TF, .WF, and .YT.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
address1
city
country
domain
Required
domain_auth_info
Required for
.BE
Required
first_name
Required
last_name
Required
org_name
Required
phone
528
Transfer Commands
Parameter name Obligation
Definition/Value
postal_code
state
tld_data
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Request
<?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>
529
Transfer Commands
<item key="action">TRADE_DOMAIN</item>
<item key="object">DOMAIN</item>
<item key="attributes">
<dt_assoc>
<item key="first_name">Simon</item>
<item key="last_name">Dubois</item>
<item key="domain">js4.be</item>
<item key="email">dubois@example.be</item>
<item key="org_name">Example Co.</item>
<item keyi="domain_auth_info">ewgnRwnH</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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>
OK</item>
530
Transfer Commands
<item key="response_text">Trade for js4.be has been
successfully issued.</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
Transfers ownership of a .DK domain
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'>TRADE_DOMAIN</item>
<item key='object'>DOMAIN</item>
<item key='attributes'>
<dt_assoc>
<item key='org_name'>Example Co.</item>
<item key='domain'>example.dk</item>
<item key='first_name'>Daniel</item>
<item key='last_name'>Jensen</item>
<item key='address1'>Gammel Kongevej 1</item>
<item key='city'>Copenhagen V</item>
<item key='state'/>
<item key='country'>DK</item>
<item key='postal_code'>1610</item>
<item key='phone'>+1.33257400</item>
531
Transfer Commands
<item key='email'>djensen@example.dk</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='registrant_type'>individual</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Trade for example.dk has been
successfully issued.</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
</dt_assoc>
</data_block>
</body>
532
Transfer Commands
</OPS_envelope>
Example 3
Transfers ownership of a .FR domain.
Request
<?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='action'>TRADE_DOMAIN</item>
<item key='object'>DOMAIN</item>
<item key='attributes'>
<dt_assoc>
<item key='domain'>example.fr</item>
<item key='first_name'>Henri</item>
<item key='last_name'>LeFluer</item>
<item key='address1'>13 Rue Daze</item>
<item key='city'>Paris</item>
<item key='state'/>
<item key='country'>FR</item>
<item key='postal_code'>75002</item>
<item key='org_name'>French Impressions</item>
<item key='phone'>+1.3365551212</item>
<item key='email'>lefluer@example.com</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='date_of_birth'>1979-03-03</item>
<item key='place_of_birth'>Paris</item>
533
Transfer Commands
<item key='country_of_birth'>FR</item>
<item key='postal_code_of_birth'>75008</item>
<item key='registrant_type'>individual</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Trade for example.fr has been
successfully issued.</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
534
Transfer Commands
Example 3
Transfers ownership of a .COM.AR domain
Request
<?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'>TRADE_DOMAIN</item>
<item key='object'>DOMAIN</item>
<item key='attributes'>
<dt_assoc>
<item key='first_name'>Daniela</item>
<item key='last_name'>Sosa</item>
<item key='address1'>Piedras No 623</item>
<item key='city'>San Sebastian</item>
<item key='state'/>
<item key='postal_code'>B1000TBU</item>
<item key='country'>AR</item>
<item key='org_name'>Sosa Informatica S.A.</item>
<item key='domain'>example.com.ar</item>
<item key='phone'>+1.4165350123</item>
<item key='email'>sosa@example.com</item>
<item key='tld_data'>
<dt_assoc>
<item key='registrant_extra_info'>
<dt_assoc>
<item key='tax_number'>27-10563145-8</item>
<item key='id_card_number'>10563145</item>
535
Transfer Commands
<item key='registrant_type'>individual</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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'>Trade for example.com.ar has been
successfully issued.</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
536
537
bulk_transfer
Description
Action & object
action = bulk_transfer
object = domain
Usage
Submits a request to transfer several domains at once. The list is grouped by
the admin contact email address and only one email message (containing a
list of the domains) is sent to each admin contact.
Note: Bulk transfers only work for .COM and .NET domains.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
affiliate_id
Optional
custom_tech_contact
Required
domain_list
Required
538
Obligation
Definition/Value
handle
Optional
processProcess order
immediately.
reg_domain
Required if
The registrant's domain name
link_domains = 1.
If so, the registered
domain is linked to
the profile indicated
by reg_username
and reg_password.
Otherwise, the
reg_username and
reg_password
fields are used to
create a new profile.
reg_password
Required
reg_username
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
539
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
bulk_transfer_id
Required
successful_domains
Required
Successful_Domains
Parameters within the successful_domains associative array are described
below.
Parameter name
Obligation
Definition/Value
domain
Required
order_id
Required
540
Response
<?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>
541
542
543
submit (bulk_change)
Description
Action & object
action = submit
object = bulk_change
Usage
Submits a request to change information associated with a large set of
domains. Can also be used to check the availability of a list of domains,
renew multiple domains, or to push multiple domains to another Reseller
account.
You can submit the following bulk change requests with this API call: check
availability, domain lock/unlock, renewals, nameserver modification, contact
changes, enable/disable Parked Pages, enable WHOIS Privacy, and push
domains to another Reseller account. The following restrictions apply to the
submit bulk_change API:
Up to 10,000 domains can be affected in a single request.
When submitting a large number of domains for a bulk change, there
may be a delay of several minutes between when the request is
submitted and when the request is visible in the RWI.
If the Reseller has not signed the end user access contract, owner and
admin contacts sets are not updated as part of bulk change request.
Up to 13 nameservers can be specified in the assign list when updating
nameservers.
Before you can push domains to another Reseller account, you must
add that Reseller to your allow list through the RWI. Duplicate entries
are eliminated from the change_items list.
add_ns adds the nameserver to the current list while assign_ns
replaces the current list with whatever nameservers are listed in the
bulk change request.
Note: This command must be submitted to batch.opensrs.net; submissions
to the live production pool (rr-n1-tor.opensrs.net) will fail.
544
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
apply_to_all_
reseller_items
apply_to_locked_
domains
Optional
change_items
change_type
Required
Note: If
apply_to_all_reseller_items =1, do
not include this parameter.
Allowed values are:
availability_checkCheck the
registry, Premium Domains,
and Personal Names for the
availability of a list of domains
and email a CSV file containing
the results to the specified
email address. The file indicates
whether each name is available,
545
Obligation
Definition/Value
and for Premium Names, it also
specified the price of the
domain name.
Note: when this value is
specified, contact_email is
required.
dns_zoneAdd, remove or
reset the DNS service for
multiple domains.
Changes can be applied to all
specified domains, to only
domains with DNS service
nameservers, or to domains
that are not using DNS service
nameservers. You can also
change your nameservers to
use the DNS service
nameservers.
If a DNS template is not
specified, a blank zone is
applied.
dns_zone_recordAdd,
modify, or remove DNS records
(A, CNAME, etc) from zones for
multiple domains.
domain_contactsChange
contact information for multiple
domains
domain_forwardingAdd or
remove the domain forwarding
service for multiple domains.
domain_lockLock or unlock
multiple domains
domain_nameserversAdd,
remove, or assign nameservers
domain_parked_pages
Enable or disable Parked Pages
for multiple domains
domain_renewRenew
multiple domains in one request
push_domainsMove or
'push' domains from one
Reseller account to another.
Note: Before you can push
domains to another Reseller,
you need to add that Reseller to
546
Obligation
Definition/Value
your allow list.
storefront_managedMove
domains from OpenSRS to
Storefront or from Storefront to
OpenSRS.
Important: When you move
contact_email
Optional
whois_privacyEnable or
disable WHOIS Privacy
Obligation
Definition/Value
apply_to_domains
Required
dns_action
Required
using_dns_nameservers
not_using_dns_nameservers
all_selected_domains
dns_template
Optional
only_if
Optional
force_dns_nameservers
Optional
547
Obligation
Definition/Value
nameservers on the domain to
ns1.systemdns.com,
ns2.systemdns.com, ns3.systemdns.com
Obligation
Definition/Value
dns_action
Required
dns_record_type
Required
dns_record_data
Required only if
dns_action =
add or modify.
ip_address, subdomain
AAAA
ipv6_address,
subdomain
CNAME
hostname, subdomain
MX
priority, hostname,
subdomain
SRV
priority, weight,
subdomain, hostname,
port
TXT
subdomain, text
548
Obligation
Definition/Value
only_if
Optional. Can
only be used if
dns_action =
modify or
remove.
Obligation
Definition/Value
contacts
Required
set
Required
type
Required
Type of contact.
Allowed values are billing and tech.
Obligation
Definition/Value
change_items
Required
op_type
Required
549
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
op_type
Required
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
add_ns
assign_ns
op_type
Required
remove_ns
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
op_type
Required
550
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
affiliate_id
Optional
auto_renew
Optional
let_expire
period
Optional
Optional
0Disable auto-renew
1Enable auto-renew
Obligation
Definition/Value
change_items
Required
gaining_reseller_username
Required
contact_email
Optional
551
Obligation
Definition/Value
op_type
Required
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
op_type
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
552
Required
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
Response
<?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">bulk_change</item>
<item key="response_text">Command successfully submitted
for processing</item>
<item key="is_success">1</item>
<item key="bulk_change_req_id">168</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
569
Usage
This command allows you to enable or disable WHOIS Privacy for multiple
domains. WHOIS Privacy can be enabled or disabled for .COM, .NET, .ORG,
.INFO, .BIZ, .ME, .MOBI, .NAME, .CC, .CO, and .TV TLDs.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
apply_to_locked_
domains
Optional
change_items
Required
change_type
Required
whois_privacy
570
Obligation
Definition/Value
contact_email
Optional
op_type
Required
request
571
Response
<?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">BULK_CHANGE</item>
<item key="response_text">Command successfully submitted
for processing</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
572
Nameserver Commands
This section contains the following commands:
advanced_update_nameserver adds or removes nameservers for a
domain.
create (nameserver)creates a nameserver in the same domain space
as the cookie's domain.
delete (nameserver)deletes a nameserver.
get (nameserver)queries nameservers that exist in the current user
profile.
modify (nameserver)modifies a nameserver.
registry_add_nsadds a nameserver to one or all registries to which a
Reseller has access.
registry_check_nameserverVerifies whether a nameserver exists at a
particular registry.
573
Nameserver Commands
advanced_update_nameservers
Description
Action & object
action = advanced_update_nameservers
object = domain
Usage
Adds nameservers to a domain, or adds or removes nameservers for a
domain that already has nameservers assigned to it. This command does not
create a nameserver; a nameserver must already be created (see "create
(nameserver").
Note: When you use this command to add or change nameservers for .IT
domains, even though the response says the command was successful, the
new nameservers are not activated immediately. The registry runs a series of
tests against the nameservers before activating them. During the time that
the tests are being run, any query about the domain, such as get
nameservers or get all_info, will return the old nameservers. If the
nameservers do not pass the registry tests within 30 days, the registry
ignores the request. If you issue another advanced_update_nameservers
command before the registry has completed their tests, the new command is
assumed to refer to the old, currently active nameservers.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
add_ns
Optional
assign_ns
Optional
574
Nameserver Commands
Parameter
name
Obligation
Definition/Value
op_type
Required
remove_ns
Optional
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
575
Nameserver Commands
<item key="object">domain</item>
<item key="cookie">781236777:3352</item>
<item key="attributes">
<dt_assoc>
<item key="assign_ns">
<dt_array>
<item key="0">ns1.example.com</item>
<item key="1">ns2.example.com</item>
<item key="2">ns3.example.com</item>
<item key="3">ns4.example.com</item>
</dt_array>
</item>
<item key="op_type">assign</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
576
Nameserver Commands
<item key="op_type">add_remove</item>
<item key="remove_ns">
<dt_array>
<item key="0">ns1.example.com</item>
<item key="1">ns2.example.com</item>
</dt_array>
</item>
<item key="add_ns">
<dt_array>
<item key="0">ns4.example.com</item>
<item key="1">ns3.example.com</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">Command completed
successfully</item>
577
Nameserver Commands
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
578
Nameserver Commands
create (nameserver)
Description
Action & object
action = create
object = nameserver
Usage
Creates a nameserver in the same domain space as the cookie's domain.
Note: This action is not the same as modify domain nameserver_list add,
which actually assigns a nameserver created with create nameserver to
serve the cookie's domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
add_to_all_registry
Optional
ipv6
Required if
ipv6 is not
submitted
Required if
The IPv6 address of the nameserver.
ipaddress is You can specify ipaddress or ipv6, or both.
not submitted
Note: This parameter is not supported for .CN.
579
Nameserver Commands
Parameter name Obligation
Definition/Value
name
Required
request
Request
<?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">create</item>
<item key="object">nameserver</item>
<item key="cookie">366828736:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="name">ns1.example.com</item>
<item key="ipaddress">212.112.123.11</item>
</dt_assoc>
580
Nameserver Commands
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">nameserver</item>
<item key="response_text">Nameserver Created</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
This example creates an IPv4 nameserver and adds it to any foreign
registries.
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
581
Nameserver Commands
</header>
<body>
<data_block>
<dt_array>
<item key="0">
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">create</item>
<item key="object">nameserver</item>
<item key="attributes">
<dt_assoc>
<item key="add_to_all_registry">
<dt_array>
<item key="0">.info</item>
<item key="1">.name</item>
<item key="2">.org</item>
<item key="3">.biz</item>
<item key="4">.de</item>
<item key="5">.cc</item>
<item key="6">.us</item>
</dt_array>
</item>
<item key="ipaddress">207.136.65.24</item>
<item key="name">ns6.example.com</item>
</dt_assoc>
</item>
<item key="cookie">591236085:3210384</item>
<item key="registrant_ip">111.222.333.444</item>
</dt_assoc>
</item>
</dt_array>
</data_block>
</body>
</OPS_envelope>
582
Nameserver Commands
Response
<?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_array>
<item key="0">
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">reply</item>
<item key="object">nameserver</item>
<item key="add_to_all_registry">
<dt_assoc>
<item key=".biz">
<dt_assoc>
<item key="is_success">1</item>
<item key="response_code">200</item>
successful</item>
<item key="response_text">Command
</dt_assoc>
</item>
<item key=".cc">
<dt_assoc>
<item key="is_success">1</item>
<item key="response_code">200</item>
successful</item>
<item key="response_text">Command
</dt_assoc>
</item>
<item key=".info">
<dt_assoc>
<item key="is_success">1</item>
583
Nameserver Commands
<item key="response_code">200</item>
<item key="response_text">Command
successful</item>
</dt_assoc>
</item>
<item key=".name">
<dt_assoc>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command
successful</item>
</dt_assoc>
</item>
<item key=".org">
<dt_assoc>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command
successful</item>
</dt_assoc>
</item>
<item key=".us">
<dt_assoc>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command
successful</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Nameserver Created</item>
</dt_assoc>
</item>
</dt_array>
584
Nameserver Commands
</data_block>
</body>
</OPS_envelope>
Example 3
This example submits the create nameserver command without end-user
credentials and creates an IPv4 nameserver without adding it to any foreign
registries.
Request
<?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">create</item>
<item key="object">nameserver</item>
<item key="attributes">
<dt_assoc>
<item key="ipaddress">212.112.123.11</item>
<item key="name">ns5.example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
585
Nameserver Commands
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">NAMESERVER</item>
<item key="is_success">1</item>
<item key="response_text">Nameserver Created</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 4
This example creates an IPv6 nameserver without adding to any foreign
registries.
Request
<?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">create</item>
<item key="object">nameserver</item>
<item key="cookie">366828736:3210384</item>
<item key="attributes">
<dt_assoc>
586
Nameserver Commands
<item key="name">ns1.example.com</item>
<item key="ipv6">2a00:1450:4008:c00:0:0:0:1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">nameserver</item>
<item key="response_text">Nameserver Created</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
587
Nameserver Commands
delete (nameserver)
Description
Action & object
action = delete
object = nameserver
Usage
Deletes a nameserver, provided it is not currently serving a domain.
Note: If the registry in which the nameserver object resides is serving a
domain outside of the system, delete nameserver returns an error and the
nameserver is not deleted.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
ipaddress
Required if
ipv6 is not
submitted
ipv6
Required if
The IPv6 address of the nameserver.
ipaddress is You can specify ipaddress or ipv6, or both.
not submitted
Note: This parameter is not supported for .CN.
name
Required
588
Nameserver Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Request
<?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">delete</item>
<item key="object">nameserver</item>
<item key="registrant_ip">216.40.46.115</item>
<item key="cookie">435686610:3185178</item>
<item key="attributes">
<dt_assoc>
<item key="ipaddress">24.22.112.11</item>
<item key="name">ns1.example.com</item>
</dt_assoc>
</item>
589
Nameserver Commands
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">nameserver</item>
<item key="response_text">Nameserver deleted</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Example 2
This example deletes an IPv6 nameserver.
Request
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
590
Nameserver Commands
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">delete</item>
<item key="object">nameserver</item>
<item key="registrant_ip">216.40.46.115</item>
<item key="cookie">435686610:3185178</item>
<item key="attributes">
<dt_assoc>
<item key="ipv6">2a00:1450:4008:c00:0:0:0:1</item>
<item key="name">ns3.example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">nameserver</item>
<item key="response_text">Nameserver deleted</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
591
Nameserver Commands
</data_block>
</body>
</OPS_envelope>
592
Nameserver Commands
get (nameserver)
Description
Action & object
action = get
object = nameserver
Usage
Queries nameservers that exist in the current user profile (current cookie).
These nameservers may or may not be currently assigned to a domain.
To see a list of nameservers serving the cookie's domain, use the action get
domain nameservers.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
name
Required
Specify all.
request
593
Nameserver Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
nameserver_list
Required
Nameserver_List
Parameters within the nameserver_list associative array are described
below.
Parameter
name
Obligation
Definition/Value
can_delete
Required
ipaddress
ipv6
name
Required
Deprecated
Parameter
name
Obligation
Definition/Value
encoding_type
Deprecated
594
Nameserver Commands
Request
<?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">get</item>
<item key="object">nameserver</item>
<item key="cookie">121321321:12341242424</item>
<item key="registrant_ip">111.121.121.121</item>
<item key="attributes">
<dt_assoc>
<item key="name">all</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
595
Nameserver Commands
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">reply</item>
<item key="object">nameserver</item>
<item key="response_code">200</item>
<item key="response_text">Query Successful</item>
<item key="is_success">1</item>
<item key="attributes">
<dt_assoc>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="name">ns1.example.com</item>
<item key="can_delete">1</item>
<item
key="ipaddress">191.11.121.111</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="name">ns2.example.com</item>
<item key="can_delete">0</item>
<item
key="ipaddress">11.111.121.111</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
596
Nameserver Commands
</body>
</OPS_envelope>
Example 2
This example returns information about an IPv6 nameserver.
Request
<?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">get</item>
<item key="object">nameserver</item>
<item key="cookie">121321321:12341242424</item>
<item key="registrant_ip">111.121.121.121</item>
<item key="attributes">
<dt_assoc>
<item key="name">all</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
597
Nameserver Commands
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">reply</item>
<item key="object">nameserver</item>
<item key="response_code">200</item>
<item key="response_text">Query Successful</item>
<item key="is_success">1</item>
<item key="attributes">
<dt_assoc>
<item key="nameserver_list">
<dt_array>
<item key="0">
<dt_assoc>
<item key="name">ns3.example.com</item>
<item key="can_delete">1</item>
<item
key="ipaddress">2a00:1450:4008:c00:0:0:0:1</item>
</dt_assoc>
</item>
<item key="1">
<dt_assoc>
<item key="name">ns4.example.com</item>
<item key="can_delete">0</item>
<item
key="ipaddress">2001:0db8:85a3:0000:0000:8a2e:0370:7334</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
598
Nameserver Commands
</data_block>
</body>
</OPS_envelope>
599
Nameserver Commands
modify (nameserver)
Description
Action & object
action = modify
object = nameserver
Usage
Modifies a nameserver. This command is not supported for .TEL domains.
Important: This command will overwrite the existing nameserver entries. If
a nameserver has two IPs, one for IPv4 and one for IPv6, and you specify
only one of these in the request, the other one will be removed from the
registry.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
ipaddress
Required if ipv6 is
not submitted
ipv6
name
Required if
ipaddress is not
submitted
Required
600
Nameserver Commands
Parameter
name
Obligation
Definition/Value
new_name
Optional. This field is The new, fully qualified domain name for the
only required if you nameserver
are changing the
name.
Deprecated
Parameter name
Obligation
Definition/Value
new_encoding_type
Deprecated
request
Request
<?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>
601
Nameserver Commands
<item key="action">modify</item>
<item key="object">nameserver</item>
<item key="cookie">892036263:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="name">ns1.example.com</item>
<item key="new_name">ns.boo.example.com</item>
<item key="ipaddress">212.112.123.11</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">nameserver</item>
<item key="response_text">Command successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
602
Nameserver Commands
Example 2
This example changes the name of an IPv6 nameserver.
Request
<?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">modify</item>
<item key="object">nameserver</item>
<item key="cookie">892036263:3210384</item>
<item key="attributes">
<dt_assoc>
<item key="name">ns1.example.com</item>
<item key="new_name">ns.test.example.com</item>
<item key="ipv6">2a00:1450:4008:c00:0:0:0:1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
603
Nameserver Commands
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">reply</item>
<item key="object">nameserver</item>
<item key="response_text">Command successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
604
Nameserver Commands
registry_add_ns
Description
Action & object
action = registry_add_ns
object = nameserver
Usage
Adds a nameserver to one or all registries to which a Reseller has access.
This command does not create a nameserver; a nameserver must already be
created (see "create (nameserver)").
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
all
Required
fqdn
Required
tld
Required
605
Nameserver Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
attributes
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
registry_name
Included in
response
Registry Names:
NSI
DENIC
NeuLevel
TV
NSI .cc
CIRA
ISOC/PIR
UK
VC
dotName
NeuStar
Afilias
'Successfully added.'
'Couldn't add nameserver: Registry doesn't support nameserver as a
separate object.'
'Couldn't add nameserver: Our system is experiencing technical
difficulties; please try again later. If problem persists, please contact
606
Nameserver Commands
support and state error message: REM server: -702, no RAs to service
the domain 'example.cc'.
Response
For "all" = "1"
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
607
Nameserver Commands
</header>
<body>
<data_block>
<dt_assoc>
<item key='protocol'>XCP</item>
<item key='action'>reply</item>
<item key='object'>nameserver</item>
<item key='attributes'>
<dt_assoc>
<item key='DENIC'>Successfully added</item>
<item key='VC'>Couldn't add nameserver: Unexpected response
from registry: 705: No RAs to service your domain.
</item>
<item key='TV'>Couldn't add nameserver: Registry doesn't
support nameserver
as a separate object.
</item>
<item key='Neulevel'>Successfully added</item>
<item key='CIRA'>Couldn't add nameserver: Registry doesn't
support nameserver
as a separate object.
</item>
<item key='ISOC/PIR'>Successfully added</item>
<item key='GNR'>Successfully added</item>
<item key='UK'>Couldn't add nameserver: Registry doesn't
support nameserver
as a separate object.
</item>
<item key='NSI_CC'>Successfully added</item>
<item key='Neustar'>Successfully added</item>
<item key='Afilias'>Successfully added</item>
</dt_assoc>
</item>
<item key='response_text'>Command verified</item>
<item key='is_success'>1</item>
<item key='response_code'>200</item>
608
Nameserver Commands
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
609
Nameserver Commands
registry_check_nameserver
Description
Action & object
action = registry_check_nameserver
object = nameserver
Usage
Verifies whether a nameserver exists at a particular registry.
Note: This command is not required for registries that do not have a
nameserver object, that is, .CA, .UK, .DE, .FR, and CH.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
fqdn
Required
tld
Required
610
Nameserver Commands
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
status
Included in
response
611
Nameserver Commands
<item key="fqdn">ns1.livedns.co.uk</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
Nameserver found
<?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_array>
<item key="0">
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">NAMESERVER</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command successful</item>
</dt_assoc>
</item>
</dt_array>
</data_block>
</body>
</OPS_envelope>
612
Nameserver Commands
Nameserver not found
<?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">NAMESERVER</item>
<item key="response_text">Command successful</item>
<item key="action">REPLY</item>
<item key="attributes">
<dt_assoc>
<item key="status">
<dt_assoc>
<item key="protocol">RAP</item>
<item key="_response_text">Authorization error</item>
<item key="_response_code">531</item>
<item key="attributes">
<dt_assoc>
<item key="trans_id">
<dt_assoc>
<item key="client_trid">216.40.33.601240404268810</item>
<item key="server_trid">4370771281240404268830</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
<item key="registry_response_code">2201</item>
<item key="is_success">0</item>
</dt_assoc>
613
Nameserver Commands
</item>
</dt_assoc>
</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
614
615
create_dns_zone
Description
Action & object
action = create_dns_zone
object = domain
Usage
Enables the DNS service for a domain. If you have created a DNS template,
you can specify the template in the command to assign initial DNS records.
The template is then associated with the domain, so if you later issue the
reset_dns_zone command, the records are set back to what is defined in the
template.
If you specify *blank* instead of a DNS template when you issue this
command, you can submit the values for the DNS records in this command
or you can use the set_dns_zone command to define the DNS records.
For information on creating a DNS zone template, see Managing DNS Zone
Information in the Resellers Guide to Domain Name Registration and
Management.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
dns_template
Optional
616
Obligation
Definition/Value
records
Required
A
AAAA
CNAME
MX
SRV
TXT
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation
Definition/Value
Optional
AAAA
Optional
CNAME
Optional
617
Obligation
Definition/Value
MX
Optional
SRV
Optional
Service Record.
The SRV record consists of the following:
priorityThe priority of the target host, lower
value means more preferred.
weightA relative weight for records with the
same priority.
subdomainThe third level of the domain
name, such as www or ftp.
hostnameThe FQDN of the domain that you
want to access.
portThe TCP or UDP port on which the service
is to be found.
request
618
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
nameservers_ok
Required
records
Required
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation
Definition/Value
Optional
619
Obligation
Definition/Value
AAAA
Optional
CNAME
Optional
MX
Optional
SRV
Optional
Service Record.
The SRV record consists of the following:
priorityThe priority of the target host, lower
value means more preferred.
weightA relative weight for records with the
same priority.
subdomainThe third level of the domain
name, such as www or ftp.
hostnameThe FQDN of the domain that you
want to access.
portThe TCP or UDP port on which the
service is to be found.
620
Obligation
Definition/Value
TXT
Optional
621
Response
If template is specified
<?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>
622
623
624
625
delete_dns_zone
Description
Action & object
action = delete_dns_zone
object = domain
Usage
Deletes the DNS zones defined for the specified domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
domain
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
626
Response
<?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>
627
628
force_dns_nameservers
Description
Action & object
action = force_dns_nameservers
object = domain
Usage
Changes the nameservers on your domain to use the DNS namservers:
ns1.systemdns.com, ns2.systemdns.com, and ns2.systemdns.com.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
629
Response
<?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>
630
631
get_dns_zone
Description
Action & object
action = get_dns_zone
object = domain
Usage
View the DNS records for a specified domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter name Obligation
Definition/Value
domain
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
632
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
nameservers_ok
Required
records
Required
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation
Definition/Value
Optional
AAAA
Optional
633
Obligation
Definition/Value
is normally written as eight groups of four
hexadecimal digits (i.e. 2003:0db8:
85a3:0000:0000:8a2e:
0370:7334
CNAME
Optional
MX
Optional
SRV
Optional
Service Record.
The SRV record consists of the following:
priorityThe priority of the target host, lower
value means more preferred.
weightA relative weight for records with the
same priority.
subdomainThe third level of the domain
name, such as www or ftp.
hostnameThe FQDN of the domain that you
want to access.
portThe TCP or UDP port on which the
service is to be found.
TXT
Optional
634
Response
<?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>
635
636
637
reset_dns_zone
Description
Action & object
action = reset_dns_zone
object = domain
Usage
Sets the DNS zone to the values in the specified template. If a template is
not specified in the command, the records are set to what was in the
template that was used to enable the DNS service.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
dns_template
Optional
domain
Required
request
638
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
nameservers_ok
Required
records
Required
A
AAAA
CNAME
MX
SRV
TXT
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation Definition/Value
Optional
AAAA
Optional
639
Obligation Definition/Value
CNAME
Optional
MX
Optional
SRV
Optional
Service Record.
The SRV record consists of the following:
priorityThe priority of the target host, lower
value means more preferred.
weightA relative weight for records with the
same priority.
subdomainThe third level of the domain
name, such as www or ftp.
hostnameThe FQDN of the domain that you
want to access.
portThe TCP or UDP port on which the service
is to be found.
TXT
Optional
640
641
Response
If template is specified
<?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">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="records">
<dt_assoc>
642
643
644
645
646
set_dns_zone
Description
Action & object
action = set_dns_zone
object = domain
Usage
Set the records for a domain's DNS zone.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
records
Required
647
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation
Definition/Value
Optional
AAAA
Optional
CNAME
Optional
MX
Optional
648
Obligation
Definition/Value
nameservers_ok
Required
records
Required
SRV
Optional
A
AAAA
CNAME
MX
SRV
TXT
Service Record.
The SRV record consists of the following:
priorityThe priority of the target host,
lower value means more preferred.
weightA relative weight for records with
the same priority.
subdomainThe third level of the domain
name, such as www or ftp.
hostnameThe FQDN of the domain that
you want to access.
portThe TCP or UDP port on which the
service is to be found.
TXT
Optional
649
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
nameservers_ok
Required
records
Required
650
Records
Parameters within the records associative array are described below.
Parameter
name
Obligation
Definition/Value
Optional
AAAA
Optional
CNAME
Optional
MX
Optional
651
Obligation
Definition/Value
SRV
Optional
Service Record.
The SRV record consists of the following:
priorityThe priority of the target host, lower
value means more preferred.
weightA relative weight for records with the
same priority.
subdomainThe third level of the domain
name, such as www or ftp.
hostnameThe FQDN of the domain that you
want to access.
portThe TCP or UDP port on which the
service is to be found.
TXT
Optional
652
653
654
Response
<?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>
655
656
657
658
659
create_domain_forwarding
Description
Action & object
action = create_domain_forwarding
object = domain
Usage
Create domain forwarding service that is used to redirect visitors from one
web address to another. Once you create domain forwarding, you need to
use the set_domain_forwarding command to configure the settings.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Optional
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
660
Response
<?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>
661
662
delete_domain_forwarding
Description
Action & object
action = delete_domain_forwarding
object = domain
Usage
Delete the domain forwarding service for the specified domain.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Optional
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
663
Response
<?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>
664
665
get_domain_forwarding
Description
Action & object
action = get_domain_forwarding
object = domain
Usage
Queries the domain forwarding settings for a specified domain.
request
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
forwarding
Required
666
Forwarding
Parameters within the forwarding associative array are described below.
Parameter
name
Obligation
Definition/Value
description
Optional
destination_url
Optional
enabled
Optional
1Domain forwarding is on
keywords
Optional
masked
Optional
subdomain
Required
title
Optional
667
Response
<?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'>Command Successful</item>
<item key='response_code'>200</item>
<item key='is_success'>1</item>
<item key='attributes'>
<dt_assoc>
<item key='forwarding'>
<dt_array>
<item key='0'>
668
Forward</item>
<item key='enabled'>1</item>
</dt_assoc>
</item>
</dt_array>
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
669
set_domain_forwarding
Description
Action & object
action = set_domain_forwarding
object = domain
Usage
Configures the domain forwarding settings for a domain.
Note: Domain forwarding must already have been created for the domain.
See create_domain_forwarding.
The way in which the domain forwarding behaves depends on the format of
the domain name to which it applies:
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
forwarding
Optional
670
Forwarding
Parameters within the forwarding associative array are described below.
Parameter
name
Obligation
Definition/Value
description
Optional
destination_url Optional
enabled
keywords
Optional
Optional
masked
subdomain
Optional
Required
title
Optional
671
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
672
Response
<?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">Command Successful</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
673
User Commands
This section contains the following commands:
674
User Commands
add (subuser)
Description
Action & object
action = add
object = subuser
Usage
Creates a subuser for a user's account. Only one subuser can exist per
account.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
sub_password
Required
sub_permission
Required
sub_username
Required
1owner
2admin
4billing
8tech
16nameservers
32rsp_whois_info
675
User Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
676
User Commands
</body>
</OPS_envelope>
Response
<?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">SUBUSER</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
677
User Commands
delete (subuser)
Description
Action & object
action = delete
object = subuser
Usage
Deletes a subuser.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
sub_id
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
678
User Commands
Response
<?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>
679
User Commands
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">SUBUSER</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
680
User Commands
get (subuser)
Description
Action & object
action = get
object = subuser
Usage
Queries a domain's sub-user data.
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
attributes
Attributes
Parameters within the attributes associative array are described below. If
there is no sub-user on the domain, the attributes are empty.
Parameter
name
Obligation
Definition/Value
id
Required
681
User Commands
Parameter
name
Obligation
Definition/Value
permission
Required
username
Required
1owner
2admin
4billing
8tech
16nameservers
32rsp_whois_info
682
User Commands
Response
<?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">SUBUSER</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="permission">2</item>
<item key="username">subludak</item>
<item key="id">2532880</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
683
User Commands
get (userinfo)
Description
Action & object
action = get
object = userinfo
Usage
Retrieves a user's general information.
action-cookie combination.
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
attributes
The Reseller Agent (RSA) could respond with a 250 response_code, which
indicates that the action was submitted for processing in an asynchronous
registry. The request is processed when the registry's reply is received.
Performing a set cookie or get userinfo command indicates if there is an
action currently waiting on a domain. This information can be used to alert
the user that there is a waiting request.
684
User Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
capabilities
Required
dns_errors
domain
Required
domain_count
Required
encoding_type
Optional
expiredate
Required
f_owner
Required
685
User Commands
Parameter name
Obligation
Definition/Value
permission
Required
1owner
2admin
4billing
8tech
16nameservers
32rsp_whois_info
username
Required
waiting_requests_no
Required
Capabilities
Parameters within the capabilities associative array are described below.
Parameter name Obligation
Definition/Value
change_ips_tag
domain_auth_info
Optional
Required
1True
0False
Required
1True
0False
686
User Commands
Parameter name Obligation
Definition/Value
uk_whois_opt
Optional
0End user is not eligible to use the optout feature for .UK WHOIS
Deprecated
Parameter name
Obligation
Definition/Value
waiting_request
Deprecated
Replaced by waiting_requests_no
687
User Commands
Response
<?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">USERINFO</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="waiting_requests_no">8</item>
<item key="domain">example.org.uk</item>
<item key="encoding_type"/>
<item key="expiredate">2007-11-25 00:00:00</item>
<item key="permission"/>
<item key="domain_count">131</item>
<item key="f_owner">1</item>
<item key="username">aaaa</item>
<item key="capabilities">
<dt_assoc>
<item key="forwarding_email">0</item>
<item key="domain_auth_info">0</item>
<item key="uk_whois_opt">1</item>
<item key="change_ips_tag">1</item>
</dt_assoc>
</item>
</dt_assoc>
688
User Commands
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
689
User Commands
modify (subuser)
Description
Action & object
action = modify
object = subuser
Usage
Modifies a domain's sub-user data.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
sub_id
Required
sub_password
Required
sub_permission
Required
sub_username
Required
1owner
2admin
4billing
8tech
16nameservers
32rsp_whois_info
690
User Commands
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
691
User Commands
</data_block>
</body>
</OPS_envelope>
Response
<?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">SUBUSER</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
692
Authentication Commands
This section contains the following commands:
change (ownership)changes the username and password of the
profile that owns the cookie's domain.
change (password)changes the password of the profile associated
with the cookie.
send_authcodesends the Authcode for an EPP domain.
send_password (domain)sends the domain password to the domain's
admin contact.
693
Authentication Commands
change (ownership)
Description
Action & object
action = change
object = ownership
Usage
Changes the username and password of the profile that owns the cookie's
domain.
Note: After issuing this command, in order to continue issuing further
commands for the domain, you must delete the current cookie and set
another.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
move_all
Optional
password
Required
reg_domain
Optional
694
Authentication Commands
Parameter
name
Obligation
Definition/Value
profile to another (already existing) profile. If
reg_domain is not included, the username and
password provided in the request are used to create a
new profile.
username
Required
request
695
Authentication Commands
<item key="attributes">
<dt_assoc>
<item key="move_all">1</item>
<item key="password">newprofile</item>
<item key="username">newprofile</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">OWNERSHIP</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
696
Authentication Commands
change (password)
Description
Action & object
action = change
object = password
Usage
Changes the password of the profile associated with the cookie.
Note: After issuing this action, you should delete the current cookie and set
another in order to keep the profile information current.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
reg_password
Required
request
697
Authentication Commands
response_text = message describing the outcome of the request
Response
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
698
Authentication Commands
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">PASSWORD</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
699
Authentication Commands
send_authcode
Description
Action & object
action = send_authcode
object = domain
Usage
Sends the Authcode for an EPP domain to the admin contact. If the domain
for which the request is made does not use the EPP protocol, an error is
returned.
Note: A cookie does not need to be set to use this command.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain_name
Required
request
700
Authentication Commands
Response
<?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>
701
Authentication Commands
<item key="action">reply</item>
<item key="object">domain</item>
<item key="response_text">Message sent</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
702
Authentication Commands
send_password (domain)
Description
Action & object
action = send_password
object = domain
Usage
Sends an email containing the domain password to the domain's admin
contact.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain_name
Required
send_to
Required
sub_user
Required
1Send to sub-user
703
Authentication Commands
request
704
Authentication Commands
Response
<?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">Message sent</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
705
Cookie/Session Commands
This section contains the following commands:
delete (cookie)deletes a cookie.
quit (session)cleanly terminates the connection.
set (cookie)creates a cookie.
update (cookie)changes the domain associated with the current
cookie.
706
Cookie/Session Commands
delete (cookie)
Description
Action & object
action = delete
object = cookie
Usage
Deletes a cookie.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
cookie
Required
request
707
Cookie/Session Commands
Response
<?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>
708
Cookie/Session Commands
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
<item key="object">COOKIE</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
709
Cookie/Session Commands
quit (session)
Description
Action & object
action = quit
object = session
Usage
Cleanly terminates the connection. This command is required only if your
connection method is CBC (crypt type can be Blowfish or DES).
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
710
Cookie/Session Commands
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">quit</item>
<item key="object">session</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">SESSION</item>
<item key="response_text">Closing connection</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
711
Cookie/Session Commands
set (cookie)
Description
Action & object
action = set
object = cookie
Usage
Creates a cookie for use in commands where a cookie is required to access
the system.
Attributes
Parameters within the attributes associative array are described below.
Parameter
name
Obligation
Definition/Value
domain
Required
reg_password
Required
reg_username
Required
712
Cookie/Session Commands
is_success = a Boolean is returned, indicating success or failure of the
request
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
cookie
Required
domain_count
Required
expiredate
Required
f_owner
Required
1 User is owner
last_access_time
Required
last_ip
Required
permission
Required
redirect_url
Optional
1owner
2admin
4billing
8tech
16nameservers
32rsp_whois_info
713
Cookie/Session Commands
Parameter name
Obligation
Definition/Value
tucowspark@tucows.com.
If the domain is a Storefront domain, the
value is the URL for the associated Storefront
Domain Manager.
waiting_requests_no
Required
Deprecated
Parameter name
Obligation
Definition/Value
waiting_request
Deprecated
Replaced by "waiting_requests_no"
714
Cookie/Session Commands
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
715
Cookie/Session Commands
Response
<?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">cookie</item>
<item key="response_text">Command Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="attributes">
<dt_assoc>
<item key="waiting_requests_no">0</item>
<item key="permission"/>
<item key="cookie">920954818:3214550:7453745</item>
<item key="domain_count">131</item>
<item key="f_owner">1</item>
<item key="last_access_time">1082751795</item>
<item key="encoding_type"/>
<item key="last_ip">10.0.11.215</item>
<item key="expiredate">2007-11-25 00:00:00</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
716
Cookie/Session Commands
update (cookie)
Description
Action & object
action = update
object = cookie
Usage
Allows the client to change the domain associated with the current cookie.
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
domain
Required
domain_new
Required
reg_username
Required
reg_password
Required
request
response_code = response code indicating outcome of the request
response_text = message describing the outcome of the request
attributes
717
Cookie/Session Commands
Attributes
Parameters within the attributes associative array are described below.
Parameter name
Obligation
Definition/Value
cookie
Required
domain_count
Required
expiredate
Required
f_owner
Required
waiting_requests_no
Required
1User is owner
Deprecated
Parameter name
Obligation
Definition/Value
waiting_request
Deprecated
Replaced by "waiting_requests_no"
718
Cookie/Session Commands
<item key="action">update</item>
<item key="object">cookie</item>
<item key="registrant_ip">10.0.11.121</item>
<item key="cookie">880117898:3214551</item>
<item key="attributes">
<dt_assoc>
<item key="domain_new">example.me.uk</item>
<item key="reg_username">robson</item>
<item key="domain">example.co.uk</item>
<item key="reg_password"/>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?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">COOKIE</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="response_text">Command Successful</item>
<item key="attributes">
<dt_assoc>
<item key="waiting_requests_no">2</item>
719
Cookie/Session Commands
<item key="f_owner">1</item>
<item key="cookie">880117898:3214551:7453745</item>
<item key="domain_count">172</item>
<item key="expiredate">2007-11-25 00:00:00</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
720
721
Regular transfers
Key
Value
action
Confirm
domain
<domain_name>
id
<transfer_request_id>
action
whois_transfer
domain
<domain_name>
unique_id
<transfer_request_id>
action
do_confirm
domain
<domain_name>
unique_id
<transfer_request_id>
phone
phone_number
action
cancel_transfer
domain
<domain_name>
unique_id
<transfer_request_id>
722
Page flow
Notes:
Bulk transfers
Key
Value
action
confirm_bulk_transfer
bt
bulk_transfer_id
id
<transfer_request_id>
action
do_confirm_bulk_transfer
bulk_transfer_id
unique_id
<transfer_request_id>
phone
phone_number
action
cancel_bulk_transfer
domain
<domain_name>
unique_id
<transfer_request_id>
723
Page flow
Notes:
The Confirm page must contain the string 'Listed below are the
domains that will be transferred:' (List of domains located between
<menu> </menu>).
The Success page must contain the string 'Thank you for confirming
batch transfer'.
The Cancel page must contain the string 'has been cancelled'.
Transfers away
Key
Value
action
confirm_transfer_away
away
domain
<domain_name>
id
<transfer_request_id>
action
do_confirm_away
domain
<domain_name>
unique_id
<transfer_request_id>
phone
phone_number
action
do_cancel_away
domain
<domain_name>
unique_id
<transfer_request_id>
724
Page flow
Notes:
The Confirm page must contain the string 'away from' (To include time
and registrar name, the page must also contain the string 'this request
was entered at <date> by <registrar>').
The Success page must contain the string 'Thank you. Your domain will
be transferred to'.
The Cancel page must contain the string 'Thank you. Your domain will
NOT be transferred to'.
725
December 3, 2013
October 8, 2013
Added information about the tld_data requirements for .DE and .DK
domains.
In contact_set, if country = MX, you must use the 2 character code for
the state value.
Added a table listing the contacts required for each gTLD and ccTLD.
November 1, 2012
726
December 8, 2011
December 6, 2011
727
You can now use the redeem domain command to redeem .COM,
.NET, .IT, and .NL domains that have expired but are within the
redemption grace period (previously this command could only be used
for .CA)
The create, modify, delete and get nameserver commands now
accept IPv6 addresses.
Incremented version to 3.9.3.
728