diff --git a/doc/epp/session.md b/doc/epp/session.md index c300c9acd..3ed122396 100644 --- a/doc/epp/session.md +++ b/doc/epp/session.md @@ -3,59 +3,42 @@ Here are functions like login, logout, hello, poll ### Login request -| Field name | Required | Attributes | Field description | -| ----------------- |----------| -----|----------------- | -| [login](#login) | true | | | -| clTRID | false | | Client transaction id | +| Field name | Min-max | Field description | +| ----------------------- |---------|------------------ | +| `` | 1 | | +| `-` | 1 | Username | +| `-` | 1 | Password | +| `-` | 0-1 | | +| `--` | 0-1 | 1.0 | +| `--` | 0-1 | en | +| `-` | 0-1 | | +| `--` | 0-n | Object URI that is going to be used in current connection. | +| `--` | 0-1 | | +| `---` | 0-n | Extension URI that is going to be used in current connection. | +| `` | 0-1 | Client transaction id | -##### login -| Field name | Required | Field description | -| ----------------- |----------|----------------- | -| clID | true | Username | -| pw | true | Password | -| [options](#options) | false | | -| [svcs](#svcs) | false | | - - -##### options -| Field name | Required | Field description | -| ----------------- |----------|----------------- | -| version | false | 1.0 | -| lang | false | en | - -##### svcs -| Field name | Required | Field description | -| ----------------- |----------|----------------- | -| objURI | false | Object URI that is going to be used in current connection. (0-n) | -| [svcExtension](#svcextension) | false | | - -##### svcExtension -| Field name | Required | Field description | -| ----------------- |----------|----------------- | -| extURI | false | Extension URI that is going to be used in current connection. (0-n) | +| `--` | 1 | Domain name. Can contain unicode characters. | +| `` | 1 | | +| `-` | 1 | Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" | +| `--` | 1 | Base64 encoded document | +| `` | 0-1 | Client transaction id | [EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-in-epp-user) ### Logout request -| Field name | Required | Attributes | Field description | -| ----------------- |----------| -----|----------------- | -| logout | true | | | -| clTRID | false | | Client transaction id | +| Field name | Min-max | Field description | +| ----------------------- |---------|------------------ | +| `` | 1 | | +| `` | 0-1 | Client transaction id | [EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-out-epp-user) ### Poll request -| Field name | Required | Attributes | Field description | -| ----------------- |----------| -----|----------------- | -| [poll](#poll) | true | | | -| clTRID | false | | Client transaction id | - -##### poll - -| Field name | Required | Attributes | Field description | -| ----------------- |----------| -----|----------------- | -| poll | true | op (req, ack) | Rec for receiving messages, ack for dequeuing | +| Field name | Min-max | Field description | +| ----------------------- |---------|------------------ | +| `` | 1 | Rec for receiving messages, ack for dequeuing Attribute: op="req / ack" | +| `` | 0-1 | Client transaction id | [EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-poll-with-valid-user-queues-and-dequeues-messages)