From HEXONET Wiki
| Line 1: | Line 1: | ||
| − | {{Sidebar}}__NOTOC__ | + | {{Sidebar}}__NOTOC__<h4>EPP example of an availability check for 2nd. level .UK domain names that are not subject to a right of registration:</h4> |
| − | <h4>EPP example of an availability check for 2nd. level .UK domain names that are not subject to a right of registration:</h4> | + | |
COMMAND | COMMAND | ||
Revision as of 06:42, 1 May 2014
EPP example of an availability check for 2nd. level .UK domain names that are not subject to a right of registration:
COMMAND
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
<check>
<domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<domain:name>randomdomain.uk</domain:name>
<domain:name>nic.uk</domain:name>
<domain:name>example.uk</domain:name>
</domain:check>
</check>
<clTRID>HEXONET-EPP-EXAMPLE</clTRID>
</command>
</epp>
RESPONSE
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:chkData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<domain:cd>
<domain:name avail="1">randomdomain.uk</domain:name>
</domain:cd>
<domain:cd>
<domain:name avail="0">nic.uk</domain:name>
</domain:cd>
<domain:cd>
<domain:name avail="1">example.uk</domain:name>
</domain:cd>
</domain:chkData>
</resData>
<trID>
<clTRID>HEXONET-EPP-EXAMPLE</clTRID>
<svTRID>RO-26558-1398926441790440</svTRID>
</trID>
</response>
</epp>