NO / EN

Norid AS

Abels gt. 5, Teknobyen

Phone +47 73 55 73 55

This page shows examples of EPP XML sequences between an EPP client and the EPP server.

Change history

  • 2023-05-16: A few minor corrections.
  • 2021-08-24: The newest version of the applicant declaration (applicant dataset version) is now version 3.2, and must be used instead of the example value.
  • 2019-12-10: The newest version of the applicant declaration (applicant dataset version) is now version 3.1, and must be used instead of the example value.
  • 2018-08-07: 
    Updated three of the sequences to show use of the most recent personal declaration, version 3.0:
  • 2018-05-14: 
    Sequences for new data model is standard, and sequences for old model were removed. The number of sequences is therefore reduced. 

The examples are mostly dumped via a Net::DRI command line client developed for .no, but for service messages, the web client for EPP and the client’s log function has also been used.

Please note: The sequences contain example data only. All texts are in English. 

Contact create


Contact create:

Organization create, will be used as domain registrant.

<?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">
 <command>
  <create>
   <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
    <contact:id>auto</contact:id>
    <contact:postalInfo type="loc">
     <contact:name>Trond Haugen</contact:name>
     <contact:org>TBG UTLEIE</contact:org>
     <contact:addr>
      <contact:street>Example building</contact:street>
      <contact:street>Example st. 23b</contact:street>
      <contact:street>5 etg</contact:street>
      <contact:city>Trondheim</contact:city>
      <contact:pc>NO-7005</contact:pc>
      <contact:cc>NO</contact:cc>
     </contact:addr>
    </contact:postalInfo>
    <contact:voice>+47.12345679</contact:voice>
    <contact:email>xml@example.no</contact:email>
    <contact:authInfo>
     <contact:pw/>
    </contact:authInfo>
   </contact:create>
  </create>
  <extension>
   <no-ext-contact:create xmlns:no-ext-contact="http://www.norid.no/xsd/no-ext-contact-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-contact-1.0 no-ext-contact-1.0.xsd">
    <no-ext-contact:type>organization</no-ext-contact:type>
    <no-ext-contact:identity type="organizationNumber">819066302</no-ext-contact:identity>
    <no-ext-contact:mobilePhone>+47.12345678</no-ext-contact:mobilePhone>
    <no-ext-contact:email>xml-sec@example.no</no-ext-contact:email>
   </no-ext-contact:create>
  </extension>
  <clTRID>NORID-EC0.97-19e4-20170911075841-06ea19</clTRID>
 </command>
</epp>


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
 <response>
  <result code="1000">
   <msg>Command completed successfully</msg>
  </result>
  <msgQ count="7" id="435030380"/>
  <resData>
   <contact:creData xmlns="urn:ietf:params:xml:ns:contact-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
    <contact:id>TH1283O</contact:id>
    <contact:crDate>2017-09-11T07:58:41.46Z</contact:crDate>
   </contact:creData>
  </resData>
  <trID>
   <clTRID>NORID-EC0.97-19e4-20170911075841-06ea19</clTRID>
   <svTRID>20170911095841463905-styk2d-reg9094-NORID</svTRID>
  </trID>
 </response>
</epp>

---

Create role, which can be used as a tech contact


<?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">
 <command>
  <create>
   <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
    <contact:id>auto</contact:id>
    <contact:postalInfo type="loc">
     <contact:name>Tech Role</contact:name>
     <contact:addr>
      <contact:street>Example building</contact:street>
      <contact:street>Example st. 23b</contact:street>
      <contact:street>5 etg</contact:street>
      <contact:city>Trondheim</contact:city>
      <contact:pc>NO-7005</contact:pc>
      <contact:cc>NO</contact:cc>
     </contact:addr>
    </contact:postalInfo>
    <contact:voice>+47.12345679</contact:voice>
    <contact:email>xml@example.no</contact:email>
    <contact:authInfo>
     <contact:pw/>
    </contact:authInfo>
   </contact:create>
  </create>
  <extension>
   <no-ext-contact:create xmlns:no-ext-contact="http://www.norid.no/xsd/no-ext-contact-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-contact-1.0 no-ext-contact-1.0.xsd">
    <no-ext-contact:type>role</no-ext-contact:type>
    <no-ext-contact:mobilePhone>+47.12345678</no-ext-contact:mobilePhone>
    <no-ext-contact:email>xml-sec@example.no</no-ext-contact:email>
   </no-ext-contact:create>
  </extension>
  <clTRID>NORID-EC0.97-05dc-20170911080345-0b527c</clTRID>
 </command>
</epp>


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
 <response>
  <result code="1000">
   <msg>Command completed successfully</msg>
  </result>
  <msgQ count="7" id="435030380"/>
  <resData>
   <contact:creData xmlns="urn:ietf:params:xml:ns:contact-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
    <contact:id>TR85R</contact:id>
    <contact:crDate>2017-09-11T08:03:45.74Z</contact:crDate>
   </contact:creData>
  </resData>
  <trID>
   <clTRID>NORID-EC0.97-05dc-20170911080345-0b527c</clTRID>
   <svTRID>20170911100345742506-7t3hb8-reg9094-NORID</svTRID>
  </trID>
 </response>
</epp>
Published: 6 October 2015
Updated: 16 May 2023