Personal tools

From HEXONET Wiki

Jump to: navigation, search
(Created page with "{{Sidebar}}__NOTOC__ The '''AddDomain''' command is used to register new domain names. For a basic AddDomain command only few parameters are required ''(Requirements for the A...")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{Sidebar}}__NOTOC__
 
{{Sidebar}}__NOTOC__
The '''AddDomain''' command is used to register new domain names. For a basic AddDomain command only few parameters are required ''(Requirements for the AddDomain command can be different for specific TLDs. Please see the corresponding TLD page for further information)''.
 
  
{{Warnbox| '''IMPORTANT:''' Please have a look at the {{Template:Pdf|DOMAIN_API_Reference.pdf| Domain API-Manual}} for a current list of allowed parameters.}}
 
  
 
COMMAND
 
COMMAND
Line 11: 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 30: Line 28:
 
</epp>
 
</epp>
 
</pre>
 
</pre>
 
 
<b>Notice:</b>
 
x-pro-activation = (TEXT)
 
 
x-pro-pw = (TEXT)
 
 
x-pro-roid= (TEXT)
 
 
Those 3 parameters are necessary to activate a Third-Level-Resolving .PRO domain after creating a A/V record.
 
 
x-pro-redirect = (TEXT)
 
 
This parameter can be used to enter a REDIRECT of a SecondLevelRedirecting .PRO domain to a Third-Level-Domain.
 
 
 
  
  
Line 53: 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>