# EPP REQUEST - RESPONSE EXAMPLES
GENERATED AT: 2015-06-16 14:45:11 UTC
EXAMPLE COUNT: 168
---
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0628016030
```
### EPP Contact with valid user create command fails if request xml is missing
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: create > create > postalInfo > name [name]
Required parameter missing: create > create > postalInfo > addr > street [street]
Required parameter missing: create > create > postalInfo > addr > city [city]
Required parameter missing: create > create > postalInfo > addr > pc [pc]
Required parameter missing: create > create > postalInfo > addr > cc [cc]
Required parameter missing: create > create > voice [voice]
Required parameter missing: create > create > email [email]
Required parameter missing: extension > extdata > ident [ident]
ABC-12345
ccReg-4850323861
```
### EPP Contact with valid user create command successfully creates a contact
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:E6D21A5B
2015-06-16T14:45:14Z
ABC-12345
ccReg-8174523782
```
### EPP Contact with valid user create command successfully saves ident type with legal document
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
1990-22-12
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:2991302F
2015-06-16T14:45:14Z
ABC-12345
ccReg-5902458408
```
### EPP Contact with valid user create command successfully adds registrar
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:939795FC
2015-06-16T14:45:14Z
ABC-12345
ccReg-7781355479
```
### EPP Contact with valid user create command returns result data upon success
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:8F2D96DF
2015-06-16T14:45:14Z
ABC-12345
ccReg-9037049309
```
### EPP Contact with valid user create command should add registrar prefix for code when missing
REQUEST:
```xml
abc12345
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:ABC12345
2015-06-16T14:45:14Z
ABC-12345
ccReg-5231101974
```
### EPP Contact with valid user create command should add registrar prefix for code when missing
REQUEST:
```xml
abc:ABC:12345
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:ABC:ABC:12345
2015-06-16T14:45:14Z
ABC-12345
ccReg-6422793401
```
### EPP Contact with valid user create command should not allow spaces in custom code
REQUEST:
```xml
abc 123
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
is invalid [code]
ABC-12345
ccReg-2948594360
```
### EPP Contact with valid user create command should not saves ident type with wrong country code
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
1990-22-12
ABC-12345
```
RESPONSE:
```xml
Ident country code is not valid, should be in ISO_3166-1 alpha 2 format [ident]
ABC-12345
ccReg-5099683978
```
### EPP Contact with valid user create command should add registrar prefix for code when legacy prefix present
REQUEST:
```xml
CID:FIRST0:abc:ABC:NEW:12345
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:CID:FIRST0:ABC:ABC:NEW:12345
2015-06-16T14:45:16Z
ABC-12345
ccReg-1644285201
```
### EPP Contact with valid user create command should not remove suffix CID
REQUEST:
```xml
CID:FIRST0:abc:CID:ABC:NEW:12345
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:CID:FIRST0:ABC:CID:ABC:NEW:12345
2015-06-16T14:45:16Z
ABC-12345
ccReg-9700239330
```
### EPP Contact with valid user create command should not add registrar prefix for code when prefix present
REQUEST:
```xml
FIRST0:abc22
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:ABC22
2015-06-16T14:45:17Z
ABC-12345
ccReg-2521051245
```
### EPP Contact with valid user create command should add registrar prefix for code does not match exactly to prefix
REQUEST:
```xml
cid2:first0:abc:ABC:11111
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:CID2:FIRST0:ABC:ABC:11111
2015-06-16T14:45:17Z
ABC-12345
ccReg-0724862982
```
### EPP Contact with valid user create command should ignore custom code when only contact prefix given
REQUEST:
```xml
CID:FIRST0
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:CID:FIRST0
2015-06-16T14:45:17Z
ABC-12345
ccReg-6737500376
```
### EPP Contact with valid user create command should generate server id when id is empty
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:83F0C8EE
2015-06-16T14:45:17Z
ABC-12345
ccReg-1953331836
```
### EPP Contact with valid user create command should generate server id when id is empty
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:89839115
2015-06-16T14:45:17Z
ABC-12345
ccReg-1961057833
```
### EPP Contact with valid user create command should return parameter value policy error for org
REQUEST:
```xml
John Doe
should not save
123 Example
Tallinn
123456
EE
+372.1234567
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Org must be blank: postalInfo > org [org]
ABC-12345
ccReg-7530778283
```
### EPP Contact with valid user create command should return parameter value policy error for fax
REQUEST:
```xml
John Doe
123 Example
Tallinn
123456
EE
+372.1234567
should not save
test@example.example
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Fax must be blank: fax [fax]
ABC-12345
ccReg-9380671496
```
### 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: update > update > id [id]
ABC-12345
ccReg-3302729368
```
### EPP Contact with valid user update command returns error if obj doesnt exist
REQUEST:
```xml
not-exists
John Doe Edited
+372.7654321
edited@example.example
password
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Object does not exist
NOT-EXISTS
ABC-12345
ccReg-9700707144
```
### EPP Contact with valid user update command is succesful
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
+372.7654321
edited@example.example
password
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-3460954479
```
### EPP Contact with valid user update command is succesful for own contact without password
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-3321686496
```
### EPP Contact with valid user update command should update other contact with correct password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1310720284
```
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
+372.7654321
edited@example.example
password
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-5319423932
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8595538880
```
### EPP Contact with valid user update command should not update other contact without password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1546881965
```
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-2967153959
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2076214878
```
### EPP Contact with valid user update command returns phone and email error
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
123213
wrong
password
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Phone nr is invalid [phone]
Email is invalid [email]
ABC-12345
ccReg-0468202475
```
### EPP Contact with valid user update command should not update code with custom string
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
+372.7654321
edited@example.example
password
notpossibletoupdate
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Object does not exist
FIRST0:SH8013NOTPOSSIBLETOUPDATE
ABC-12345
ccReg-7942047636
```
### EPP Contact with valid user update command should not be able to update ident
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
+372.7654321
edited@example.example
password
1990-22-12
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Update of ident data not allowed [ident]
ABC-12345
ccReg-9797329583
```
### EPP Contact with valid user update command should return parameter value policy errror for org update
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
should not save
+372.7654321
edited@example.example
password
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Org must be blank: postalInfo > org [org]
ABC-12345
ccReg-7526123941
```
### EPP Contact with valid user update command should return parameter value policy errror for fax update
REQUEST:
```xml
FIRST0:SH8013
John Doe Edited
+372.7654321
should not save
edited@example.example
password
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Fax must be blank: fax [fax]
ABC-12345
ccReg-4123279413
```
### EPP Contact with valid user update command does not allow to edit statuses if policy forbids it
REQUEST:
```xml
FIRST0:SH8013
Payment overdue.
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Client-side object status management not supported: status [status]
ABC-12345
ccReg-6929449846
```
### EPP Contact with valid user update command should add value voice value
REQUEST:
```xml
FIRST0:SH8013
+372.11111111
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-1481668570
```
### EPP Contact with valid user update command should return error when add attributes phone value is empty
REQUEST:
```xml
FIRST0:SH8013
example@example.ee
password
ABC-12345
```
RESPONSE:
```xml
Required parameter missing - phone [phone]
Phone nr is invalid [phone]
ABC-12345
ccReg-0260056975
```
### EPP Contact with valid user update command should honor chg value over add value when both changes same attribute
REQUEST:
```xml
FIRST0:SH8013
+372.11111111111
+372.222222222222
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-9676737932
```
### EPP Contact with valid user update command should not allow to remove required voice attribute
REQUEST:
```xml
FIRST0:SH8013
password
ABC-12345
```
RESPONSE:
```xml
Required parameter missing - phone [phone]
Phone nr is invalid [phone]
ABC-12345
ccReg-9359806010
```
### EPP Contact with valid user update command should not allow to remove required attribute
REQUEST:
```xml
FIRST0:SH8013
password
+372.7654321
ABC-12345
```
RESPONSE:
```xml
Required parameter missing - phone [phone]
Phone nr is invalid [phone]
ABC-12345
ccReg-5415478708
```
### EPP Contact with valid user update command should honor add over rem
REQUEST:
```xml
FIRST0:SH8013
password
not important
+372.3333333
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-7303720395
```
### EPP Contact with valid user update command should honor chg over rem
REQUEST:
```xml
FIRST0:SH8013
password
not important
+372.44444444
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-8343028402
```
### EPP Contact with valid user update command should honor chg over rem and add
REQUEST:
```xml
FIRST0:SH8013
password
+372.666666
+372.555555
not important
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-3396633434
```
### EPP Contact with valid user update command should not remove password
REQUEST:
```xml
FIRST0:SH8013
password
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH8013
2015-06-16T14:45:19Z
ABC-12345
ccReg-2557605520
```
### EPP Contact with valid user update command should return general policy error when removing org
REQUEST:
```xml
FIRST0:SH8013
password
not important
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Org must be blank: postalInfo > org [org]
ABC-12345
ccReg-5903969239
```
### EPP Contact with valid user update command should return error when removing street
REQUEST:
```xml
FIRST0:SH8013
password
not important
ABC-12345
```
RESPONSE:
```xml
Required parameter missing - name [name]
ABC-12345
ccReg-4958556368
```
### EPP Contact with valid user delete command fails if request is invalid
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: delete > delete > id [id]
ABC-12345
ccReg-3948826508
```
### EPP Contact with valid user delete command returns error if obj doesnt exist
REQUEST:
```xml
not-exists
password
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Object does not exist
NOT-EXISTS
ABC-12345
ccReg-6894400452
```
### EPP Contact with valid user delete command deletes contact
REQUEST:
```xml
FIRST0:SH660293943
password
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3167684614
```
### EPP Contact with valid user delete command deletes own contact even with wrong password
REQUEST:
```xml
FIRST0:SH918459854
wrong password
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-4976622556
```
### EPP Contact with valid user delete command deletes own contact even without password
REQUEST:
```xml
FIRST0:SH479142985
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5497436667
```
### EPP Contact with valid user delete command fails if contact has associated domain
REQUEST:
```xml
FIRST0:SH948515446
password
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Object association prohibits operation [domains]
ABC-12345
ccReg-5113374232
```
### EPP Contact with valid user delete command should delete when not owner but with correct password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2787819683
```
REQUEST:
```xml
FIRST0:SH756528579
password
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1059535053
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9721519129
```
### EPP Contact with valid user delete command should not delete when not owner without password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5463189772
```
REQUEST:
```xml
FIRST0:SH6727132410
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-0140635504
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3361341345
```
### EPP Contact with valid user delete command should not delete when not owner with wrong password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2140366200
```
REQUEST:
```xml
FIRST0:SH6052359511
wrong password
37605030299
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-4307228004
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9967906837
```
### EPP Contact with valid user check command fails if request is invalid
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: check > check > id [id]
ABC-12345
ccReg-1546452843
```
### EPP Contact with valid user check command returns info about contact availability
REQUEST:
```xml
FIXED:CHECK-1234
check-4321
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIXED:CHECK-1234
in use
check-4321
ABC-12345
ccReg-5794718821
```
### EPP Contact with valid user check command should support legacy CID farmat
REQUEST:
```xml
FIXED:CHECK-LEGACY
CID:FIXED:CHECK-LEGACY
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIXED:CHECK-LEGACY
in use
CID:FIXED:CHECK-LEGACY
ABC-12345
ccReg-9107912155
```
### EPP Contact with valid user info command fails if request invalid
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: info > info > id [id]
ABC-12345
ccReg-0867319397
```
### EPP Contact with valid user info command returns error when object does not exist
REQUEST:
```xml
no-contact
password
ABC-12345
```
RESPONSE:
```xml
Object does not exist
NO-CONTACT
ABC-12345
ccReg-1035787772
```
### EPP Contact with valid user info command return info about contact
REQUEST:
```xml
FIXED:INFO-4444
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIXED:INFO-4444
EIS-29
Johnny Awesome
Short street 11
Tallinn
11111
EE
+372.12345678
litzy_kuvalis@pfannerstillhowe.org
fixed registrar
TEST-CREATOR
2015-06-16T14:45:37Z
password
37605030299
ABC-12345
ccReg-8740910444
```
### EPP Contact with valid user info command should add legacy CID format as append
REQUEST:
```xml
FIXED:CID:FIXED:INFO-5555
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIXED:CID:FIXED:INFO-5555
EIS-30
Johnny Awesome
Short street 11
Tallinn
11111
EE
+372.12345678
litzy_kuvalis@pfannerstillhowe.org
fixed registrar
TEST-CREATOR
2015-06-16T14:45:37Z
password
37605030299
ABC-12345
ccReg-0768016805
```
### EPP Contact with valid user info command should return ident in extension
REQUEST:
```xml
FIRST0:INFO-IDENT
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:INFO-IDENT
EIS-31
Johnny Awesome
Short street 11
Tallinn
11111
EE
+372.12345678
litzy_kuvalis@pfannerstillhowe.org
registrar1
TEST-CREATOR
2015-06-16T14:45:37Z
password
37605030299
ABC-12345
ccReg-1418789936
```
### EPP Contact with valid user info command returns no authorization error for wrong password when registrant
REQUEST:
```xml
FIRST0:SH168939920
wrong-pw
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH168939920
EIS-1
Tiana Cummerata0
Short street 11
Tallinn
11111
EE
+372.12345678
litzy_kuvalis@pfannerstillhowe.org
registrar1
TEST-CREATOR
2015-06-16T14:45:13Z
password
37605030299
ABC-12345
ccReg-8270641025
```
### EPP Contact with valid user info command should honor new contact code format
REQUEST:
```xml
FIXED:TEST:CUSTOM:CODE
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIXED:TEST:CUSTOM:CODE
EIS-32
Jarred Reichel15
Short street 11
Tallinn
11111
EE
+372.12345678
litzy_kuvalis@pfannerstillhowe.org
fixed registrar
TEST-CREATOR
2015-06-16T14:45:37Z
password
37605030299
ABC-12345
ccReg-0424201637
```
### EPP Contact with valid user info command returns no authorization error for wrong user but correct password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-6919284154
```
REQUEST:
```xml
FIRST0:SH168939920
password
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH168939920
EIS-1
Tiana Cummerata0
Short street 11
Tallinn
11111
EE
+372.12345678
litzy_kuvalis@pfannerstillhowe.org
registrar1
TEST-CREATOR
2015-06-16T14:45:13Z
password
37605030299
ABC-12345
ccReg-4155363959
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9980678480
```
### EPP Contact with valid user info command returns authorization error for wrong user and wrong password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-6386920424
```
REQUEST:
```xml
FIRST0:SH168939920
wrong-pw
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-8614373807
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9444940598
```
### EPP Contact with valid user info command returns no authorization error for wrong user and no password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1099785761
```
REQUEST:
```xml
FIRST0:SH168939920
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
FIRST0:SH168939920
EIS-1
Tiana Cummerata0
registrar1
TEST-CREATOR
2015-06-16T14:45:13Z
ABC-12345
ccReg-7660283209
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8143425519
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2175230306
```
### EPP Domain returns error if contact does not exists
REQUEST:
```xml
example51359824296846476.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:CITIZEN_1234
sh1111
sh2222
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Contact was not found
sh1111
Contact was not found
sh2222
ABC-12345
ccReg-6335804328
```
### EPP Domain validates required parameters
REQUEST:
```xml
test.ee
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: create > create > ns [ns]
Required parameter missing: create > create > registrant [registrant]
Required parameter missing: create > create > ns > hostAttr [host_attr]
Required parameter missing: extension > extdata > legalDocument [legal_document]
ABC-12345
ccReg-4990944724
```
### EPP Domain with citizen as a registrant creates a domain
REQUEST:
```xml
example18858770590752611.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example18858770590752611.ee
2015-06-16T14:45:40Z
2016-06-16T14:45:40Z
ABC-12345
ccReg-0460679321
```
### EPP Domain with citizen as a registrant creates a domain with legal document
REQUEST:
```xml
example53637086732201506.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example53637086732201506.ee
2015-06-16T14:45:40Z
2016-06-16T14:45:40Z
ABC-12345
ccReg-2657489548
```
### EPP Domain with citizen as a registrant validates nameserver ipv4 when in same zone as domain
REQUEST:
```xml
example55255947651220293.ee
1
ns1.example55255947651220293.ee
ns2.example55255947651220293.ee
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
IPv4 is missing [ipv4]
ABC-12345
ccReg-5446638954
```
### EPP Domain with citizen as a registrant does not create domain longer than 63 punicode characters
REQUEST:
```xml
äääääääääääääääääääääääääääääääääääääääääääääääääääääääääääääää.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Domain name is too long (maximum is 63 characters) [puny_label]
ABC-12345
ccReg-2558205520
```
### EPP Domain with citizen as a registrant 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
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Domain name is reserved or restricted [name_dirty]
1162.ee
ABC-12345
ccReg-3241448329
```
### EPP Domain with citizen as a registrant does not create domain without contacts and registrant
REQUEST:
```xml
example79107476359960104.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: create > create > registrant [registrant]
ABC-12345
ccReg-2841149464
```
### EPP Domain with citizen as a registrant does not create domain without nameservers
REQUEST:
```xml
example89212032300871964.ee
1
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: create > create > ns [ns]
Required parameter missing: create > create > ns > hostAttr [host_attr]
ABC-12345
ccReg-6780943188
```
### EPP Domain with citizen as a registrant does not create domain with too many nameservers
REQUEST:
```xml
example83430684429956047.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
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Nameservers count must be between 2-11 [nameservers]
ABC-12345
ccReg-2034075719
```
### EPP Domain with citizen as a registrant returns error when invalid nameservers are present
REQUEST:
```xml
example48749833529852102.ee
1
invalid1-
-invalid2
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Hostname is invalid [hostname]
invalid1-
Hostname is invalid [hostname]
-invalid2
ABC-12345
ccReg-8625622303
```
### EPP Domain with citizen as a registrant checks hostAttr presence
REQUEST:
```xml
example62530771922904064.ee
1
ns1.example.ee
ns2.example.ee
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: create > create > ns > hostAttr [host_attr]
ABC-12345
ccReg-9223003685
```
### EPP Domain with citizen as a registrant creates domain with nameservers with ips
REQUEST:
```xml
example57855176106155885.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
2fooBAR
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example57855176106155885.ee
2015-06-16T14:45:49Z
2016-06-16T14:45:49Z
ABC-12345
ccReg-3987518347
```
### EPP Domain with citizen as a registrant returns error when nameserver has invalid ips
REQUEST:
```xml
example36117415864684846.ee
1
ns1.example.net
192.0.2.2.invalid
ns2.example.net
invalid_ipv6
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
2fooBAR
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
IPv4 is invalid [ipv4]
192.0.2.2.invalid
IPv6 is invalid [ipv6]
INVALID_IPV6
ABC-12345
ccReg-8191386800
```
### EPP Domain with citizen as a registrant creates a domain with period in days
REQUEST:
```xml
example47616294102238590.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example47616294102238590.ee
2015-06-16T14:45:50Z
2016-06-16T14:45:50Z
ABC-12345
ccReg-9254659589
```
### EPP Domain with citizen as a registrant does not create a domain with invalid period
REQUEST:
```xml
example59902259057282424.ee
367
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Period must add up to 1, 2 or 3 years [period]
367
ABC-12345
ccReg-5831577897
```
### EPP Domain with citizen as a registrant creates a domain with multiple dnskeys
REQUEST:
```xml
example35799150293426379.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
3
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example35799150293426379.ee
2015-06-16T14:45:52Z
2016-06-16T14:45:52Z
ABC-12345
ccReg-6805098026
```
### EPP Domain with citizen as a registrant does not create a domain when dnskeys are invalid
REQUEST:
```xml
example77419485730565318.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
250
4
9
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
1
3
10
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
5
254
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 [alg]
9
Valid protocols are: 3 [protocol]
4
Valid flags are: 0, 256, 257 [flags]
250
Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 [alg]
10
Valid flags are: 0, 256, 257 [flags]
1
Public key is missing [public_key]
Valid protocols are: 3 [protocol]
5
ABC-12345
ccReg-5499891820
```
### EPP Domain with citizen as a registrant does not create a domain with two identical dnskeys
REQUEST:
```xml
example62893290773940803.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
3
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Public key already exists [public_key]
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
ABC-12345
ccReg-1606849858
```
### EPP Domain with citizen as a registrant validated dnskeys count
REQUEST:
```xml
example89542634347493363.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
257
3
3
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
DNS keys count must be between 0-1 [dnskeys]
ABC-12345
ccReg-0277146354
```
### EPP Domain with citizen as a registrant creates domain with ds data
REQUEST:
```xml
example5611622315382730.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
12345
3
1
49FD46E6C4B45C55D4AC
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example5611622315382730.ee
2015-06-16T14:45:55Z
2016-06-16T14:45:55Z
ABC-12345
ccReg-2786067157
```
### EPP Domain with citizen as a registrant creates domain with ds data with key
REQUEST:
```xml
example28205147543381731.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
12345
3
1
49FD46E6C4B45C55D4AC
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example28205147543381731.ee
2015-06-16T14:45:55Z
2016-06-16T14:45:55Z
ABC-12345
ccReg-3180633288
```
### EPP Domain with citizen as a registrant prohibits dsData
REQUEST:
```xml
example81689211125437444.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
12345
3
1
49FD46E6C4B45C55D4AC
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
dsData object is not allowed
ABC-12345
ccReg-0596552578
```
### EPP Domain with citizen as a registrant prohibits keyData
REQUEST:
```xml
example16808329279089073.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
keyData object is not allowed
ABC-12345
ccReg-3845103907
```
### EPP Domain with citizen as a registrant prohibits dsData and keyData when they exists together
REQUEST:
```xml
example57773978303296424.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:CITIZEN_1234
FIXED:SH8013
FIXED:SH8013
FIXED:SH801333
12345
3
1
49FD46E6C4B45C55D4AC
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Mutually exclusive parameters: extension > create > keyData, extension > create > dsData
ABC-12345
ccReg-0236248171
```
### EPP Domain with juridical persion as a registrant creates a domain with contacts
REQUEST:
```xml
example82556663094409029.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:JURIDICAL_1234
FIXED:SH8013
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
example82556663094409029.ee
2015-06-16T14:45:59Z
2016-06-16T14:45:59Z
ABC-12345
ccReg-7792326836
```
### EPP Domain with juridical persion as a registrant does not create a domain without admin contact
REQUEST:
```xml
example61224688298392772.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:JURIDICAL_1234
FIXED:SH8013
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Admin contacts count must be between 1-10 [admin_domain_contacts]
ABC-12345
ccReg-4835312018
```
### EPP Domain with juridical persion as a registrant cannot assign juridical person as admin contact
REQUEST:
```xml
example2482715006886939.ee
1
ns1.example.net
192.0.2.2
1080:0:0:0:8:800:200C:417A
ns2.example.net
FIXED:JURIDICAL_1234
FIXED:JURIDICAL_1234
257
3
5
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Admin contact can be private person only
FIXED:JURIDICAL_1234
ABC-12345
ccReg-0994405489
```
### EPP Domain with valid domain transfers a domain
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9434443874
```
REQUEST:
```xml
domain1.ee
cade780e81c248d9e6363fd303b523c3
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain1.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:02Z
REGDOMAIN1
2015-06-16T14:46:02Z
2016-06-16T14:46:02Z
ABC-12345
ccReg-6107518806
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9351177423
```
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Command completed successfully; ack to dequeue
2015-06-16T14:46:02Z
Domain transfer was approved, associated contacts are: ["REGDOMAIN2:2E38C324", "REGDOMAIN2:30A5A03D"]
domain1.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:02Z
REGDOMAIN1
2015-06-16T14:46:02Z
2016-06-16T14:46:02Z
ABC-12345
ccReg-5221788468
```
REQUEST:
```xml
domain1.ee
e3b00963e2849df1654840a4805b8390
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain1.ee
pending
REGDOMAIN1
2015-06-16T14:46:02Z
REGDOMAIN2
2015-06-16T15:46:02Z
2016-06-16T14:46:02Z
ABC-12345
ccReg-5943956125
```
REQUEST:
```xml
domain1.ee
e3b00963e2849df1654840a4805b8390
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain1.ee
pending
REGDOMAIN1
2015-06-16T14:46:02Z
REGDOMAIN2
2015-06-16T15:46:02Z
2016-06-16T14:46:02Z
ABC-12345
ccReg-0973430912
```
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7808499308
```
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Command completed successfully; ack to dequeue
2015-06-16T14:46:02Z
Transfer requested.
domain1.ee
pending
REGDOMAIN1
2015-06-16T14:46:02Z
REGDOMAIN2
2015-06-16T15:46:02Z
2016-06-16T14:46:02Z
ABC-12345
ccReg-7198000795
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8981002307
```
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0623446914
```
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3648943159
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5814325246
```
### EPP Domain with valid domain creates a domain transfer with legal document
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-6044514213
```
REQUEST:
```xml
domain2.ee
024bb6c14f1f351ff88bd3bdb24ec907
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain2.ee
pending
REGDOMAIN2
2015-06-16T14:46:03Z
REGDOMAIN1
2015-06-16T15:46:03Z
2016-06-16T14:46:03Z
ABC-12345
ccReg-6223906445
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8746149187
```
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7756736893
```
REQUEST:
```xml
domain2.ee
024bb6c14f1f351ff88bd3bdb24ec907
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain2.ee
pending
REGDOMAIN2
2015-06-16T14:46:03Z
REGDOMAIN1
2015-06-16T15:46:03Z
2016-06-16T14:46:03Z
ABC-12345
ccReg-8545188045
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2241555669
```
### EPP Domain with valid domain creates transfer successfully without legal document
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8460295410
```
REQUEST:
```xml
domain3.ee
836af4fd51fcd5712120b17fe2fa2bb3
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain3.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:03Z
REGDOMAIN1
2015-06-16T14:46:03Z
2016-06-16T14:46:03Z
ABC-12345
ccReg-8076619398
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8851768239
```
### EPP Domain with valid domain transfers domain with contacts
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9101345679
```
REQUEST:
```xml
domain4.ee
c4191d5991d76be69de4c89c7d6332c6
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain4.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:04Z
REGDOMAIN1
2015-06-16T14:46:04Z
2016-06-16T14:46:04Z
ABC-12345
ccReg-1271904293
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3137087761
```
### EPP Domain with valid domain transfers domain when registrant has more domains
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7273165678
```
REQUEST:
```xml
domain5.ee
cb2a7321b5cbbbb3dde7a6810c9ed13f
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain5.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:04Z
REGDOMAIN1
2015-06-16T14:46:04Z
2016-06-16T14:46:04Z
ABC-12345
ccReg-6138246266
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0594521940
```
### EPP Domain with valid domain transfers domain when registrant is admin or tech contact on some other domain
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3903547157
```
REQUEST:
```xml
domain8.ee
8ad5a1e3f0f5cfd3ac927eacd377d748
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain8.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:05Z
REGDOMAIN1
2015-06-16T14:46:05Z
2016-06-16T14:46:05Z
ABC-12345
ccReg-6422274553
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8513849853
```
### EPP Domain with valid domain transfers domain when domain contacts are some other domain contacts
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0495664550
```
REQUEST:
```xml
domain9.ee
ae0e9f8ad42aa43f5421e7825576d49b
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain9.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:05Z
REGDOMAIN1
2015-06-16T14:46:05Z
2016-06-16T14:46:05Z
ABC-12345
ccReg-8327056615
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-4617980059
```
### EPP Domain with valid domain transfers domain when multiple domain contacts are some other domain contacts
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2829504560
```
REQUEST:
```xml
domain11.ee
15fd8747240b3b76d7d629fdfb9933c2
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain11.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:06Z
REGDOMAIN1
2015-06-16T14:46:06Z
2016-06-16T14:46:06Z
ABC-12345
ccReg-4652082139
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7682673588
```
### EPP Domain with valid domain transfers domain and references exsisting registrant to domain contacts
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2956836704
```
REQUEST:
```xml
domain14.ee
99528c913bd395947f46b320c600851e
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain14.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:07Z
REGDOMAIN1
2015-06-16T14:46:07Z
2016-06-16T14:46:06Z
ABC-12345
ccReg-2561775032
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-8704236801
```
### EPP Domain with valid domain does not transfer contacts if they are already under new registrar
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5989893103
```
REQUEST:
```xml
domain15.ee
ced325e25352a6d3ae454729c5a5f133
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain15.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:07Z
REGDOMAIN1
2015-06-16T14:46:07Z
2016-06-16T14:46:07Z
ABC-12345
ccReg-3303397389
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3498869771
```
### EPP Domain with valid domain should not creates transfer without password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3004185742
```
REQUEST:
```xml
domain16.ee
98oiewslkfkd
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-0738799544
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9100482752
```
### EPP Domain with valid domain approves the transfer request
REQUEST:
```xml
domain17.ee
d5649c7d29cea682a55405451a7b3e9f
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain17.ee
clientApproved
REGDOMAIN2
2015-06-16T14:46:08Z
REGDOMAIN1
2015-06-16T14:46:08Z
2016-06-16T14:46:08Z
ABC-12345
ccReg-5630988802
```
### EPP Domain with valid domain rejects a domain transfer
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1163667761
```
REQUEST:
```xml
domain18.ee
fe3d5081d9fa1723fec7ca2d3d197651
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Transfer can be rejected only by current registrar
ABC-12345
ccReg-6697616444
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2557365838
```
REQUEST:
```xml
domain18.ee
fe3d5081d9fa1723fec7ca2d3d197651
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain18.ee
clientRejected
REGDOMAIN2
2015-06-16T14:46:08Z
REGDOMAIN1
2015-06-16T14:46:08Z
2016-06-16T14:46:08Z
ABC-12345
ccReg-9330091112
```
### EPP Domain with valid domain prohibits wrong registrar from approving transfer
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-4172750491
```
REQUEST:
```xml
domain19.ee
0220447ad7d651fac0dace38a5bcb106
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Transfer can be approved only by current domain registrar
ABC-12345
ccReg-8617259540
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7168292306
```
### EPP Domain with valid domain does not transfer with invalid pw
REQUEST:
```xml
domain20.ee
test
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-5705380145
```
### EPP Domain with valid domain ignores transfer wha registrant registrar requests transfer
REQUEST:
```xml
domain21.ee
e736e5af0a5e47d84be0a8211eb1e97a
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Domain already belongs to the querying registrar
ABC-12345
ccReg-0353546410
```
### EPP Domain with valid domain returns an error for incorrect op attribute
REQUEST:
```xml
example98439991603054778.ee
98oiewslkfkd
ABC-12345
```
RESPONSE:
```xml
Attribute is invalid: op
ABC-12345
ccReg-6980066531
```
### EPP Domain with valid domain creates new pw after successful transfer
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-6843014672
```
REQUEST:
```xml
domain22.ee
008c062889e1dc19127c0636278263f4
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain22.ee
serverApproved
REGDOMAIN2
2015-06-16T14:46:13Z
REGDOMAIN1
2015-06-16T14:46:13Z
2016-06-16T14:46:13Z
ABC-12345
ccReg-8542599190
```
REQUEST:
```xml
domain22.ee
008c062889e1dc19127c0636278263f4
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-0772545533
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0922916710
```
### EPP Domain with valid domain should get an error when there is no pending transfer
REQUEST:
```xml
domain23.ee
8b267970556e6d4f52ac0e8cd5ec0533
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Pending transfer was not found
ABC-12345
ccReg-0757072773
```
### EPP Domain with valid domain should update right away without update pending status
REQUEST:
```xml
domain24.ee
FIXED:CITIZEN_1234
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1524969701
```
### EPP Domain with valid domain updates a domain
REQUEST:
```xml
domain25.ee
FIXED:CITIZEN_1234
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully; action pending
ABC-12345
ccReg-7160661951
```
### EPP Domain with valid domain should not return action pending when changes are invalid
REQUEST:
```xml
domain26.ee
ns.morissette80.ee
ns.turnerwuckert79.ee
ns.shanahan78.ee
FIXED:CITIZEN_1234
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Nameservers count must be between 2-11 [nameservers]
ABC-12345
ccReg-5838624706
```
### EPP Domain with valid domain should not return action pending when domain itself is already invaid
REQUEST:
```xml
domain27.ee
FIXED:CITIZEN_1234
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Nameservers count must be between 2-11 [nameservers]
ABC-12345
ccReg-5253637768
```
### EPP Domain with valid domain should not allow any update when status pending update
REQUEST:
```xml
domain28.ee
FIXED:CITIZEN_1234
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Object status prohibits operation
ABC-12345
ccReg-6353980879
```
### EPP Domain with valid domain updates domain and adds objects
REQUEST:
```xml
domain29.ee
ns1.example.com
ns2.example.com
FIXED:MAK21
Payment overdue.
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
ABC-12345
```
RESPONSE:
```xml
Contact was not found
FIXED:MAK21
ABC-12345
ccReg-9385991613
```
REQUEST:
```xml
domain29.ee
ns1.example.com
ns2.example.com
FIXED:MAK21
Payment overdue.
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5743092443
```
REQUEST:
```xml
domain29.ee
ns1.example.com
ns2.example.com
FIXED:MAK21
Payment overdue.
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
ABC-12345
```
RESPONSE:
```xml
Nameserver already exists on this domain [hostname]
ns2.example.com
Nameserver already exists on this domain [hostname]
ns1.example.com
Contact already exists on this domain [contact_code_cache]
FIXED:MAK21
Public key already exists [public_key]
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
Public key already exists [public_key]
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
ABC-12345
ccReg-8404006394
```
### EPP Domain with valid domain updates domain with registrant change what triggers action pending
REQUEST:
```xml
domain30.ee
ns1.example.com
ns2.example.com
FIXED:PENDINGMAK21
Payment overdue.
FIXED:CITIZEN_1234
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Contact was not found
FIXED:PENDINGMAK21
ABC-12345
ccReg-4710508132
```
REQUEST:
```xml
domain30.ee
ns1.example.com
ns2.example.com
FIXED:PENDINGMAK21
Payment overdue.
FIXED:CITIZEN_1234
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Command completed successfully; action pending
ABC-12345
ccReg-0418760365
```
### EPP Domain with valid domain does not allow to edit statuses if policy forbids it
REQUEST:
```xml
domain31.ee
Payment overdue.
ABC-12345
```
RESPONSE:
```xml
Parameter value policy error. Client-side object status management not supported: status [status]
ABC-12345
ccReg-6393659962
```
### EPP Domain with valid domain updates a domain and removes objects
REQUEST:
```xml
domain32.ee
ns1.example.com
ns2.example.com
FIXED:CITIZEN_1234
Payment overdue.
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
256
3
254
841936717ae427ace63c28d04918569a841936717ae427ace63c28d0
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5765767170
```
REQUEST:
```xml
domain32.ee
ns1.example.com
FIXED:CITIZEN_1234
256
3
254
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7916696039
```
REQUEST:
```xml
domain32.ee
ns1.example.com
FIXED:CITIZEN_1234
256
3
254
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
ABC-12345
```
RESPONSE:
```xml
Nameserver was not found
ns1.example.com
Contact was not found
FIXED:CITIZEN_1234
DS was not found
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
Status was not found
clientHold
ABC-12345
ccReg-6312761543
```
### EPP Domain with valid domain does not remove server statuses
REQUEST:
```xml
domain33.ee
ABC-12345
```
RESPONSE:
```xml
Status was not found
serverHold
ABC-12345
ccReg-4059845175
```
### EPP Domain with valid domain does not add duplicate objects to domain
REQUEST:
```xml
domain34.ee
ns.paucekcremin99.ee
FIXED:SH2421352279
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-6215676067
```
REQUEST:
```xml
domain34.ee
ns.paucekcremin99.ee
FIXED:SH2421352279
ABC-12345
```
RESPONSE:
```xml
Nameserver already exists on this domain [hostname]
ns.paucekcremin99.ee
Contact already exists on this domain [contact_code_cache]
FIXED:SH2421352279
ABC-12345
ccReg-9116884956
```
### EPP Domain with valid domain cannot change registrant without legal document
REQUEST:
```xml
domain35.ee
FIXED:CITIZEN_1234
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: extension > extdata > legalDocument [legal_document]
ABC-12345
ccReg-7918261747
```
### EPP Domain with valid domain does not assign invalid status to domain
REQUEST:
```xml
domain36.ee
ABC-12345
```
RESPONSE:
```xml
Status was not found
invalidStatus
ABC-12345
ccReg-4823438244
```
### EPP Domain with valid domain renews a domain
REQUEST:
```xml
domain37.ee
2015-06-26
1
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain37.ee
2016-06-26T00:00:00Z
ABC-12345
ccReg-6519525965
```
### EPP Domain with valid domain returns an error when given and current exp dates do not match
REQUEST:
```xml
domain38.ee
2200-08-07
1
ABC-12345
```
RESPONSE:
```xml
Given and current expire dates do not match
2200-08-07
Object is not eligible for renewal
ABC-12345
ccReg-9192582359
```
### EPP Domain with valid domain returns an error when period is invalid
REQUEST:
```xml
domain39.ee
2015-06-26
4
ABC-12345
```
RESPONSE:
```xml
Period must add up to 1, 2 or 3 years [period]
4
ABC-12345
ccReg-9034050627
```
### EPP Domain with valid domain does not renew a domain unless less than 90 days till expiration
REQUEST:
```xml
domain40.ee
2015-09-14
1
ABC-12345
```
RESPONSE:
```xml
Object is not eligible for renewal
ABC-12345
ccReg-0329970059
```
REQUEST:
```xml
domain40.ee
2015-09-13
1
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain40.ee
2016-09-13T00:00:00Z
ABC-12345
ccReg-6696413266
```
### EPP Domain with valid domain does not renew a domain unless less than 90 days till expiration
REQUEST:
```xml
domain41.ee
2020-06-16
1
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain41.ee
2021-06-16T00:00:00Z
ABC-12345
ccReg-1505326476
```
### EPP Domain with valid domain does not renew a domain if it is a delete candidate
REQUEST:
```xml
domain42.ee
2015-06-26
1
ABC-12345
```
RESPONSE:
```xml
Object is not eligible for renewal
ABC-12345
ccReg-4127044027
```
### EPP Domain with valid domain should renew a expired domain
REQUEST:
```xml
domain43.ee
2015-04-27
1
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain43.ee
2016-04-27T14:46:35Z
ABC-12345
ccReg-9291103741
```
### EPP Domain with valid domain does not renew foreign domain
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3538502070
```
REQUEST:
```xml
domain44.ee
2016-06-16
1
ABC-12345
```
RESPONSE:
```xml
Authorization error
ABC-12345
ccReg-5006977619
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-3666394551
```
### EPP Domain with valid domain returns domain info
REQUEST:
```xml
domain45.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain45.ee
EIS-53
FIXED:REGISTRANT5034182443
FIXED:SH87553047104
FIXED:SH60451564103
ns.sipeskeeling135.ee
192.168.1.1
ns.denesikjaskolski136.ee
192.168.1.1
ns.johns137.ee
192.168.1.1
ns1.example.com
192.168.1.1
1080:0:0:0:8:800:200C:417A
registrar1
2015-06-16T14:46:36Z
2015-06-16T14:46:36Z
2016-06-16T14:46:36Z
7fc87d2ceabb4a21969a9a067aa03411
123
3
1
0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
257
3
3
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
123
3
1
0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
ccReg-1180902357
```
REQUEST:
```xml
domain45.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain45.ee
EIS-53
FIXED:REGISTRANT5034182443
FIXED:SH87553047104
FIXED:SH60451564103
ns.sipeskeeling135.ee
192.168.1.1
ns.denesikjaskolski136.ee
192.168.1.1
ns.johns137.ee
192.168.1.1
ns1.example.com
192.168.1.1
1080:0:0:0:8:800:200C:417A
registrar1
2015-06-16T14:46:36Z
2015-06-16T14:46:36Z
2016-06-16T14:46:36Z
7fc87d2ceabb4a21969a9a067aa03411
123
3
1
0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
257
3
3
AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
123
3
1
0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
0
3
5
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
ccReg-9928668202
```
### EPP Domain with valid domain returns domain info with different nameservers
REQUEST:
```xml
domain46.ee
2fooBAR
```
RESPONSE:
```xml
Attribute is invalid: hosts
ccReg-5780540561
```
REQUEST:
```xml
domain46.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain46.ee
EIS-54
FIXED:REGISTRANT7386073344
FIXED:SH70911474106
FIXED:SH83717810105
ns1.domain46.ee
192.168.1.1
1080:0:0:0:8:800:200C:417A
ns2.domain46.ee
192.168.1.1
1080:0:0:0:8:800:200C:417A
registrar1
2015-06-16T14:46:36Z
2015-06-16T14:46:36Z
2016-06-16T14:46:36Z
04319f6bf003ebd8357d77a866f21a1d
ccReg-9817465177
```
REQUEST:
```xml
domain46.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain46.ee
EIS-54
FIXED:REGISTRANT7386073344
FIXED:SH70911474106
FIXED:SH83717810105
ns3.test.ee
192.168.1.1
1080:0:0:0:8:800:200C:417A
registrar1
2015-06-16T14:46:36Z
2015-06-16T14:46:36Z
2016-06-16T14:46:36Z
04319f6bf003ebd8357d77a866f21a1d
ccReg-1956126808
```
REQUEST:
```xml
domain46.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain46.ee
EIS-54
FIXED:REGISTRANT7386073344
FIXED:SH70911474106
FIXED:SH83717810105
registrar1
2015-06-16T14:46:36Z
2015-06-16T14:46:36Z
2016-06-16T14:46:36Z
04319f6bf003ebd8357d77a866f21a1d
ccReg-4662877023
```
REQUEST:
```xml
domain46.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain46.ee
EIS-54
FIXED:REGISTRANT7386073344
FIXED:SH70911474106
FIXED:SH83717810105
ns1.domain46.ee
192.168.1.1
1080:0:0:0:8:800:200C:417A
ns2.domain46.ee
192.168.1.1
1080:0:0:0:8:800:200C:417A
ns3.test.ee
192.168.1.1
1080:0:0:0:8:800:200C:417A
registrar1
2015-06-16T14:46:36Z
2015-06-16T14:46:36Z
2016-06-16T14:46:36Z
04319f6bf003ebd8357d77a866f21a1d
ccReg-2430670023
```
### EPP Domain with valid domain returns error when domain can not be found
REQUEST:
```xml
test.ee
2fooBAR
```
RESPONSE:
```xml
Domain not found
test.ee
ccReg-5247973919
```
### EPP Domain with valid domain sets ok status by default
REQUEST:
```xml
domain47.ee
2fooBAR
```
RESPONSE:
```xml
Command completed successfully
domain47.ee
EIS-55
FIXED:REGISTRANT3737412845
FIXED:SH49038744108
FIXED:SH06725299107
ns.sanford141.ee
192.168.1.1
ns.sauer142.ee
192.168.1.1
ns.veum143.ee
192.168.1.1
registrar1
2015-06-16T14:46:37Z
2015-06-16T14:46:37Z
2016-06-16T14:46:37Z
81c5f0a214cb0756ad4a5c553e80df90
ccReg-6047154535
```
### EPP Domain with valid domain can not see other registrar domains with invalid password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1083606006
```
REQUEST:
```xml
domain48.ee
2fooBAR
```
RESPONSE:
```xml
Authorization error
ccReg-9393465490
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0344532333
```
### EPP Domain with valid domain can see other registrar domains without password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9663838605
```
REQUEST:
```xml
domain49.ee
```
RESPONSE:
```xml
Command completed successfully
domain49.ee
EIS-57
FIXED:REGISTRANT1566943147
FIXED:SH39124150112
FIXED:SH43742622111
ns.kreiger147.ee
192.168.1.1
ns.hudson148.ee
192.168.1.1
ns.dare149.ee
192.168.1.1
registrar1
2015-06-16T14:46:38Z
2015-06-16T14:46:38Z
2016-06-16T14:46:38Z
ccReg-0003863495
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9016819552
```
### EPP Domain with valid domain can see other registrar domains with correct password
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-4480505409
```
REQUEST:
```xml
domain50.ee
f44d898ad1b9caa41023a0894a3d0801
```
RESPONSE:
```xml
Command completed successfully
domain50.ee
EIS-58
FIXED:REGISTRANT5610043948
FIXED:SH85839976114
FIXED:SH72694104113
ns.mann150.ee
192.168.1.1
ns.gutkowskibernier151.ee
192.168.1.1
ns.schinner152.ee
192.168.1.1
registrar1
2015-06-16T14:46:38Z
2015-06-16T14:46:38Z
2016-06-16T14:46:38Z
f44d898ad1b9caa41023a0894a3d0801
ccReg-7074882802
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-2139213556
```
### EPP Domain with valid domain deletes domain
REQUEST:
```xml
domain51.ee
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Internal error.
ccReg-0801639712
```
### EPP Domain with valid domain does not delete domain with specific status
REQUEST:
```xml
domain52.ee
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Domain status prohibits operation
ABC-12345
ccReg-0908156344
```
### EPP Domain with valid domain does not delete domain with pending delete
REQUEST:
```xml
domain53.ee
dGVzdCBmYWlsCg==
ABC-12345
```
RESPONSE:
```xml
Object status prohibits operation
ABC-12345
ccReg-5302487355
```
### EPP Domain with valid domain does not delete domain without legal document
REQUEST:
```xml
example.ee
ABC-12345
```
RESPONSE:
```xml
Required parameter missing: extension > extdata > legalDocument [legal_document]
ABC-12345
ccReg-4445302239
```
### EPP Domain with valid domain checks a domain
REQUEST:
```xml
one.ee
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
one.ee
ABC-12345
ccReg-6989281837
```
REQUEST:
```xml
domain54.ee
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
domain54.ee
in use
ABC-12345
ccReg-7241677214
```
### EPP Domain with valid domain 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-2988756260
```
### EPP Domain with valid domain checks invalid format domain
REQUEST:
```xml
one.ee
notcorrectdomain
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
one.ee
notcorrectdomain
invalid format
ABC-12345
ccReg-3861410540
```
### EPP Helper in context of Domain generates valid transfer xml
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-9350463779
```
### EPP Keyrelay makes a keyrelay request
REQUEST:
```xml
domain55.ee
256
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
P1M13D
1434466003
```
RESPONSE:
```xml
Unimplemented object service
domain55.ee
1434466003
ccReg-7770421771
```
### EPP Keyrelay returns an error when parameters are missing
REQUEST:
```xml
domain55.ee
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
Invalid Expiry
1434466004
```
RESPONSE:
```xml
Required parameter missing: keyrelay > keyData > flags [flags]
Expiry relative must be compatible to ISO 8601
Invalid Expiry
1434466004
ccReg-0081075985
```
### EPP Keyrelay returns an error on invalid relative expiry
REQUEST:
```xml
domain55.ee
256
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
Invalid Expiry
1434466005
```
RESPONSE:
```xml
Expiry relative must be compatible to ISO 8601
Invalid Expiry
1434466005
ccReg-6676809630
```
### EPP Keyrelay returns an error on invalid absolute expiry
REQUEST:
```xml
domain55.ee
256
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
Invalid Absolute
1434466006
```
RESPONSE:
```xml
Expiry absolute must be compatible to ISO 8601
Invalid Absolute
1434466006
ccReg-8006484799
```
### EPP Keyrelay does not allow both relative and absolute
REQUEST:
```xml
domain55.ee
256
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
P1D
2014-12-23
1434466007
```
RESPONSE:
```xml
Exactly one parameter required: keyrelay > expiry > relative OR keyrelay > expiry > absolute
1434466007
ccReg-6196744977
```
### EPP Keyrelay saves legal document with keyrelay
REQUEST:
```xml
domain55.ee
256
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
P1D
JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
1434466008
```
RESPONSE:
```xml
Unimplemented object service
domain55.ee
1434466008
ccReg-8880766111
```
### EPP Keyrelay validates legal document types
REQUEST:
```xml
domain55.ee
256
3
8
cmlraXN0aGViZXN0
606917876743fb9d65eb59fbf175c5bd
P1D
JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
1434466009
```
RESPONSE:
```xml
Attribute is invalid: type
1434466009
ccReg-5896300316
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-6744406564
```
### EPP Poll returns no messages in poll
REQUEST:
```xml
1434466011
```
RESPONSE:
```xml
Command completed successfully; no messages
1434466011
ccReg-7079179755
```
### EPP Poll queues and dequeues messages
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5443416105
```
REQUEST:
```xml
1434466011
```
RESPONSE:
```xml
Command completed successfully; no messages
1434466011
ccReg-6783686315
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-5004171706
```
REQUEST:
```xml
1434466011
```
RESPONSE:
```xml
Command completed successfully; ack to dequeue
2015-06-16T14:46:51Z
Balance low.
1434466011
ccReg-4253494053
```
REQUEST:
```xml
registrar2
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-4918171501
```
REQUEST:
```xml
1434466011
```
RESPONSE:
```xml
Message was not found
1
1434466011
ccReg-5948146323
```
REQUEST:
```xml
registrar1
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0602722237
```
REQUEST:
```xml
1434466011
```
RESPONSE:
```xml
Command completed successfully
1434466011
ccReg-6653908143
```
REQUEST:
```xml
1434466011
```
RESPONSE:
```xml
Message was not found
1
1434466011
ccReg-4030904109
```
### EPP Poll returns an error on incorrect op
REQUEST:
```xml
1434466013
```
RESPONSE:
```xml
Attribute is invalid: op
1434466013
ccReg-1337274768
```
### EPP Poll dequeues multiple messages
REQUEST:
```xml
1434466014
```
RESPONSE:
```xml
Command completed successfully; ack to dequeue
2015-06-16T14:46:54Z
Smth else.
1434466014
ccReg-0133258887
```
REQUEST:
```xml
1434466014
```
RESPONSE:
```xml
Command completed successfully
1434466014
ccReg-7865881696
```
REQUEST:
```xml
1434466014
```
RESPONSE:
```xml
Command completed successfully; ack to dequeue
2015-06-16T14:46:54Z
Something.
1434466014
ccReg-2990701289
```
REQUEST:
```xml
1434466014
```
RESPONSE:
```xml
Command completed successfully
1434466014
ccReg-5225046181
```
REQUEST:
```xml
1434466014
```
RESPONSE:
```xml
Command completed successfully; ack to dequeue
2015-06-16T14:46:54Z
Balance low.
1434466014
ccReg-6707896691
```
REQUEST:
```xml
1434466014
```
RESPONSE:
```xml
Command completed successfully
1434466014
ccReg-8174947053
```
REQUEST:
```xml
1434466015
```
RESPONSE:
```xml
Command completed successfully; no messages
1434466015
ccReg-0858483195
```
### EPP Session when not connected greets client upon connection
RESPONSE:
```xml
EPP server (EIS)
2015-06-16T14:46:55Z
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
```
### EPP Session when connected does not log in with invalid user
REQUEST:
```xml
wrong-user
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Authentication error; server closing connection
ABC-12345
ccReg-4597363742
```
### EPP Session when connected does not log in with inactive user
REQUEST:
```xml
inactive-user
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Authentication error; server closing connection
ABC-12345
ccReg-1428657257
```
### EPP Session when connected prohibits further actions unless logged in
REQUEST:
```xml
test.ee
ABC-12345
```
RESPONSE:
```xml
You need to login first.
ABC-12345
ccReg-3082305327
```
### EPP Session when connected should not have clTRID in response if client does not send it
REQUEST:
```xml
wrong-user
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
```
RESPONSE:
```xml
Authentication error; server closing connection
ccReg-3565992149
```
### EPP Session when connected with valid user logs in epp user
REQUEST:
```xml
gitlab
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0832089091
```
### EPP Session when connected with valid user does not log in twice
REQUEST:
```xml
gitlab
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-1535717609
```
REQUEST:
```xml
gitlab
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Already logged in. Use <logout> first.
ABC-12345
ccReg-5055971923
```
### EPP Session when connected with valid user logs out epp user
REQUEST:
```xml
gitlab
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-0729496396
```
REQUEST:
```xml
ABC-12345
```
RESPONSE:
```xml
Command completed successfully; ending session
ABC-12345
ccReg-7311985652
```
### EPP Session when connected with valid user changes password and logs in
REQUEST:
```xml
gitlab
ghyt9e4fu
abcdefg
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Command completed successfully
ABC-12345
ccReg-7387239733
```
### EPP Session when connected with valid user fails if new password is not valid
REQUEST:
```xml
gitlab
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Password is missing [password]
ABC-12345
ccReg-9506918430
```
### EPP Session when connected with valid user fails if new password is not valid
REQUEST:
```xml
gitlab
ghyt9e4fu
1.0
en
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
urn:ietf:params:xml:ns:secDNS-1.1
https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/eis-1.0.xsd
ABC-12345
```
RESPONSE:
```xml
Password is missing [password]
ABC-12345
ccReg-0674363838
```