Personal tools

From HEXONET Wiki

Jump to: navigation, search


COMMAND

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
  <update>
    <domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
      <domain:name>testdomain-restore.nl</domain:name>
    </domain:update>
  </update>
  <extension>
    <keyvalue:extension xmlns:keyvalue='http://schema.ispapi.net/epp/xml/keyvalue-1.0'>
      <keyvalue:kv key='COMMAND' value='RestoreDomain' />
    </keyvalue:extension>
  </extension>
  <clTRID>ABC-12345</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="1001">
            <msg>Command completed successfully; action pending</msg>
            <extValue>
                <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
                    <epp:undef/>
                </value>
                <reason>200 Deletion of the domain name has been reversed.</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>ABC-12345</clTRID>
            <svTRID>RW-797-1360081791286411</svTRID>
        </trID>
    </response>
</epp>