Personal tools

From HEXONET Wiki

Jump to: navigation, search
 
Line 1: Line 1:
 
{{Sidebar}}__NOTOC__
 
{{Sidebar}}__NOTOC__
 +
  
 
COMMAND
 
COMMAND
Line 8: Line 9:
 
     <create>
 
     <create>
 
       <domain:create xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
 
       <domain:create xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
         <domain:name>abcdef123456.de</domain:name>
+
         <domain:name>abcdef123456t.de</domain:name>
 
         <domain:period unit="y">1</domain:period>
 
         <domain:period unit="y">1</domain:period>
 
         <domain:ns>
 
         <domain:ns>
Line 34: Line 35:
 
<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">
 
<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>
 
     <response>
         <result code="2302">
+
         <result code="1000">
             <msg>Object exists</msg>
+
             <msg>Command completed successfully</msg>
 
             <extValue>
 
             <extValue>
 
                 <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
 
                 <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
 
                     <epp:undef/>
 
                     <epp:undef/>
 
                 </value>
 
                 </value>
                 <reason>540 Attribute value is not unique</reason>
+
                 <reason>200 Command completed successfully</reason>
 
             </extValue>
 
             </extValue>
 
         </result>
 
         </result>
 +
        <resData>
 +
            <domain:creData 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>abcdef123456t.de</domain:name>
 +
                <domain:crDate>2013-01-24T14:49:02.0Z</domain:crDate>
 +
                <domain:exDate>2014-01-24T14:49:00.0Z</domain:exDate>
 +
            </domain:creData>
 +
        </resData>
 
         <trID>
 
         <trID>
 
             <clTRID>ABC-12345</clTRID>
 
             <clTRID>ABC-12345</clTRID>
             <svTRID>RO-747-1358937090777609</svTRID>
+
             <svTRID>RW-747-1359038942314359</svTRID>
 
         </trID>
 
         </trID>
 
     </response>
 
     </response>
 
</epp>
 
</epp>
 
</pre>
 
</pre>

Latest revision as of 15:11, 24 January 2013


COMMAND

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <domain:create xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
        <domain:name>abcdef123456t.de</domain:name>
        <domain:period unit="y">1</domain:period>
        <domain:ns>
          <domain:hostObj>ns1.hexonet.net</domain:hostObj>
          <domain:hostObj>ns2.hexonet.net</domain:hostObj>
        </domain:ns>
        <domain:registrant>P-AIL28309</domain:registrant>
        <domain:contact type="admin">P-AIL28309</domain:contact>
        <domain:contact type="tech">P-AIL28309</domain:contact>
        <domain:contact type="billing">P-AIL28309</domain:contact>
        <domain:authInfo>
          <domain:pw>2fooBAR</domain:pw>
        </domain:authInfo>
      </domain:create>
    </create>
    <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</reason>
            </extValue>
        </result>
        <resData>
            <domain:creData 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>abcdef123456t.de</domain:name>
                <domain:crDate>2013-01-24T14:49:02.0Z</domain:crDate>
                <domain:exDate>2014-01-24T14:49:00.0Z</domain:exDate>
            </domain:creData>
        </resData>
        <trID>
            <clTRID>ABC-12345</clTRID>
            <svTRID>RW-747-1359038942314359</svTRID>
        </trID>
    </response>
</epp>