Skip to Main Content

Nominet

Log in to the online service
Log in to Online Services
Skip Primary Navigation
Skip All Secondary and Tertiary Navigation

Print this page  | Contact Us

Create command



The create command allows you to register an ENUM. In addition to the standard EPP command elements, the create command must contain an <enum:create> that identifies the enum namespace and the location of the enum schema.

<enum:create> element

The <enum:create> element contains the following child elements:
  • An RFC 5105 compliant <token> element containing the validation token provided by the validation agency.
  • An optional <enum:ns> element containing the nameservers for the enum. This has one to ten elements of type <enum:hostName> identifying the individual names of the nameservers. If a nameserver does not already exist in the registry an attempt to create it will be made.
  • An optional <enum:notes> element.

<enum:creData> element

The <enum:creData> element is returned in the response and describes the ENUM that has been created. It contains the following sub-elements:
  • An <enum:E164Number> element giving the first number in the ENUM range.
  • An <enum:lastE164Number> element giving the last number in the ENUM range.
  • An <enum:crDate> element giving the date and time of creation.
  • An <enum:exDate> element giving the date and time of expiry.

Examples


Example ENUM create request

The <token> element included is illustrative only. A complete example of a token is provided here.
<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">
<command>
<create>
<enum:create
xmlns:enum="http://www.nominet.org.uk/epp/xml/nom-enum-2.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-enum-2.0
 nom-enum-2.0.xsd">
<token Id="TOKEN"
xmlns="urn:ietf:params:xml:ns:enum-token-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:enum-token-1.0.xsd
enum-token-1.0.xsd">
<validation serial="acmeve-000001">
<E164Number>+442079460123</E164Number>
<lastE164Number>+442079461000</lastE164Number>
<validationEntityID>ACME-VE</validationEntityID>
<registrarID>ENUM-EXAMPLE</registrarID>
<methodID>42</methodID>
<executionDate>2008-09-02</executionDate>
<expirationDate>2010-09-02</expirationDate>
</validation>
<tokendata
xmlns="urn:ietf:params:xml:ns:enum-tokendata-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-enum-tokendata-1.0
nom-enum-tokendata-1.0.xsd">
<contact>
<organisation>Example Inc.</organisation>
<title>Dr.</title>
<firstname>Max</firstname>
<lastname>Vanstone</lastname>
<address>
<streetName>Main Street</streetName>
<houseNumber>10</houseNumber>
<postalCode>NW1 1AA</postalCode>
<locality>Picadilly</locality>
<countyStateOrProvince>London</countyStateOrProvince>
<ISOcountryCode>GB</ISOcountryCode>
</address>
</contact>
</tokendata>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
</CanonicalizationMethod>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1">
</SignatureMethod>
<Reference URI="#TOKEN">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature">
</Transform>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">
</DigestMethod>
<DigestValue>geR3xH8NEtBCUkm7zLdVworC69k=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>A50bebp+d+5eEpa/oJIr83wWrD9X8A1QgvRrHL1rRf8dILrrs4H5DEdIo+4YzNPI
RRTKHXih0bX2YDIFsXj+6RcSeSdoXe3K5xOTkEUkJVzPewS+BEf5WUQia/oLXrtM
mh8hc5CONC/+eDG3gE+XB65L+wOyzpUgnQlIzUMiU5s=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>
MIIDpzCCAo+gAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBlTELMAkGA1UEBhMCR0Ix
FDASBgNVBAgTC094Zm9yZHNoaXJlMQ8wDQYDVQQHEwZPeGZvcmQxEzARBgNVBAoT
Ck5vbWluZXQgVUsxHjAcBgNVBAMTFU5vbWluZXQgVGVzdGJlZCBWQSBDQTEqMCgG
CSqGSIb3DQEJARYbZW51bS1zdXBwb3J0QG5vbWluZ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enum:ns>
<enum:hostName>ns0.example.com.</enum:hostName>
<enum:hostName>ns1.example.com</enum:hostName>
</enum:ns>
<enum:notes>this is a valid, signed token</enum:notes>
</enum:create>
</create>
</command>
</epp>
           

Example ENUM create response

<?xml version="1.0" encoding="UTF-8"?>
<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>
    </result>
    <resData>
      <enum:creData
        xmlns:enum="http://www.nominet.org.uk/epp/xml/nom-enum-2.0"
        xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-enum-2.0
        nom-enum-2.0.xsd">
        <enum:E164Number>+441865332000</enum:E164Number>
        <enum:lastE164Number>+441865332100</enum:lastE164Number>
        <enum:crDate>2007-10-23T12:00:01</enum:crDate>
        <enum:exDate>2008-10-23T12:00:01</enum:exDate>
      </enum:creData>
    </resData>
    <trID>
      <clTRID>ABC-12345</clTRID>
      <svTRID>10654896</svTRID>
    </trID>
  </response>
</epp>
 
 
 

© Nominet UK 1996-2012  |  Accessibility  |  Site Map  |  Feeds  |  Glossary  |  Privacy Policy  |  Terms of Use  |  Cookies  |  Contact Us