From HEXONET Wiki
m |
|||
| Line 44: | Line 44: | ||
<clTRID>HEXONET-EPP-EXAMPLE</clTRID> | <clTRID>HEXONET-EPP-EXAMPLE</clTRID> | ||
<svTRID>RO-26558-1398926441790440</svTRID> | <svTRID>RO-26558-1398926441790440</svTRID> | ||
| + | </trID> | ||
| + | </response> | ||
| + | </epp> | ||
| + | </pre> | ||
| + | |||
| + | <h4>EPP example of an availability check for three .UK domain names that are basically available for registration but are subject to a right of registration and a forth .UK domain name that is not available for registration at all:</h4> | ||
| + | |||
| + | COMMAND | ||
| + | <pre> | ||
| + | <?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>adriana-1api-de.uk</domain:name> | ||
| + | <domain:name>oberon-1api-de.uk</domain:name> | ||
| + | <domain:name>ophelia-1api-de.uk</domain:name> | ||
| + | <domain:name>nic.uk</domain:name> | ||
| + | </domain:check> | ||
| + | </check> | ||
| + | <clTRID>HEXONET-EPP-EXAMPLE</clTRID> | ||
| + | </command> | ||
| + | </epp> | ||
| + | </pre> | ||
| + | |||
| + | |||
| + | RESPONSE | ||
| + | <pre> | ||
| + | <?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="0">adriana-1api-de.uk</domain:name> | ||
| + | <domain:reason>right of registration</domain:reason> | ||
| + | </domain:cd> | ||
| + | <domain:cd> | ||
| + | <domain:name avail="0">oberon-1api-de.uk</domain:name> | ||
| + | <domain:reason>right of registration</domain:reason> | ||
| + | </domain:cd> | ||
| + | <domain:cd> | ||
| + | <domain:name avail="0">ophelia-1api-de.uk</domain:name> | ||
| + | <domain:reason>right of registration</domain:reason> | ||
| + | </domain:cd> | ||
| + | <domain:cd> | ||
| + | <domain:name avail="0">nic.uk</domain:name> | ||
| + | </domain:cd> | ||
| + | </domain:chkData> | ||
| + | </resData> | ||
| + | <trID> | ||
| + | <clTRID>HEXONET-EPP-EXAMPLE</clTRID> | ||
| + | <svTRID>RO-26558-1398926888321855</svTRID> | ||
</trID> | </trID> | ||
</response> | </response> | ||
</epp> | </epp> | ||
</pre> | </pre> | ||
Revision as of 06:51, 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>
EPP example of an availability check for three .UK domain names that are basically available for registration but are subject to a right of registration and a forth .UK domain name that is not available for registration at all:
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>adriana-1api-de.uk</domain:name>
<domain:name>oberon-1api-de.uk</domain:name>
<domain:name>ophelia-1api-de.uk</domain:name>
<domain:name>nic.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="0">adriana-1api-de.uk</domain:name>
<domain:reason>right of registration</domain:reason>
</domain:cd>
<domain:cd>
<domain:name avail="0">oberon-1api-de.uk</domain:name>
<domain:reason>right of registration</domain:reason>
</domain:cd>
<domain:cd>
<domain:name avail="0">ophelia-1api-de.uk</domain:name>
<domain:reason>right of registration</domain:reason>
</domain:cd>
<domain:cd>
<domain:name avail="0">nic.uk</domain:name>
</domain:cd>
</domain:chkData>
</resData>
<trID>
<clTRID>HEXONET-EPP-EXAMPLE</clTRID>
<svTRID>RO-26558-1398926888321855</svTRID>
</trID>
</response>
</epp>