Personal tools

From HEXONET Wiki

Jump to: navigation, search
(Created page with "{{Sidebar}}__NOTOC__ EPP example of an availability check for .UK domain names that are not subject to a right of registration: COMMAND <pre> <?xml version="1.0" encoding="U...")
 
 
(6 intermediate revisions by one user not shown)
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>
EPP example of an availability check for .UK domain names that are not subject to a right of registration:
+
  
 
COMMAND
 
COMMAND
Line 15: Line 14:
 
             </domain:check>
 
             </domain:check>
 
         </check>
 
         </check>
         <clTRID>HEXONET-12345</clTRID>
+
         <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
 
     </command>
 
     </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="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>
 +
</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>
 +
    </response>
 +
</epp>
 +
</pre>
 +
 +
 +
<h4>EPP example of an availability check for a single .UK domain name that is basically available for registration but is subject to a right of registration. The response indicates which domain is the basis for the right of registration:</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: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:chkData>
 +
        </resData>
 +
        <extension>
 +
            <keyvalue:extension xmlns:keyvalue="http://schema.ispapi.net/epp/xml/keyvalue-1.0" xsi:schemaLocation="http://schema.ispapi.net/epp/xml/keyvalue-1.0 keyvalue-1.0.xsd">
 +
                <keyvalue:kv key="X-UK-RIGHT-OF-REGISTRATION-DOMAIN" value="adriana-1api-de.co.uk"/>
 +
            </keyvalue:extension>
 +
        </extension>
 +
        <trID>
 +
            <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
 +
            <svTRID>RO-26558-1398927192645882</svTRID>
 +
        </trID>
 +
    </response>
 
</epp>
 
</epp>
 
</pre>
 
</pre>

Latest revision as of 06:55, 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>


EPP example of an availability check for a single .UK domain name that is basically available for registration but is subject to a right of registration. The response indicates which domain is the basis for the 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>adriana-1api-de.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:chkData>
        </resData>
        <extension>
            <keyvalue:extension xmlns:keyvalue="http://schema.ispapi.net/epp/xml/keyvalue-1.0" xsi:schemaLocation="http://schema.ispapi.net/epp/xml/keyvalue-1.0 keyvalue-1.0.xsd">
                <keyvalue:kv key="X-UK-RIGHT-OF-REGISTRATION-DOMAIN" value="adriana-1api-de.co.uk"/>
            </keyvalue:extension>
        </extension>
        <trID>
            <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
            <svTRID>RO-26558-1398927192645882</svTRID>
        </trID>
    </response>
</epp>