Personal tools

From HEXONET Wiki

Revision as of 14:41, 18 December 2015 by WikiAdmin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This is the transfer-request example for a domain which is registered with another registrar.


COMMAND

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <transfer op="request">
      <domain:transfer xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
        <domain:name>testdomain123.com</domain:name>
        <domain:period unit="y">1</domain:period>
        <domain:authInfo>
          <domain:pw>xxxxxxxx</domain:pw>
        </domain:authInfo>
      </domain:transfer>
    </transfer>
    <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="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; domain transfer initiated</reason>
            </extValue>
        </result>
        <resData>
            <domain:trnData 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>testdomain123.com</domain:name>
                <domain:trStatus>pending</domain:trStatus>
                <domain:reID>test.user</domain:reID>
                <domain:reDate>2013-02-06T15:01:33.0Z</domain:reDate>
                <domain:acID>EXTERNAL</domain:acID>
                <domain:acDate>2013-02-11T15:01:33.0Z</domain:acDate>
            </domain:trnData>
        </resData>
        <trID>
            <clTRID>ABC-12345</clTRID>
            <svTRID>RW-747-1360162893078186</svTRID>
        </trID>
    </response>
</epp>


If a domain is already registered within HEXONET you will have to request a so-called usertransfer

COMMAND

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <transfer op="request">
      <domain:transfer xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
        <domain:name>testdomain123.com</domain:name>
        <domain:period unit="y">1</domain:period>
        <domain:authInfo>
          <domain:pw>xxxxxxxx</domain:pw>
        </domain:authInfo>
      </domain:transfer>
    </transfer>
    <extension>
    <keyvalue:extension xmlns:keyvalue='http://schema.ispapi.net/epp/xml/keyvalue-1.0'>
      <keyvalue:kv key='ACTION' value='USERTRANSFER' />
    </keyvalue:extension>
 </extension>
    <clTRID>ABC-12345</clTRID>
  </command>
</epp>