diff --git a/doc/epp-doc.md b/doc/epp-doc.md index c52a6c220..a986ec85c 100644 --- a/doc/epp-doc.md +++ b/doc/epp-doc.md @@ -1,6539 +1,8 @@ -# EPP REQUEST - RESPONSE EXAMPLES -GENERATED AT: 2015-01-05 17:32:47 +0200 -EXAMPLE COUNT: 102 - ---- - -### EPP Contact with valid user create command fails if request xml is missing - -REQUEST: - -```xml - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command syntax error - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user create command fails if request xml is missing - -REQUEST: - -```xml - - - - - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: name - - - Required parameter missing: city - - - Required parameter missing: cc - - - Required parameter missing: ident - - - Required parameter missing: voice - - - Required parameter missing: email - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user create command successfully creates a contact - -REQUEST: - -```xml - - - - - - - John Doe - - 123 Example - Tallinn - EE - - - +372.1234567 - test@example.example - 37605030299 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 437c472b - 2015-01-05 15:32:48 UTC - - - - ABC-12345 - ccReg-3975312548 - - - -``` - -### EPP Contact with valid user create command successfully adds registrar - -REQUEST: - -```xml - - - - - - - John Doe - - 123 Example - Tallinn - EE - - - +372.1234567 - test@example.example - 37605030299 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - f757fedd - 2015-01-05 15:32:49 UTC - - - - ABC-12345 - ccReg-7227223037 - - - -``` - -### EPP Contact with valid user create command returns result data upon success - -REQUEST: - -```xml - - - - - - - John Doe - - 123 Example - Tallinn - EE - - - +372.1234567 - test@example.example - 37605030299 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - e2ea133b - 2015-01-05 15:32:49 UTC - - - - ABC-12345 - ccReg-0889429386 - - - -``` - -### EPP Contact with valid user create command creates disclosure data - -REQUEST: - -```xml - - - - - - - John Doe - - 123 Example - Tallinn - EE - - - +372.1234567 - test@example.example - 37605030299 - - - - - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 4dcd648a - 2015-01-05 15:32:49 UTC - - - - ABC-12345 - ccReg-7162996051 - - - -``` - -### EPP Contact with valid user create command creates disclosure data merging with defaults - -REQUEST: - -```xml - - - - - - - John Doe - - 123 Example - Tallinn - EE - - - +372.1234567 - test@example.example - 37605030299 - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 069eb6ef - 2015-01-05 15:32:49 UTC - - - - ABC-12345 - ccReg-4559485029 - - - -``` - -### EPP Contact with valid user update command fails if request is invalid - -REQUEST: - -```xml - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: add, rem or chg - - - Required parameter missing: id - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user update command fails with wrong authentication info - -REQUEST: - -```xml - - - - - - sh8013 - - password - - - - John Doe Edited - - +372.7654321 - edited@example.example - - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authorization error - - - - ABC-12345 - ccReg-4299737865 - - -``` - -### EPP Contact with valid user update command is succesful - -REQUEST: - -```xml - - - - - - sh8013 - - password - - - - John Doe Edited - - +372.7654321 - edited@example.example - - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - sh8013 - 2015-01-05 15:32:50 UTC - - - - ABC-12345 - ccReg-6555165348 - - - -``` - -### EPP Contact with valid user update command returns phone and email error - -REQUEST: - -```xml - - - - - - sh8013 - - password - - - - John Doe Edited - - 123213 - aaa - - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Phone nr is invalid - - - Email is invalid - - - - ABC-12345 - ccReg-9426663819 - - -``` - -### EPP Contact with valid user update command updates disclosure items - -REQUEST: - -```xml - - - - - - sh8013 - - 2fooBAR - - - - John Doe Edited - - +372.7654321 - edited@example.example - - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - sh8013 - 2015-01-05 15:32:51 UTC - - - - ABC-12345 - ccReg-1520665517 - - - -``` - -### EPP Contact with valid user delete command fails if request is invalid - -REQUEST: - -```xml - - - - - - 23123 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: id - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user delete command deletes contact - -REQUEST: - -```xml - - - - - - dwa1234 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - ABC-12345 - ccReg-3805966049 - - - -``` - -### EPP Contact with valid user delete command returns error if obj doesnt exist - -REQUEST: - -```xml - - - - - - sh8012 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Object does not exist - - sh8012 - - - - Authentication error - - - - ABC-12345 - ccReg-5876002539 - - -``` - -### EPP Contact with valid user delete command fails if contact has associated domain - -REQUEST: - -```xml - - - - - - dwa1234 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Object association prohibits operation - - - - ABC-12345 - ccReg-1586085838 - - -``` - -### EPP Contact with valid user check command fails if request is invalid - -REQUEST: - -```xml - - - - - - 123asde - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: id - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user check command returns info about contact availability - -REQUEST: - -```xml - - - - - - check-1234 - check-4321 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - - check-1234 - in use - - - check-4321 - - - - - ABC-12345 - ccReg-2517615775 - - - -``` - -### EPP Contact with valid user info command discloses items with wrong password when queried by owner - -REQUEST: - -```xml - - - - - - info-4444 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - info-4444 - - Johnny Awesome - - - Rylee Burgs - Edaport - - - +372.12345678 - - izaiah@rempel.name - 2015-01-05 15:32:53 UTC - 37605030299 - - asde - - - - - - - -
- - - - - - - ABC-12345 - ccReg-1905610579 - - - -``` - -### EPP Contact with valid user info command returns auth error for non-owner with wrong password - -REQUEST: - -```xml - - - - - - info-4444 - - asdesde - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authentication error - - - - ABC-12345 - ccReg-1831179654 - - -``` - -### EPP Contact with valid user info command doesn't disclose items to non-owner with right password - -REQUEST: - -```xml - - - - - - info-4444 - - password - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - info-4444 - - - - 2015-01-05 15:32:54 UTC - 37605030299 - - - - - - -
- - - - - - - ABC-12345 - ccReg-5588795266 - - - -``` - -### EPP Contact with valid user info command discloses items to owner - -REQUEST: - -```xml - - - - - - info-4444 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - info-4444 - - Johnny Awesome - - - Rylee Burgs - Edaport - - - +372.12345678 - - izaiah@rempel.name - 2015-01-05 15:32:54 UTC - 37605030299 - - password - - - - - - - -
- - - - - - - ABC-12345 - ccReg-7644946194 - - - -``` - -### EPP Contact with valid user info command fails if request invalid - -REQUEST: - -```xml - - - - - - 123123 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: id - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user info command returns error when object does not exist - -REQUEST: - -```xml - - - - - - info-4444 - - password - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Object does not exist - - info-4444 - - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user info command returns info about contact - -REQUEST: - -```xml - - - - - - info-4444 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - info-4444 - - Johnny Awesome - - - Rylee Burgs - Edaport - - - +372.12345678 - - izaiah@rempel.name - 2015-01-05 15:32:55 UTC - 37605030299 - - ccds4324pok - - - - - - - -
- - - - - - - ABC-12345 - ccReg-1364769306 - - - -``` - -### EPP Contact with valid user info command doesn't disclose private elements - -REQUEST: - -```xml - - - - - - info-4444 - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - info-4444 - - Ottilie Baumbach - - - 2015-01-05 15:32:56 UTC - 37605030299 - - - - - - -
- - - - - - - ABC-12345 - ccReg-4600379842 - - - -``` - -### EPP Contact with valid user info command doesn't display unassociated object without password - -REQUEST: - -```xml - - - - - - info-4444 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: pw - - - - ABC-12345 - - - -``` - -### EPP Contact with valid user info command doesn't display unassociated object with wrong password - -REQUEST: - -```xml - - - - - - info-4444 - - qwe321 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authentication error - - - - ABC-12345 - ccReg-9967762194 - - -``` - -### EPP Contact with valid user renew command returns 2101-unimplemented command - -REQUEST: - -```xml - - - - - - info-4444 - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Unimplemented command - - - - ABC-12345 - ccReg-7133366403 - - -``` - -### EPP Domain with valid user returns error if contact does not exists - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Contact was not found - - sh8013 - - - - Contact was not found - - sh801333 - - - - - ABC-12345 - ccReg-7555514127 - - -``` - -### EPP Domain with valid user validates required parameters - -REQUEST: - -```xml - - - - - - test.ee - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: ns - - - Required parameter missing: registrant - - - Required parameter missing: legalDocument - - - - ABC-12345 - - - -``` - -### EPP Domain with valid user checks a domain - -REQUEST: - -```xml - - - - - - example.ee - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - - example.ee - - - - - ABC-12345 - ccReg-8136393108 - - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - - example.ee - in use - - - - - ABC-12345 - ccReg-4854926752 - - - -``` - -### EPP Domain with valid user checks multiple domains - -REQUEST: - -```xml - - - - - - one.ee - two.ee - three.ee - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - - one.ee - - - two.ee - - - three.ee - - - - - ABC-12345 - ccReg-0386637655 - - - -``` - -### EPP Domain with valid user checks invalid format domain - -REQUEST: - -```xml - - - - - - one.ee - notcorrectdomain - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - - one.ee - - - notcorrectdomain - invalid format - - - - - ABC-12345 - ccReg-7118756973 - - - -``` - -### EPP Domain with valid user with two epp users can not see other registrar domains - -REQUEST: - -```xml - - - - - - example.ee - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Domain exists but belongs to other registrar - - example.ee - - - - - ABC-12345 - ccReg-6239650372 - - -``` - -### EPP Domain with valid user with two epp users transfers a domain - -REQUEST: - -```xml - - - - - - example.ee - - 292280e35a78089babd4ae2c34a1e536 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - serverApproved - 123 - 2015-01-05 15:32:58 UTC - 12345678 - 2015-01-05 15:32:58 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-6223227150 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - 62857966e2129ad8dcd909f668b01f05 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - pending - 12345678 - 2015-01-05 15:32:59 UTC - 123 - 2015-01-05 16:32:59 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-9566581811 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - 62857966e2129ad8dcd909f668b01f05 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - pending - 12345678 - 2015-01-05 15:32:59 UTC - 123 - 2015-01-05 16:32:59 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-1708828212 - - -``` - -REQUEST: - -```xml - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; ack to dequeue - - - 2015-01-05 15:32:59 UTC - Transfer requested. - - - - example.ee - pending - 12345678 - 2015-01-05 15:32:59 UTC - 123 - 2015-01-05 16:32:59 UTC - 2016-01-05 00:00:00 UTC - - - - ABC-12345 - ccReg-9623609095 - - - -``` - -REQUEST: - -```xml - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-5445871405 - - - -``` - -### EPP Domain with valid user with two epp users prohibits wrong registrar from approving transfer - -REQUEST: - -```xml - - - - - - example.ee - - eb3dab0d8a28f8aa2bf256316a9fb8af - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Transfer can be approved only by current domain registrar - - - - ABC-12345 - ccReg-1045065843 - - -``` - -### EPP Domain with valid user with two epp users approves the transfer request - -REQUEST: - -```xml - - - - - - example.ee - - d28f880a8ed69284406459b57bb9459a - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - clientApproved - 123 - 2015-01-05 15:32:59 UTC - 12345678 - 2015-01-05 15:33:00 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-0517693011 - - -``` - -### EPP Domain with valid user with two epp users does not transfer with invalid pw - -REQUEST: - -```xml - - - - - - example.ee - - test - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authorization error - - - - ABC-12345 - ccReg-5490156855 - - -``` - -### EPP Domain with valid user with two epp users ignores transfer when owner registrar requests transfer - -REQUEST: - -```xml - - - - - - example.ee - - 43e7b2342e5677e84a50bf0c4bb10a39 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Domain already belongs to the querying registrar - - - - ABC-12345 - ccReg-9742859484 - - -``` - -### EPP Domain with valid user with two epp users returns an error for incorrect op attribute - -REQUEST: - -```xml - - - - - - example.ee - - 98oiewslkfkd - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Attribute op is invalid - - - - ABC-12345 - - - -``` - -### EPP Domain with valid user with two epp users creates new pw after successful transfer - -REQUEST: - -```xml - - - - - - example.ee - - 98oiewslkfkd - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authorization error - - - - ABC-12345 - ccReg-5348799482 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - 98oiewslkfkd - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authorization error - - - - ABC-12345 - ccReg-1819047503 - - -``` - -### EPP Domain with valid user with two epp users creates a domain transfer with legal document - -REQUEST: - -```xml - - - - - - example.ee - - b1624eaa9833c58f6d579d0abb13b4ba - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - serverApproved - 123 - 2015-01-05 15:33:01 UTC - 12345678 - 2015-01-05 15:33:01 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-0316810260 - - -``` - -### EPP Domain with valid user with two epp users creates a domain transfer with legal document - -REQUEST: - -```xml - - - - - - example.ee - - 3f96bcb3c84be2eb3e91d67b96862ec6 - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - pending - 123 - 2015-01-05 15:33:01 UTC - 12345678 - 2015-01-05 16:33:01 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-6179066659 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - 3f96bcb3c84be2eb3e91d67b96862ec6 - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - pending - 123 - 2015-01-05 15:33:01 UTC - 12345678 - 2015-01-05 16:33:01 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-6557742736 - - -``` - -### EPP Domain with valid user with two epp users rejects a domain transfer - -REQUEST: - -```xml - - - - - - example.ee - - 507328125edb998937060e677569a01b - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Transfer can be rejected only by current registrar - - - - ABC-12345 - ccReg-0766660040 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - 507328125edb998937060e677569a01b - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - clientRejected - 123 - 2015-01-05 15:33:02 UTC - 12345678 - - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-0885563582 - - -``` - -### EPP Domain with valid user with citizen as an owner creates a domain - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:02 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-9741694176 - - -``` - -### EPP Domain with valid user with citizen as an owner creates a domain with legal document - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:03 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-2048308942 - - -``` - -### EPP Domain with valid user with citizen as an owner creates ria.ee with valid ds record - -REQUEST: - -```xml - - - - - - ria.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 8 - AwEAAaOf5+lz3ftsL+0CCvfJbhUF/NVsNh8BKo61oYs5fXVbuWDiH872 LC8uKDO92TJy7Q4TF9XMAKMMlf1GMAxlRspD749SOCTN00sqfWx1OMTu a28L1PerwHq7665oDJDKqR71btcGqyLKhe2QDvCdA0mENimF1NudX1BJ DDFi6oOZ0xE/0CuveB64I3ree7nCrwLwNs56kXC4LYoX3XdkOMKiJLL/ MAhcxXa60CdZLoRtTEW3z8/oBq4hEAYMCNclpbd6y/exScwBxFTdUfFk KsdNcmvai1lyk9vna0WQrtpYpHKMXvY9LFHaJxCOLR4umfeQ42RuTd82 lqfU6ClMeXs= - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ria.ee - 2015-01-05 15:33:04 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-1750690697 - - -``` - -### EPP Domain with valid user with citizen as an owner validates nameserver ipv4 when in same zone as domain - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.ee - - - ns2.example.ee - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - IPv4 is missing - - - - ABC-12345 - ccReg-1329944119 - - -``` - -### EPP Domain with valid user with citizen as an owner does not create duplicate domain - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:04 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-1510707704 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Domain name already exists - - example.ee - - - - - ABC-12345 - ccReg-5562246431 - - -``` - -### EPP Domain with valid user with citizen as an owner does not create reserved domain - -REQUEST: - -```xml - - - - - - 1162.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Domain name is reserved or restricted - - 1162.ee - - - - - ABC-12345 - ccReg-8129944538 - - -``` - -### EPP Domain with valid user with citizen as an owner does not create domain without contacts and registrant - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - sh8013 - sh8013 - sh801333 - - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: registrant - - - - ABC-12345 - - - -``` - -### EPP Domain with valid user with citizen as an owner does not create domain without nameservers - -REQUEST: - -```xml - - - - - - example.ee - 1 - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: ns - - - - ABC-12345 - - - -``` - -### EPP Domain with valid user with citizen as an owner does not create domain with too many nameservers - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns0.example.net - - - ns1.example.net - - - ns2.example.net - - - ns3.example.net - - - ns4.example.net - - - ns5.example.net - - - ns6.example.net - - - ns7.example.net - - - ns8.example.net - - - ns9.example.net - - - ns10.example.net - - - ns11.example.net - - - ns12.example.net - - - ns13.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Nameservers count must be between 2-11 - - - - ABC-12345 - ccReg-1106641937 - - -``` - -### EPP Domain with valid user with citizen as an owner returns error when invalid nameservers are present - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - invalid1- - - - -invalid2 - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Hostname is invalid - - invalid1- - - - - Hostname is invalid - - -invalid2 - - - - - ABC-12345 - ccReg-1450541238 - - -``` - -### EPP Domain with valid user with citizen as an owner does not allow hostObj - -REQUEST: - -```xml - - - - - - example.ee - 1 - - ns1.example.ee - ns2.example.ee - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - hostObj object is not allowed - - - - ABC-12345 - - - -``` - -### EPP Domain with valid user with citizen as an owner creates domain with nameservers with ips - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh801333 - - 2fooBAR - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:07 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-8833679463 - - -``` - -### EPP Domain with valid user with citizen as an owner returns error when nameserver has invalid ips - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2.invalid - - - ns2.example.net - invalid_ipv6 - - - jd1234 - sh801333 - - 2fooBAR - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - IPv4 is invalid - - 192.0.2.2.invalid - - - - IPv6 is invalid - - INVALID_IPV6 - - - - - ABC-12345 - ccReg-0781911419 - - -``` - -### EPP Domain with valid user with citizen as an owner creates a domain with period in days - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:08 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-0401439371 - - -``` - -### EPP Domain with valid user with citizen as an owner does not create a domain with invalid period - -REQUEST: - -```xml - - - - - - example.ee - 367 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Period must add up to 1, 2 or 3 years - - 367 - - - - - ABC-12345 - ccReg-8365098713 - - -``` - -### EPP Domain with valid user with citizen as an owner creates a domain with multiple dnskeys - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 256 - 3 - 254 - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:08 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-7659902425 - - -``` - -### EPP Domain with valid user with citizen as an owner does not create a domain when dnskeys are invalid - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 250 - 4 - 9 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - 1 - 3 - 10 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 256 - 5 - 254 - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 - - 9 - - - - Valid protocols are: 3 - - 4 - - - - Valid flags are: 0, 256, 257 - - 250 - - - - Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 - - 10 - - - - Valid flags are: 0, 256, 257 - - 1 - - - - Public key is missing - - - Valid protocols are: 3 - - 5 - - - - - ABC-12345 - ccReg-5606223862 - - -``` - -### EPP Domain with valid user with citizen as an owner does not create a domain with two identical dnskeys - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 3 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Public key already exists - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - ABC-12345 - ccReg-1584009494 - - -``` - -### EPP Domain with valid user with citizen as an owner validated dnskeys count - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 257 - 3 - 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - DNS keys count must be between 0-1 - - - - ABC-12345 - ccReg-6817372309 - - -``` - -### EPP Domain with valid user with citizen as an owner creates domain with ds data - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 12345 - 3 - 1 - 49FD46E6C4B45C55D4AC - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:10 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-1767781983 - - -``` - -### EPP Domain with valid user with citizen as an owner creates domain with ds data with key - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 12345 - 3 - 1 - 49FD46E6C4B45C55D4AC - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:10 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-4451922952 - - -``` - -### EPP Domain with valid user with citizen as an owner prohibits dsData with key - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 12345 - 3 - 1 - 49FD46E6C4B45C55D4AC - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - dsData object with key data is not allowed - - - - ABC-12345 - ccReg-3143759591 - - -``` - -### EPP Domain with valid user with citizen as an owner prohibits dsData - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 12345 - 3 - 1 - 49FD46E6C4B45C55D4AC - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - dsData object is not allowed - - - - ABC-12345 - ccReg-0887082626 - - -``` - -### EPP Domain with valid user with citizen as an owner prohibits keyData - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - sh8013 - sh801333 - - - - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - keyData object is not allowed - - - - ABC-12345 - ccReg-6611691636 - - -``` - -### EPP Domain with valid user with juridical persion as an owner creates a domain with contacts - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2015-01-05 15:33:11 UTC - 2016-01-05 00:00:00 UTC - - - - - ABC-12345 - ccReg-0214336248 - - -``` - -### EPP Domain with valid user with juridical persion as an owner does not create a domain without admin contact - -REQUEST: - -```xml - - - - - - example.ee - 1 - - - ns1.example.net - 192.0.2.2 - 1080:0:0:0:8:800:200C:417A - - - ns2.example.net - - - jd1234 - sh8013 - - - - - - 257 - 3 - 5 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Admin contacts count must be between 1-10 - - - - ABC-12345 - ccReg-0190210331 - - -``` - -### EPP Domain with valid user with valid domain renews a domain - -REQUEST: - -```xml - - - - - - example.ee - 2016-01-05 - 1 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - 2017-01-05 00:00:00 UTC - - - - ABC-12345 - ccReg-2435297934 - - - -``` - -### EPP Domain with valid user with valid domain returns an error when given and current exp dates do not match - -REQUEST: - -```xml - - - - - - example.ee - 2016-08-07 - 1 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Given and current expire dates do not match - - 2016-08-07 - - - - - ABC-12345 - ccReg-5888722655 - - -``` - -### EPP Domain with valid user with valid domain returns an error when period is invalid - -REQUEST: - -```xml - - - - - - example.ee - 2016-01-05 - 4 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Period must add up to 1, 2 or 3 years - - 4 - - - - - ABC-12345 - ccReg-5730681330 - - -``` - -### EPP Domain with valid user with valid domain sets ok status by default - -REQUEST: - -```xml - - - - - - example.ee - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - - sh5420 - sh5420 - sh9701 - - - ns.funkkeeling48.ee - 192.168.1.1 - - - ns.koelpin49.ee - 192.168.1.1 - - - ns.blick50.ee - 192.168.1.1 - - - Registrar OÜ - Registrar OÜ - 2015-01-05 15:33:13 UTC - 2016-01-05 00:00:00 UTC - - 85667cda06a48e094c7217859001494f - - - - - - ABC-12345 - ccReg-3468481604 - - -``` - -### EPP Domain with valid user with valid domain returns domain info - -REQUEST: - -```xml - - - - - - Example.ee - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - Payment overdue. - sh0251 - sh0251 - sh1083 - - - ns.grantterry51.ee - 192.168.1.1 - - - ns.boyer52.ee - 192.168.1.1 - - - ns.sawaynfunk53.ee - 192.168.1.1 - - - ns1.example.com - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - Registrar OÜ - Registrar OÜ - 2015-01-05 15:33:13 UTC - 2016-01-05 00:00:00 UTC - - 8e6735bee0d99b12e2c3aa59fc7a874a - - - - - - - - 123 - 3 - 1 - abc - - 257 - 3 - 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - 123 - 3 - 1 - abc - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - - ABC-12345 - ccReg-3950328765 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - example.ee - Payment overdue. - sh0251 - sh0251 - sh1083 - - - ns.grantterry51.ee - 192.168.1.1 - - - ns.boyer52.ee - 192.168.1.1 - - - ns.sawaynfunk53.ee - 192.168.1.1 - - - ns1.example.com - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - Registrar OÜ - Registrar OÜ - 2015-01-05 15:33:13 UTC - 2016-01-05 00:00:00 UTC - 2015-01-05 15:33:14 UTC - - 8e6735bee0d99b12e2c3aa59fc7a874a - - - - - - - - 123 - 3 - 1 - abc - - 257 - 3 - 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - 123 - 3 - 1 - abc - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - - ABC-12345 - ccReg-8060900126 - - -``` - -### EPP Domain with valid user with valid domain returns error when domain can not be found - -REQUEST: - -```xml - - - - - - test.ee - - 2fooBAR - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Domain not found - - test.ee - - - - - ABC-12345 - ccReg-6212044154 - - -``` - -### EPP Domain with valid user with valid domain updates domain and adds objects - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - ns2.example.com - - mak21 - Payment overdue. - - - - - - - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 256 - 3 - 254 - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Contact was not found - - mak21 - - - - - ABC-12345 - ccReg-6416614168 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - ns2.example.com - - mak21 - Payment overdue. - - - - - - - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 256 - 3 - 254 - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-5627543390 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - ns2.example.com - - mak21 - Payment overdue. - - - - - - - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 256 - 3 - 254 - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Nameserver already exists on this domain - - ns1.example.com - - - - Nameserver already exists on this domain - - ns2.example.com - - - - Contact already exists on this domain! - - mak21 - - - - Status already exists on this domain - - clientHold - - - - Status already exists on this domain - - clientUpdateProhibited - - - - Public key already exists - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - Public key already exists - - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 - - - - - ABC-12345 - ccReg-8486858885 - - -``` - -### EPP Domain with valid user with valid domain updates a domain and removes objects - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - ns2.example.com - - mak21 - Payment overdue. - - - - - - - - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - 256 - 3 - 254 - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-2031148269 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - - mak21 - - - - - - - - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-2737494239 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - - mak21 - - - - - - - - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Contact was not found - - mak21 - - - - Nameserver was not found - - ns1.example.com - - - - Status was not found - - clientHold - - - - - ABC-12345 - ccReg-6805931342 - - -``` - -### EPP Domain with valid user with valid domain does not remove server statuses - -REQUEST: - -```xml - - - - - - example.ee - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Status was not found - - serverHold - - - - - ABC-12345 - ccReg-5390271086 - - -``` - -### EPP Domain with valid user with valid domain does not add duplicate objects to domain - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-5940870376 - - -``` - -REQUEST: - -```xml - - - - - - example.ee - - - ns1.example.com - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Nameserver already exists on this domain - - ns1.example.com - - - - - ABC-12345 - ccReg-8200619815 - - -``` - -### EPP Domain with valid user with valid domain cannot change registrant without legal document - -REQUEST: - -```xml - - - - - - example.ee - - mak21 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: legalDocument - - - - ABC-12345 - - - -``` - -### EPP Domain with valid user with valid domain updates a domain - -REQUEST: - -```xml - - - - - - example.ee - - mak21 - - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-5301278080 - - -``` - -### EPP Domain with valid user with valid domain does not assign invalid status to domain - -REQUEST: - -```xml - - - - - - example.ee - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Status was not found - - invalidStatus - - - - - ABC-12345 - ccReg-5210206337 - - -``` - -### EPP Domain with valid user with valid domain deletes domain - -REQUEST: - -```xml - - - - - - example.ee - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - ABC-12345 - ccReg-9033210844 - - -``` - -### EPP Domain with valid user with valid domain does not delete domain with specific status - -REQUEST: - -```xml - - - - - - example.ee - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Domain status prohibits operation - - - - ABC-12345 - ccReg-5162725861 - - -``` - -### EPP Domain with valid user with valid domain does not delete domain without legal document - -REQUEST: - -```xml - - - - - - example.ee - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: legalDocument - - - - ABC-12345 - - - -``` - -### EPP Helper in context of Domain generates valid transfer xml - -### EPP Keyrelay with valid user makes a keyrelay request - -REQUEST: - -```xml - - - - - example.ee - - 256 - 3 - 8 - cmlraXN0aGViZXN0 - - - 6ebcec9a20ae5a9cd9f53f817488e38c - - - P1M13D - - - 1420471998 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 1420471998 - ccReg-7055724495 - - -``` - -### EPP Keyrelay with valid user returns an error when parameters are missing - -REQUEST: - -```xml - - - - - example.ee - - - 3 - 8 - cmlraXN0aGViZXN0 - - - 584bb0074b706f54e3613df9f0400ccb - - - Invalid Expiry - - - 1420471999 - - -``` - -RESPONSE: - -```xml - - - - - Required parameter missing: flags - - - - 1420471999 - ccReg-0729461890 - - -``` - -### EPP Keyrelay with valid user returns an error on invalid relative expiry - -REQUEST: - -```xml - - - - - example.ee - - 256 - 3 - 8 - cmlraXN0aGViZXN0 - - - 6e33f95e737a78e48fdf11a781501b61 - - - Invalid Expiry - - - 1420471999 - - -``` - -RESPONSE: - -```xml - - - - - Expiry relative must be compatible to ISO 8601 - - Invalid Expiry - - - - - 1420471999 - ccReg-9152883970 - - -``` - -### EPP Keyrelay with valid user does not allow both relative and absolute - -REQUEST: - -```xml - - - - - example.ee - - 256 - 3 - 8 - cmlraXN0aGViZXN0 - - - 1b296b351501763ff99d3f3abde60e03 - - - P1D - 2014-12-23 - - - 1420471999 - - -``` - -RESPONSE: - -```xml - - - - - Only one parameter allowed: relative or absolute - - - - 1420471999 - ccReg-1734184639 - - -``` - -### EPP Poll with valid user returns no messages in poll - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; no messages - - - 1420472000 - ccReg-1116841372 - - - -``` - -### EPP Poll with valid user queues and dequeues messages - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; no messages - - - 1420472000 - ccReg-7669476431 - - - -``` - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; ack to dequeue - - - 2015-01-05 15:33:20 UTC - Balance low. - - - 1420472000 - ccReg-3489604272 - - - -``` - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Message was not found - - 1 - - - - - 1420472000 - ccReg-2834519293 - - -``` - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 1420472000 - ccReg-6696868898 - - - -``` - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Message was not found - - 1 - - - - - 1420472000 - ccReg-6807297675 - - -``` - -### EPP Poll with valid user returns an error on incorrect op - -REQUEST: - -```xml - - - - - 1420472000 - - -``` - -RESPONSE: - -```xml - - - - - Attribute op is invalid - - - - 1420472000 - - - -``` - -### EPP Poll with valid user dequeues multiple messages - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; ack to dequeue - - - 2015-01-05 15:33:21 UTC - Smth else. - - - 1420472001 - ccReg-3716260963 - - - -``` - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 1420472001 - ccReg-3609825086 - - - -``` - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; ack to dequeue - - - 2015-01-05 15:33:21 UTC - Something. - - - 1420472001 - ccReg-1683719915 - - - -``` - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 1420472001 - ccReg-0307547341 - - - -``` - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; ack to dequeue - - - 2015-01-05 15:33:21 UTC - Balance low. - - - 1420472001 - ccReg-5830990527 - - - -``` - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - 1420472001 - ccReg-2074528823 - - - -``` - -REQUEST: - -```xml - - - - - 1420472001 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; no messages - - - 1420472001 - ccReg-1122434374 - - - -``` - -### EPP Session when not connected greets client upon connection - -RESPONSE: - -```xml - - - - EPP server (EIS) - 2015-01-05T15:33:21Z - - 1.0 - en - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - - - - - - - - - - - - - - - - - - -``` - -### EPP Session when connected does not log in with invalid user - -REQUEST: - -```xml - - - - - gitlab - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authentication error; server closing connection - - - - ABC-12345 - ccReg-4592688173 - - -``` - -REQUEST: - -```xml - - - - - gitlab - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Authentication error; server closing connection - - - - ABC-12345 - ccReg-7982764478 - - -``` - -### EPP Session when connected prohibits further actions unless logged in - -REQUEST: - -```xml - - - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - You need to login first. - - - - ABC-12345 - - - -``` - -### EPP Session when connected with valid user logs in epp user - -REQUEST: - -```xml - - - - - gitlab - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - ABC-12345 - ccReg-7442235092 - - - -``` - -### EPP Session when connected with valid user logs out epp user - -REQUEST: - -```xml - - - - - gitlab - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - ABC-12345 - ccReg-1200707912 - - - -``` - -REQUEST: - -```xml - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully; ending session - - - - ABC-12345 - ccReg-8823565900 - - -``` - -### EPP Session when connected with valid user does not log in twice - -REQUEST: - -```xml - - - - - gitlab - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - ABC-12345 - ccReg-9250293805 - - - -``` - -REQUEST: - -```xml - - - - - gitlab - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Already logged in. Use <logout> first. - - - - ABC-12345 - - - -``` - +# EPP integration specification for Estonian Internet Foundation + +## Introduction +Introduction text here +[[Session related functions](epp/session.md)] +[[Contact related functions](epp/contact.md)] +[[Domain related functions](epp/domain.md)] +[[Keyrelay related functions](epp/keyrelay.md)] diff --git a/doc/epp-examples.md b/doc/epp-examples.md new file mode 100644 index 000000000..50d5b97c4 --- /dev/null +++ b/doc/epp-examples.md @@ -0,0 +1,6594 @@ +# EPP REQUEST - RESPONSE EXAMPLES +GENERATED AT: 2015-01-21 12:29:38 +0200 +EXAMPLE COUNT: 103 + +--- + +### EPP Contact with valid user create command fails if request xml is missing + +REQUEST: + +```xml + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command syntax error + + + + ABC-12345 + ccReg-4501361376 + + +``` + +### EPP Contact with valid user create command fails if request xml is missing + +REQUEST: + +```xml + + + + + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: name + + + Required parameter missing: city + + + Required parameter missing: cc + + + Required parameter missing: ident + + + Required parameter missing: voice + + + Required parameter missing: email + + + + ABC-12345 + ccReg-3301397139 + + +``` + +### EPP Contact with valid user create command successfully saves ident type + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 1990-22-12 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 0f9e4eed + 2015-01-21 10:29:40 UTC + + + + ABC-12345 + ccReg-0551166792 + + + +``` + +### EPP Contact with valid user create command successfully creates a contact + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 4a2619b7 + 2015-01-21 10:29:41 UTC + + + + ABC-12345 + ccReg-7366701880 + + + +``` + +### EPP Contact with valid user create command successfully adds registrar + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 88fe61f4 + 2015-01-21 10:29:41 UTC + + + + ABC-12345 + ccReg-9638253560 + + + +``` + +### EPP Contact with valid user create command returns result data upon success + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 0b66c137 + 2015-01-21 10:29:42 UTC + + + + ABC-12345 + ccReg-2602273716 + + + +``` + +### EPP Contact with valid user create command creates disclosure data + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 37605030299 + + + + + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + b20268f5 + 2015-01-21 10:29:42 UTC + + + + ABC-12345 + ccReg-0644641237 + + + +``` + +### EPP Contact with valid user create command creates disclosure data merging with defaults + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 37605030299 + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 304d4fbc + 2015-01-21 10:29:43 UTC + + + + ABC-12345 + ccReg-9850567700 + + + +``` + +### EPP Contact with valid user update command fails if request is invalid + +REQUEST: + +```xml + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: add, rem or chg + + + Required parameter missing: id + + + + ABC-12345 + ccReg-0797369949 + + +``` + +### EPP Contact with valid user update command fails with wrong authentication info + +REQUEST: + +```xml + + + + + + sh8013 + + password + + + + John Doe Edited + + +372.7654321 + edited@example.example + + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + + ABC-12345 + ccReg-2298410935 + + +``` + +### EPP Contact with valid user update command is succesful + +REQUEST: + +```xml + + + + + + sh8013 + + password + + + + John Doe Edited + + +372.7654321 + edited@example.example + + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + sh8013 + 2015-01-21 10:29:44 UTC + + + + ABC-12345 + ccReg-1023185320 + + + +``` + +### EPP Contact with valid user update command returns phone and email error + +REQUEST: + +```xml + + + + + + sh8013 + + password + + + + John Doe Edited + + 123213 + aaa + + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Phone nr is invalid + + + Email is invalid + + + + ABC-12345 + ccReg-5978776625 + + +``` + +### EPP Contact with valid user update command updates disclosure items + +REQUEST: + +```xml + + + + + + sh8013 + + 2fooBAR + + + + John Doe Edited + + +372.7654321 + edited@example.example + + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + sh8013 + 2015-01-21 10:29:45 UTC + + + + ABC-12345 + ccReg-2506903052 + + + +``` + +### EPP Contact with valid user delete command fails if request is invalid + +REQUEST: + +```xml + + + + + + 23123 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: id + + + + ABC-12345 + ccReg-0395463983 + + +``` + +### EPP Contact with valid user delete command deletes contact + +REQUEST: + +```xml + + + + + + dwa1234 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-9330149151 + + + +``` + +### EPP Contact with valid user delete command returns error if obj doesnt exist + +REQUEST: + +```xml + + + + + + sh8012 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Object does not exist + + sh8012 + + + + Authentication error + + + + ABC-12345 + ccReg-8189874530 + + +``` + +### EPP Contact with valid user delete command fails if contact has associated domain + +REQUEST: + +```xml + + + + + + dwa1234 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Object association prohibits operation + + + + ABC-12345 + ccReg-0461015300 + + +``` + +### EPP Contact with valid user check command fails if request is invalid + +REQUEST: + +```xml + + + + + + 123asde + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: id + + + + ABC-12345 + ccReg-7483860404 + + +``` + +### EPP Contact with valid user check command returns info about contact availability + +REQUEST: + +```xml + + + + + + check-1234 + check-4321 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + + check-1234 + in use + + + check-4321 + + + + + ABC-12345 + ccReg-5786454908 + + + +``` + +### EPP Contact with valid user info command discloses items with wrong password when queried by owner + +REQUEST: + +```xml + + + + + + info-4444 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + info-4444 + + Johnny Awesome + + + Rodriguez Well + Larissatown + + + +372.12345678 + + gus_wiegand@watersmosciski.info + 2015-01-21 10:29:48 UTC + 37605030299 + + asde + + + + + + + +
+ + + + + + + ABC-12345 + ccReg-8576213187 + + + +``` + +### EPP Contact with valid user info command returns auth error for non-owner with wrong password + +REQUEST: + +```xml + + + + + + info-4444 + + asdesde + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authentication error + + + + ABC-12345 + ccReg-2753343096 + + +``` + +### EPP Contact with valid user info command doesn't disclose items to non-owner with right password + +REQUEST: + +```xml + + + + + + info-4444 + + password + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + info-4444 + + + + 2015-01-21 10:29:49 UTC + 37605030299 + + + + + + +
+ + + + + + + ABC-12345 + ccReg-5877293456 + + + +``` + +### EPP Contact with valid user info command discloses items to owner + +REQUEST: + +```xml + + + + + + info-4444 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + info-4444 + + Johnny Awesome + + + Rodriguez Well + Larissatown + + + +372.12345678 + + gus_wiegand@watersmosciski.info + 2015-01-21 10:29:50 UTC + 37605030299 + + password + + + + + + + +
+ + + + + + + ABC-12345 + ccReg-8230707815 + + + +``` + +### EPP Contact with valid user info command fails if request invalid + +REQUEST: + +```xml + + + + + + 123123 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: id + + + + ABC-12345 + ccReg-4597529491 + + +``` + +### EPP Contact with valid user info command returns error when object does not exist + +REQUEST: + +```xml + + + + + + info-4444 + + password + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Object does not exist + + info-4444 + + + + + ABC-12345 + ccReg-5481429992 + + +``` + +### EPP Contact with valid user info command returns info about contact + +REQUEST: + +```xml + + + + + + info-4444 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + info-4444 + + Johnny Awesome + + + Rodriguez Well + Larissatown + + + +372.12345678 + + gus_wiegand@watersmosciski.info + 2015-01-21 10:29:51 UTC + 37605030299 + + ccds4324pok + + + + + + + +
+ + + + + + + ABC-12345 + ccReg-6958827963 + + + +``` + +### EPP Contact with valid user info command doesn't disclose private elements + +REQUEST: + +```xml + + + + + + info-4444 + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + info-4444 + + Mr. Arvid Volkman + + + 2015-01-21 10:29:51 UTC + 37605030299 + + + + + + +
+ + + + + + + ABC-12345 + ccReg-5835939247 + + + +``` + +### EPP Contact with valid user info command doesn't display unassociated object without password + +REQUEST: + +```xml + + + + + + info-4444 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: pw + + + + ABC-12345 + ccReg-0322703567 + + +``` + +### EPP Contact with valid user info command doesn't display unassociated object with wrong password + +REQUEST: + +```xml + + + + + + info-4444 + + qwe321 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authentication error + + + + ABC-12345 + ccReg-8290951401 + + +``` + +### EPP Contact with valid user renew command returns 2101-unimplemented command + +REQUEST: + +```xml + + + + + + info-4444 + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Unimplemented command + + + + ABC-12345 + ccReg-6765703671 + + +``` + +### EPP Domain with valid user returns error if contact does not exists + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Contact was not found + + sh8013 + + + + Contact was not found + + sh801333 + + + + + ABC-12345 + ccReg-6614677095 + + +``` + +### EPP Domain with valid user validates required parameters + +REQUEST: + +```xml + + + + + + test.ee + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: ns + + + Required parameter missing: registrant + + + Required parameter missing: legalDocument + + + + ABC-12345 + ccReg-2829503581 + + +``` + +### EPP Domain with valid user checks a domain + +REQUEST: + +```xml + + + + + + example.ee + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + + example.ee + + + + + ABC-12345 + ccReg-0885246830 + + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + + example.ee + in use + + + + + ABC-12345 + ccReg-3321852611 + + + +``` + +### EPP Domain with valid user checks multiple domains + +REQUEST: + +```xml + + + + + + one.ee + two.ee + three.ee + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + + one.ee + + + two.ee + + + three.ee + + + + + ABC-12345 + ccReg-2685425461 + + + +``` + +### EPP Domain with valid user checks invalid format domain + +REQUEST: + +```xml + + + + + + one.ee + notcorrectdomain + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + + one.ee + + + notcorrectdomain + invalid format + + + + + ABC-12345 + ccReg-3850735872 + + + +``` + +### EPP Domain with valid user with two epp users can not see other registrar domains + +REQUEST: + +```xml + + + + + + example.ee + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Domain exists but belongs to other registrar + + example.ee + + + + + ABC-12345 + ccReg-0097877977 + + +``` + +### EPP Domain with valid user with two epp users transfers a domain + +REQUEST: + +```xml + + + + + + example.ee + + 387f50217dfd0f5775cead6f1eccdedb + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + serverApproved + 123 + 2015-01-21 10:29:57 UTC + 12345678 + 2015-01-21 10:29:57 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-9830958341 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + 38518219ab5a5b2cebfd4748bf3eda6f + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + pending + 12345678 + 2015-01-21 10:29:57 UTC + 123 + 2015-01-21 11:29:57 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-2765396230 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + 38518219ab5a5b2cebfd4748bf3eda6f + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + pending + 12345678 + 2015-01-21 10:29:57 UTC + 123 + 2015-01-21 11:29:57 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-1349071112 + + +``` + +REQUEST: + +```xml + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ack to dequeue + + + 2015-01-21 10:29:57 UTC + Transfer requested. + + + + example.ee + pending + 12345678 + 2015-01-21 10:29:57 UTC + 123 + 2015-01-21 11:29:57 UTC + 2016-01-21 00:00:00 UTC + + + + ABC-12345 + ccReg-3758969507 + + + +``` + +REQUEST: + +```xml + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-3104454880 + + + +``` + +### EPP Domain with valid user with two epp users prohibits wrong registrar from approving transfer + +REQUEST: + +```xml + + + + + + example.ee + + 5c1ff5b0e90966530f37c7f8c411fd9d + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Transfer can be approved only by current domain registrar + + + + ABC-12345 + ccReg-0201363674 + + +``` + +### EPP Domain with valid user with two epp users approves the transfer request + +REQUEST: + +```xml + + + + + + example.ee + + 383c1c1c3353d81ce96b693aa14ffd16 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + clientApproved + 123 + 2015-01-21 10:29:59 UTC + 12345678 + 2015-01-21 10:29:59 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-6235387040 + + +``` + +### EPP Domain with valid user with two epp users does not transfer with invalid pw + +REQUEST: + +```xml + + + + + + example.ee + + test + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + + ABC-12345 + ccReg-1754073529 + + +``` + +### EPP Domain with valid user with two epp users ignores transfer when owner registrar requests transfer + +REQUEST: + +```xml + + + + + + example.ee + + d3a56768abdaedc545b8df3fdcd90645 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Domain already belongs to the querying registrar + + + + ABC-12345 + ccReg-9735284102 + + +``` + +### EPP Domain with valid user with two epp users returns an error for incorrect op attribute + +REQUEST: + +```xml + + + + + + example.ee + + 98oiewslkfkd + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Attribute op is invalid + + + + ABC-12345 + ccReg-2657494395 + + +``` + +### EPP Domain with valid user with two epp users creates new pw after successful transfer + +REQUEST: + +```xml + + + + + + example.ee + + 98oiewslkfkd + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + + ABC-12345 + ccReg-1053801473 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + 98oiewslkfkd + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + + ABC-12345 + ccReg-6288024950 + + +``` + +### EPP Domain with valid user with two epp users creates a domain transfer with legal document + +REQUEST: + +```xml + + + + + + example.ee + + c570157229fd5a1bd7a7e9bf31ba4db2 + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + serverApproved + 123 + 2015-01-21 10:30:02 UTC + 12345678 + 2015-01-21 10:30:02 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-6313594099 + + +``` + +### EPP Domain with valid user with two epp users creates a domain transfer with legal document + +REQUEST: + +```xml + + + + + + example.ee + + 47d61710660e41336d52bf8e1131080a + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + pending + 123 + 2015-01-21 10:30:02 UTC + 12345678 + 2015-01-21 11:30:02 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-4475565441 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + 47d61710660e41336d52bf8e1131080a + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + pending + 123 + 2015-01-21 10:30:02 UTC + 12345678 + 2015-01-21 11:30:02 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-8380815020 + + +``` + +### EPP Domain with valid user with two epp users rejects a domain transfer + +REQUEST: + +```xml + + + + + + example.ee + + 70998e3012697937f21f0c0f22f346a6 + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Transfer can be rejected only by current registrar + + + + ABC-12345 + ccReg-7498348115 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + 70998e3012697937f21f0c0f22f346a6 + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + clientRejected + 123 + 2015-01-21 10:30:03 UTC + 12345678 + + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-1063713828 + + +``` + +### EPP Domain with valid user with citizen as an owner creates a domain + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:04 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-5215639689 + + +``` + +### EPP Domain with valid user with citizen as an owner creates a domain with legal document + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:04 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-6832738923 + + +``` + +### EPP Domain with valid user with citizen as an owner creates ria.ee with valid ds record + +REQUEST: + +```xml + + + + + + ria.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 8 + AwEAAaOf5+lz3ftsL+0CCvfJbhUF/NVsNh8BKo61oYs5fXVbuWDiH872 LC8uKDO92TJy7Q4TF9XMAKMMlf1GMAxlRspD749SOCTN00sqfWx1OMTu a28L1PerwHq7665oDJDKqR71btcGqyLKhe2QDvCdA0mENimF1NudX1BJ DDFi6oOZ0xE/0CuveB64I3ree7nCrwLwNs56kXC4LYoX3XdkOMKiJLL/ MAhcxXa60CdZLoRtTEW3z8/oBq4hEAYMCNclpbd6y/exScwBxFTdUfFk KsdNcmvai1lyk9vna0WQrtpYpHKMXvY9LFHaJxCOLR4umfeQ42RuTd82 lqfU6ClMeXs= + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ria.ee + 2015-01-21 10:30:05 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-6312166836 + + +``` + +### EPP Domain with valid user with citizen as an owner validates nameserver ipv4 when in same zone as domain + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.ee + + + ns2.example.ee + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + IPv4 is missing + + + + ABC-12345 + ccReg-6137419157 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create duplicate domain + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:06 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-3537224792 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Domain name already exists + + example.ee + + + + + ABC-12345 + ccReg-9671674515 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create reserved domain + +REQUEST: + +```xml + + + + + + 1162.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Domain name is reserved or restricted + + 1162.ee + + + + + ABC-12345 + ccReg-7466996313 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create domain without contacts and registrant + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + sh8013 + sh8013 + sh801333 + + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: registrant + + + + ABC-12345 + ccReg-5216540480 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create domain without nameservers + +REQUEST: + +```xml + + + + + + example.ee + 1 + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: ns + + + + ABC-12345 + ccReg-5311304733 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create domain with too many nameservers + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns0.example.net + + + ns1.example.net + + + ns2.example.net + + + ns3.example.net + + + ns4.example.net + + + ns5.example.net + + + ns6.example.net + + + ns7.example.net + + + ns8.example.net + + + ns9.example.net + + + ns10.example.net + + + ns11.example.net + + + ns12.example.net + + + ns13.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Nameservers count must be between 2-11 + + + + ABC-12345 + ccReg-2795456597 + + +``` + +### EPP Domain with valid user with citizen as an owner returns error when invalid nameservers are present + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + invalid1- + + + -invalid2 + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Hostname is invalid + + invalid1- + + + + Hostname is invalid + + -invalid2 + + + + + ABC-12345 + ccReg-4112378812 + + +``` + +### EPP Domain with valid user with citizen as an owner does not allow hostObj + +REQUEST: + +```xml + + + + + + example.ee + 1 + + ns1.example.ee + ns2.example.ee + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + hostObj object is not allowed + + + + ABC-12345 + ccReg-2662724544 + + +``` + +### EPP Domain with valid user with citizen as an owner creates domain with nameservers with ips + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + 2fooBAR + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:10 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-1461224129 + + +``` + +### EPP Domain with valid user with citizen as an owner returns error when nameserver has invalid ips + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2.invalid + + + ns2.example.net + invalid_ipv6 + + + jd1234 + sh8013 + sh8013 + sh801333 + + 2fooBAR + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + IPv4 is invalid + + 192.0.2.2.invalid + + + + IPv6 is invalid + + INVALID_IPV6 + + + + + ABC-12345 + ccReg-5799179566 + + +``` + +### EPP Domain with valid user with citizen as an owner creates a domain with period in days + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:11 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-3488238698 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create a domain with invalid period + +REQUEST: + +```xml + + + + + + example.ee + 367 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Period must add up to 1, 2 or 3 years + + 367 + + + + + ABC-12345 + ccReg-9637388295 + + +``` + +### EPP Domain with valid user with citizen as an owner creates a domain with multiple dnskeys + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:12 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-7621148189 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create a domain when dnskeys are invalid + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 250 + 4 + 9 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + 1 + 3 + 10 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 5 + 254 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 + + 9 + + + + Valid protocols are: 3 + + 4 + + + + Valid flags are: 0, 256, 257 + + 250 + + + + Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 + + 10 + + + + Valid flags are: 0, 256, 257 + + 1 + + + + Public key is missing + + + Valid protocols are: 3 + + 5 + + + + + ABC-12345 + ccReg-0230100097 + + +``` + +### EPP Domain with valid user with citizen as an owner does not create a domain with two identical dnskeys + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 3 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Public key already exists + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + ABC-12345 + ccReg-5657943049 + + +``` + +### EPP Domain with valid user with citizen as an owner validated dnskeys count + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + DNS keys count must be between 0-1 + + + + ABC-12345 + ccReg-6011706696 + + +``` + +### EPP Domain with valid user with citizen as an owner creates domain with ds data + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 12345 + 3 + 1 + 49FD46E6C4B45C55D4AC + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:14 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-3236204101 + + +``` + +### EPP Domain with valid user with citizen as an owner creates domain with ds data with key + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 12345 + 3 + 1 + 49FD46E6C4B45C55D4AC + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:15 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-4988862110 + + +``` + +### EPP Domain with valid user with citizen as an owner prohibits dsData with key + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 12345 + 3 + 1 + 49FD46E6C4B45C55D4AC + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + dsData object with key data is not allowed + + + + ABC-12345 + ccReg-3974220517 + + +``` + +### EPP Domain with valid user with citizen as an owner prohibits dsData + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 12345 + 3 + 1 + 49FD46E6C4B45C55D4AC + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + dsData object is not allowed + + + + ABC-12345 + ccReg-8365042433 + + +``` + +### EPP Domain with valid user with citizen as an owner prohibits keyData + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + sh8013 + sh801333 + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + keyData object is not allowed + + + + ABC-12345 + ccReg-8809596505 + + +``` + +### EPP Domain with valid user with juridical persion as an owner creates a domain with contacts + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2015-01-21 10:30:17 UTC + 2016-01-21 00:00:00 UTC + + + + + ABC-12345 + ccReg-6634178121 + + +``` + +### EPP Domain with valid user with juridical persion as an owner does not create a domain without admin contact + +REQUEST: + +```xml + + + + + + example.ee + 1 + + + ns1.example.net + 192.0.2.2 + 1080:0:0:0:8:800:200C:417A + + + ns2.example.net + + + jd1234 + sh8013 + + + + + + 257 + 3 + 5 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Admin contacts count must be between 1-10 + + + + ABC-12345 + ccReg-6052411567 + + +``` + +### EPP Domain with valid user with valid domain renews a domain + +REQUEST: + +```xml + + + + + + example.ee + 2016-01-21 + 1 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + 2017-01-21 00:00:00 UTC + + + + ABC-12345 + ccReg-7445464452 + + + +``` + +### EPP Domain with valid user with valid domain returns an error when given and current exp dates do not match + +REQUEST: + +```xml + + + + + + example.ee + 2016-08-07 + 1 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Given and current expire dates do not match + + 2016-08-07 + + + + + ABC-12345 + ccReg-2600212757 + + +``` + +### EPP Domain with valid user with valid domain returns an error when period is invalid + +REQUEST: + +```xml + + + + + + example.ee + 2016-01-21 + 4 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Period must add up to 1, 2 or 3 years + + 4 + + + + + ABC-12345 + ccReg-1319516698 + + +``` + +### EPP Domain with valid user with valid domain sets ok status by default + +REQUEST: + +```xml + + + + + + example.ee + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + + sh9456 + sh9456 + sh9528 + + + ns.toy48.ee + 192.168.1.1 + + + ns.walsh49.ee + 192.168.1.1 + + + ns.hoppezulauf50.ee + 192.168.1.1 + + + Registrar OÜ + Registrar OÜ + 2015-01-21 10:30:19 UTC + 2016-01-21 00:00:00 UTC + + 1f9c469d2b29fe11efcf4ff01f5d9bb2 + + + + + + ABC-12345 + ccReg-0380108725 + + +``` + +### EPP Domain with valid user with valid domain returns domain info + +REQUEST: + +```xml + + + + + + Example.ee + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + Payment overdue. + sh0108 + sh0108 + sh9929 + + + ns.kassulkedickens51.ee + 192.168.1.1 + + + ns.hansen52.ee + 192.168.1.1 + + + ns.durgan53.ee + 192.168.1.1 + + + ns1.example.com + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + Registrar OÜ + Registrar OÜ + 2015-01-21 10:30:20 UTC + 2016-01-21 00:00:00 UTC + + 08d150715c1bb62c7970714f43949042 + + + + + + + + 123 + 3 + 1 + abc + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + 123 + 3 + 1 + abc + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + + ABC-12345 + ccReg-5405753681 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + example.ee + Payment overdue. + sh0108 + sh0108 + sh9929 + + + ns.kassulkedickens51.ee + 192.168.1.1 + + + ns.hansen52.ee + 192.168.1.1 + + + ns.durgan53.ee + 192.168.1.1 + + + ns1.example.com + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + Registrar OÜ + Registrar OÜ + 2015-01-21 10:30:20 UTC + 2016-01-21 00:00:00 UTC + 2015-01-21 10:30:20 UTC + + 08d150715c1bb62c7970714f43949042 + + + + + + + + 123 + 3 + 1 + abc + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + 123 + 3 + 1 + abc + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + + ABC-12345 + ccReg-9379526485 + + +``` + +### EPP Domain with valid user with valid domain returns error when domain can not be found + +REQUEST: + +```xml + + + + + + test.ee + + 2fooBAR + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Domain not found + + test.ee + + + + + ABC-12345 + ccReg-0060008399 + + +``` + +### EPP Domain with valid user with valid domain updates domain and adds objects + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + ns2.example.com + + mak21 + Payment overdue. + + + + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Contact was not found + + mak21 + + + + + ABC-12345 + ccReg-3155641703 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + ns2.example.com + + mak21 + Payment overdue. + + + + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-6366669084 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + ns2.example.com + + mak21 + Payment overdue. + + + + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Nameserver already exists on this domain + + ns1.example.com + + + + Nameserver already exists on this domain + + ns2.example.com + + + + Contact already exists on this domain! + + mak21 + + + + Status already exists on this domain + + clientHold + + + + Status already exists on this domain + + clientUpdateProhibited + + + + Public key already exists + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + Public key already exists + + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + ABC-12345 + ccReg-9869463114 + + +``` + +### EPP Domain with valid user with valid domain updates a domain and removes objects + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + ns2.example.com + + mak21 + Payment overdue. + + + + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-6327616059 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + + mak21 + + + + + + + + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-7934790338 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + + mak21 + + + + + + + + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Contact was not found + + mak21 + + + + Nameserver was not found + + ns1.example.com + + + + Status was not found + + clientHold + + + + + ABC-12345 + ccReg-0231483814 + + +``` + +### EPP Domain with valid user with valid domain does not remove server statuses + +REQUEST: + +```xml + + + + + + example.ee + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Status was not found + + serverHold + + + + + ABC-12345 + ccReg-3935468334 + + +``` + +### EPP Domain with valid user with valid domain does not add duplicate objects to domain + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-4958951872 + + +``` + +REQUEST: + +```xml + + + + + + example.ee + + + ns1.example.com + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Nameserver already exists on this domain + + ns1.example.com + + + + + ABC-12345 + ccReg-1011626231 + + +``` + +### EPP Domain with valid user with valid domain cannot change registrant without legal document + +REQUEST: + +```xml + + + + + + example.ee + + mak21 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: legalDocument + + + + ABC-12345 + ccReg-9743302727 + + +``` + +### EPP Domain with valid user with valid domain updates a domain + +REQUEST: + +```xml + + + + + + example.ee + + mak21 + + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-4151408787 + + +``` + +### EPP Domain with valid user with valid domain does not assign invalid status to domain + +REQUEST: + +```xml + + + + + + example.ee + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Status was not found + + invalidStatus + + + + + ABC-12345 + ccReg-4576752535 + + +``` + +### EPP Domain with valid user with valid domain deletes domain + +REQUEST: + +```xml + + + + + + example.ee + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-3919038536 + + +``` + +### EPP Domain with valid user with valid domain does not delete domain with specific status + +REQUEST: + +```xml + + + + + + example.ee + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Domain status prohibits operation + + + + ABC-12345 + ccReg-4602022297 + + +``` + +### EPP Domain with valid user with valid domain does not delete domain without legal document + +REQUEST: + +```xml + + + + + + example.ee + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: legalDocument + + + + ABC-12345 + ccReg-7492617073 + + +``` + +### EPP Helper in context of Domain generates valid transfer xml + +### EPP Keyrelay with valid user makes a keyrelay request + +REQUEST: + +```xml + + + + + example.ee + + 256 + 3 + 8 + cmlraXN0aGViZXN0 + + + 7aca517daf5b52b59037a56ab3238056 + + + P1M13D + + + 1421836228 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 1421836228 + ccReg-7856423141 + + +``` + +### EPP Keyrelay with valid user returns an error when parameters are missing + +REQUEST: + +```xml + + + + + example.ee + + + 3 + 8 + cmlraXN0aGViZXN0 + + + 8890cf7fdaa40de573f3c0997482bc52 + + + Invalid Expiry + + + 1421836228 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing: flags + + + + 1421836228 + ccReg-9893241800 + + +``` + +### EPP Keyrelay with valid user returns an error on invalid relative expiry + +REQUEST: + +```xml + + + + + example.ee + + 256 + 3 + 8 + cmlraXN0aGViZXN0 + + + 46699c06a52c5e273373d8272f3f06c3 + + + Invalid Expiry + + + 1421836229 + + +``` + +RESPONSE: + +```xml + + + + + Expiry relative must be compatible to ISO 8601 + + Invalid Expiry + + + + + 1421836229 + ccReg-3255734550 + + +``` + +### EPP Keyrelay with valid user does not allow both relative and absolute + +REQUEST: + +```xml + + + + + example.ee + + 256 + 3 + 8 + cmlraXN0aGViZXN0 + + + 13190eab5d6e8d1cf4a12aff982d3cc1 + + + P1D + 2014-12-23 + + + 1421836230 + + +``` + +RESPONSE: + +```xml + + + + + Only one parameter allowed: relative or absolute + + + + 1421836230 + ccReg-4132958619 + + +``` + +### EPP Poll with valid user returns no messages in poll + +REQUEST: + +```xml + + + + + 1421836230 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; no messages + + + 1421836230 + ccReg-5358036383 + + + +``` + +### EPP Poll with valid user queues and dequeues messages + +REQUEST: + +```xml + + + + + 1421836230 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; no messages + + + 1421836230 + ccReg-6157589123 + + + +``` + +REQUEST: + +```xml + + + + + 1421836231 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ack to dequeue + + + 2015-01-21 10:30:30 UTC + Balance low. + + + 1421836231 + ccReg-5225682272 + + + +``` + +REQUEST: + +```xml + + + + + 1421836231 + + +``` + +RESPONSE: + +```xml + + + + + Message was not found + + 1 + + + + + 1421836231 + ccReg-8230579619 + + +``` + +REQUEST: + +```xml + + + + + 1421836231 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 1421836231 + ccReg-2476512517 + + + +``` + +REQUEST: + +```xml + + + + + 1421836231 + + +``` + +RESPONSE: + +```xml + + + + + Message was not found + + 1 + + + + + 1421836231 + ccReg-8821752012 + + +``` + +### EPP Poll with valid user returns an error on incorrect op + +REQUEST: + +```xml + + + + + 1421836231 + + +``` + +RESPONSE: + +```xml + + + + + Attribute op is invalid + + + + 1421836231 + ccReg-4427626533 + + +``` + +### EPP Poll with valid user dequeues multiple messages + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ack to dequeue + + + 2015-01-21 10:30:32 UTC + Smth else. + + + 1421836232 + ccReg-6932166712 + + + +``` + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 1421836232 + ccReg-9666400030 + + + +``` + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ack to dequeue + + + 2015-01-21 10:30:32 UTC + Something. + + + 1421836232 + ccReg-2376562097 + + + +``` + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 1421836232 + ccReg-7755816407 + + + +``` + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ack to dequeue + + + 2015-01-21 10:30:32 UTC + Balance low. + + + 1421836232 + ccReg-3013313986 + + + +``` + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 1421836232 + ccReg-0651604210 + + + +``` + +REQUEST: + +```xml + + + + + 1421836232 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; no messages + + + 1421836232 + ccReg-9205005995 + + + +``` + +### EPP Session when not connected greets client upon connection + +RESPONSE: + +```xml + + + + EPP server (EIS) + 2015-01-21T10:30:33Z + + 1.0 + en + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + + + + + + + + + + + + + + + + + + +``` + +### EPP Session when connected does not log in with invalid user + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authentication error; server closing connection + + + + ABC-12345 + ccReg-8091571303 + + +``` + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authentication error; server closing connection + + + + ABC-12345 + ccReg-7127564335 + + +``` + +### EPP Session when connected prohibits further actions unless logged in + +REQUEST: + +```xml + + + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + You need to login first. + + + + ABC-12345 + ccReg-0708017445 + + +``` + +### EPP Session when connected with valid user logs in epp user + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-8862134897 + + + +``` + +### EPP Session when connected with valid user logs out epp user + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-1704064402 + + + +``` + +REQUEST: + +```xml + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ending session + + + + ABC-12345 + ccReg-6220365602 + + +``` + +### EPP Session when connected with valid user does not log in twice + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-7496958864 + + + +``` + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Already logged in. Use <logout> first. + + + + ABC-12345 + ccReg-4967730499 + + +``` + diff --git a/doc/epp/contact.md b/doc/epp/contact.md index 5cf547a2a..4d1648032 100644 --- a/doc/epp/contact.md +++ b/doc/epp/contact.md @@ -22,4 +22,4 @@ NB! Extension is not implemented yet! -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-contact-with-valid-user-create-command-successfully-creates-a-contact) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-create-command-successfully-creates-a-contact) diff --git a/doc/epp/domain.md b/doc/epp/domain.md index be6fa5547..8104f4542 100644 --- a/doc/epp/domain.md +++ b/doc/epp/domain.md @@ -25,7 +25,7 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-with-citizen-as-an-owner-creates-a-domain) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-with-citizen-as-an-owner-creates-a-domain) ### Domain update @@ -64,7 +64,7 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-with-valid-domain-updates-domain-and-adds-objects) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-with-valid-domain-updates-domain-and-adds-objects) ### Domain delete @@ -78,7 +78,7 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-with-valid-domain-deletes-domain) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-with-valid-domain-deletes-domain) ### Domain info @@ -94,7 +94,7 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-with-valid-domain-returns-domain-info) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-with-valid-domain-returns-domain-info) ### Domain renew @@ -110,7 +110,7 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-with-valid-domain-renews-a-domain) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-with-valid-domain-renews-a-domain) ### Domain transfer @@ -126,7 +126,7 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-with-two-epp-users-transfers-a-domain) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-with-two-epp-users-transfers-a-domain) ### Domain check @@ -140,4 +140,4 @@ Field name | Min-max | Field description `--` | 1 | Base64 encoded document. Attribute: type="pdf" `` | 0-1 | Client transaction id -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-domain-with-valid-user-checks-a-domain) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-user-checks-a-domain) diff --git a/doc/epp/keyrelay.md b/doc/epp/keyrelay.md index b9fa8ba01..f5c95d22c 100644 --- a/doc/epp/keyrelay.md +++ b/doc/epp/keyrelay.md @@ -18,4 +18,4 @@ | `--` | 0-1 | Absolute expiry date (ISO8601). Required if ext:relative is not specified | | `` | 0-1 | Client transaction id | -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-keyrelay-with-valid-user-makes-a-keyrelay-request) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-keyrelay-with-valid-user-makes-a-keyrelay-request) diff --git a/doc/epp/session.md b/doc/epp/session.md index ae60fc215..c08566ee8 100644 --- a/doc/epp/session.md +++ b/doc/epp/session.md @@ -17,7 +17,7 @@ Here are functions like login, logout, hello, poll | `---` | 0-n | Extension URI that is going to be used in current connection. | | `` | 0-1 | Client transaction id | -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-in-epp-user) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-session-when-connected-with-valid-user-logs-in-epp-user) ### Logout request @@ -26,7 +26,7 @@ Here are functions like login, logout, hello, poll | `` | 1 | | | `` | 0-1 | Client transaction id | -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-out-epp-user) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-session-when-connected-with-valid-user-logs-out-epp-user) ### Poll request @@ -35,4 +35,4 @@ Here are functions like login, logout, hello, poll | `` | 1 | Rec for receiving messages, ack for dequeuing Attribute: op="req / ack" | | `` | 0-1 | Client transaction id | -[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-poll-with-valid-user-queues-and-dequeues-messages) +[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-poll-with-valid-user-queues-and-dequeues-messages)