...
Method for creating a session
Tip | ||||
---|---|---|---|---|
| ||||
POST /api/sessions/create |
Запит:
КлючKey | ОписDescription | Тип | Чи обов'язковий параметрType | Is this parameter necessary? | ПрикладExample |
---|---|---|---|---|---|
params | |||||
clientid | id клієнтаid clients | string | такyes | "1" |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "params":{ "clientId":"1" } } |
...
Reply:
КлючKey | ОписDescription | ТипType | ПрикладExample |
---|---|---|---|
status | СтатусStatus. 0 - помилкаerror, 1 - успіхsuccess | integer | 1 |
id | session id сесії в системі in the UAPAY system | string, uuid | "de305d54-75b4-431b-adb2-eb6b9e546014" |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "1", "id": "de305d54-75b4-431b-adb2-eb6b9e546014" } |
...