Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method for creating a session

Tip
iconfalse
titleURI

POST /api/sessions/create

Запит:

Чи обов'язковий параметр
КлючKey
ОписDescription
Тип
Type
Is this parameter necessary?
ПрикладExample
params



clientidid клієнтаid clientsstringтакyes

"1"


Code Block
titleПриклад створення сессіїAn example of creating a session
collapsetrue
{  
   "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
titleПриклад успішної відповідіAn example of a successful response
collapsetrue
{
    "status": "1",
    "id":     "de305d54-75b4-431b-adb2-eb6b9e546014"
}

...