Skip to content

Commit

Permalink
Merge pull request #403 from internetee/registry-326
Browse files Browse the repository at this point in the history
Registry 326
  • Loading branch information
vohmar authored Mar 2, 2017
2 parents f1d8372 + ea31aab commit 70a60b8
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion doc/epp-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ RESPONSE:
</epp>
```

### EPP Contact with valid user create command successfully creates a contact
### EPP contact create command with postal address element successfully creates the object (address processing disabled)

REQUEST:

Expand Down Expand Up @@ -120,6 +120,57 @@ REQUEST:

RESPONSE:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="lib/schemas/epp-ee-1.0.xsd">
<response>
<result code="1100">
<msg>Command completed successfully; Postal address data discarded</msg>
</result>
<resData>
<contact:creData xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">
<contact:id>FIRST0:84FC4612</contact:id>
<contact:crDate>2015-09-09T09:40:29Z</contact:crDate>
</contact:creData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>ccReg-7245575567</svTRID>
</trID>
</response>
</epp>
```

### EPP contact create command without postal address element successfully creates the object (address processing disabled)

REQUEST:

```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
<command>
<create>
<contact:create xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">
<contact:postalInfo>
<contact:name>John Doe</contact:name>
</contact:postalInfo>
<contact:voice>+372.1234567</contact:voice>
<contact:email>[email protected]</contact:email>
</contact:create>
</create>
<extension>
<eis:extdata xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd">
<eis:ident type="priv" cc="EE">37605030299</eis:ident>
<eis:legalDocument type="pdf">dGVzdCBmYWlsCg==</eis:legalDocument>
</eis:extdata>
</extension>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
```

RESPONSE:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="lib/schemas/epp-ee-1.0.xsd">
Expand Down

0 comments on commit 70a60b8

Please sign in to comment.