Personal tools

From HEXONET Wiki

Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{Sidebar}}__NOTOC__
 
{{Sidebar}}__NOTOC__
 +
 +
This is the transfer-request example for a domain which is registered with another registrar.
  
  
Line 12: Line 14:
 
         <domain:period unit="y">1</domain:period>
 
         <domain:period unit="y">1</domain:period>
 
         <domain:authInfo>
 
         <domain:authInfo>
           <domain:pw>mypass1!</domain:pw>
+
           <domain:pw>xxxxxxxx</domain:pw>
 
         </domain:authInfo>
 
         </domain:authInfo>
 
       </domain:transfer>
 
       </domain:transfer>
Line 52: Line 54:
 
     </response>
 
     </response>
 
</epp>
 
</epp>
 +
</pre>
 +
 +
 +
If a domain is already registered within HEXONET you will have to request a so-called usertransfer
 +
 +
COMMAND
 +
 +
<pre>
 +
<?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>
 +
 
</pre>
 
</pre>

Latest revision as of 14:41, 18 December 2015


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>