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...")
 
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 30: Line 27:
 
</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.
 
 
 
  
  

Revision as of 15:06, 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>abcdef123456.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="2302">
            <msg>Object exists</msg>
            <extValue>
                <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
                    <epp:undef/>
                </value>
                <reason>540 Attribute value is not unique</reason>
            </extValue>
        </result>
        <trID>
            <clTRID>ABC-12345</clTRID>
            <svTRID>RO-747-1358937090777609</svTRID>
        </trID>
    </response>
</epp>