Personal tools

From HEXONET Wiki

Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 50: Line 50:
  
 
{{Sidebar}}__NOTOC__
 
{{Sidebar}}__NOTOC__
<h4>EPP example to apply a Data Quality Lock. This command is only available to RegistrarOC customers with an own .UK accreditation. Please note that although the command refers to a dedicated domain name all other domain names with share the same registrant contact will also be locked!</h4>
+
<h4>EPP example to remove a Data Quality Lock. This command is only available to RegistrarOC customers with an own .UK accreditation. Please note that although the command refers to a dedicated domain name all other domain names with share the same registrant contact will also be unlocked!</h4>
  
 
COMMAND
 
COMMAND
 
<pre>
 
<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>
 +
        <update>
 +
            <domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
 +
                <domain:name>polonius-1api-de.co.uk</domain:name>
 +
            </domain:update>
 +
        </update>
 +
        <extension>
 +
            <keyvalue:extension xmlns:keyvalue='http://schema.ispapi.net/epp/xml/keyvalue-1.0'>
 +
                <keyvalue:kv key='X-NOMINET-DATA-QUALITY-LOCK' value='' />
 +
            </keyvalue:extension>
 +
        </extension>
 +
        <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
 +
    </command>
 +
</epp>
 
</pre>
 
</pre>
  
 
RESPONSE
 
RESPONSE
 
<pre>
 
<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>
 +
            <extValue>
 +
                <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
 +
                    <epp:undef/>
 +
                </value>
 +
                <reason>200 Command completed successfully</reason>
 +
            </extValue>
 +
        </result>
 +
        <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"/>
 +
        </extension>
 +
        <trID>
 +
            <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
 +
            <svTRID>RW-4228-1399048538508276</svTRID>
 +
        </trID>
 +
    </response>
 +
</epp>
 
</pre>
 
</pre>

Latest revision as of 16:38, 2 May 2014

EPP example to apply a Data Quality Lock. This command is only available to RegistrarOC customers with an own .UK accreditation. Please note that although the command refers to a dedicated domain name all other domain names with share the same registrant contact will also be locked!

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>
        <update>
            <domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                <domain:name>polonius-1api-de.co.uk</domain:name>
            </domain:update>
        </update>
        <extension>
            <keyvalue:extension xmlns:keyvalue='http://schema.ispapi.net/epp/xml/keyvalue-1.0'>
                <keyvalue:kv key='X-NOMINET-DATA-QUALITY-LOCK' value='1' />
            </keyvalue:extension>
        </extension>
        <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>
            <extValue>
                <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
                    <epp:undef/>
                </value>
                <reason>200 Command completed successfully</reason>
            </extValue>
        </result>
        <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"/>
        </extension>
        <trID>
            <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
            <svTRID>RW-26558-1399043979395902</svTRID>
        </trID>
    </response>
</epp>



EPP example to remove a Data Quality Lock. This command is only available to RegistrarOC customers with an own .UK accreditation. Please note that although the command refers to a dedicated domain name all other domain names with share the same registrant contact will also be unlocked!

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>
        <update>
            <domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                <domain:name>polonius-1api-de.co.uk</domain:name>
            </domain:update>
        </update>
        <extension>
            <keyvalue:extension xmlns:keyvalue='http://schema.ispapi.net/epp/xml/keyvalue-1.0'>
                <keyvalue:kv key='X-NOMINET-DATA-QUALITY-LOCK' value='' />
            </keyvalue:extension>
        </extension>
        <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>
            <extValue>
                <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
                    <epp:undef/>
                </value>
                <reason>200 Command completed successfully</reason>
            </extValue>
        </result>
        <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"/>
        </extension>
        <trID>
            <clTRID>HEXONET-EPP-EXAMPLE</clTRID>
            <svTRID>RW-4228-1399048538508276</svTRID>
        </trID>
    </response>
</epp>