Versions Compared

Key

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

Method for creating a session

Tip
iconfalse
title

URI

POST /api/sessions/create

...

Request:

Key

Description

Type

Is this parameter necessary?

Example

params





clientid

id clients

string

yes

"1"

...

An example of creating a session
true
collapse
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"

...

An example of a successful response
true
collapse
Code Block
{
    "status": "1",
    "id":     "de305d54-75b4-431b-adb2-eb6b9e546014"
}

...