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:- Domain create
- Domain info showing the created domain
- Domain update of applicant dataset only Please note that other examples may use version 2.0, but in practice, version 2.0 may be rejected. If that happens, use 3.0 instead.
- 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.
Private domain create - normal mode
1) Contact create: A create a private registrant contact with an identity being an 'anonymousPersonIdentifier'. The identity 'N.PRI.61879025' is used as the anonynomous person identity. The registrant contactId is 'VV290P' and was created in 2011 and used as 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>Ville Vinter</contact:name> <contact:addr> <contact:street>Abels gt. 5</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.97263222</contact:voice> <contact:email>ville.vinter@gmail.com</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>person</no-ext-contact:type> <no-ext-contact:identity type="anonymousPersonIdentifier">N.PRI.61879025</no-ext-contact:identity> </no-ext-contact:create> </extension> <clTRID>NORID-EC0.81-2810-20110412131749-016894</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="10" id="17248783"/> <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>VV290P</contact:id> <contact:crDate>2011-04-12T13:17:49.09Z</contact:crDate> </contact:creData> </resData> <trID> <clTRID>NORID-EC0.81-2810-20110412131749-016894</clTRID> <svTRID>20110412151749095166-s3632a-reg9094-NORID</svTRID> </trID> </response> </epp> --- 2) Private domain create: Then create a private domain with: - a registrant being the private person contact created above - a technical role contact - two existing name servers, which is the minimum for .NO - a password set by the authInfo <?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> <domain:create 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>ville-vinter.no</domain:name> <domain:ns> <domain:hostObj>biff.uninett.no</domain:hostObj> <domain:hostObj>nn.uninett.no</domain:hostObj> </domain:ns> <domain:registrant>VV290P</domain:registrant> <domain:contact type="tech">UH390R</domain:contact> <domain:authInfo> <domain:pw>MySecret123Z</domain:pw> </domain:authInfo> </domain:create> </create> <extension> <no-ext-domain:create xmlns:no-ext-domain="http://www.norid.no/xsd/no-ext-domain-1.1" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-domain-1.1 no-ext-domain-1.1.xsd"> <no-ext-domain:applicantDataset> <no-ext-domain:versionNumber>2.0</no-ext-domain:versionNumber> <no-ext-domain:acceptName>Ville Vinter</no-ext-domain:acceptName> <no-ext-domain:acceptDate>2014-04-03T10:10:47Z</no-ext-domain:acceptDate> </no-ext-domain:applicantDataset> </no-ext-domain:create> </extension> <clTRID>NORID-EC0.93-40a5-20140429100036-008ff1</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="10" id="180817768"/> <resData> <domain:creData xmlns="urn:ietf:params:xml:ns:domain-1.0" 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>ville-vinter.no</domain:name> <domain:crDate>2014-04-29T10:00:36.16Z</domain:crDate> </domain:creData> </resData> <trID> <clTRID>NORID-EC0.93-40a5-20140429100036-008ff1</clTRID> <svTRID>20140429120036162843-cs967b-reg9094-NORID</svTRID> </trID> </response> </epp>