[POST] …/pos/Session/GetCurrent
Возвращает текущую кассовую смену пользователя.
Входные параметры
Метод не имеет входных парамтров.
Пример запроса
{}
Выходные параметры
Название | Тип данных | Описание |
---|---|---|
result | Session | Текущая кассовая смена |
Пример ответа
{
"ok": true,
"result": {
"uuid": "034c7840-70dd-11ef-b023-020021f00020",
"code": "WEB-0000020",
"operating_cash_id": 1,
"start_date": 1726128001,
"start_user": {
"id": 1,
"full_name": "John Fitzgerald Kennedy",
"main_phone": "998123456789",
"user_group": {
"id": 1,
"parent_id": 1,
"name": "Administrators",
"child_count": 1,
"last_update": 1529755889
},
"enable_hints": true,
"system": true,
"last_update": 1532276019,
"first_name": "John",
"last_name": "Kennedy",
"middle_name": "Fitzgerald",
"sex": "Male",
"date_of_birth": "1993-12-21",
"address": "456 Elm Street, Suite 3, Los Angeles, CA 90001, USA",
"phones": "998123456789",
"email": "example@example.com",
"description": "example",
"login": "Admin",
"can_authorize": true,
"active": true,
"language_code": "RUS"
},
"start_amount": 1.1,
"close_date": 1726736405,
"close_user": {
"id": 1,
"full_name": "John Fitzgerald Kennedy",
"main_phone": "998123456789",
"user_group": {
"id": 1,
"parent_id": 1,
"name": "Administrators",
"child_count": 1,
"last_update": 1529755889
},
"enable_hints": true,
"system": true,
"last_update": 1532276019,
"first_name": "John",
"last_name": "Kennedy",
"middle_name": "Fitzgerald",
"sex": "Male",
"date_of_birth": "1993-12-21",
"address": "456 Elm Street, Suite 3, Los Angeles, CA 90001, USA",
"phones": "998123456789",
"email": "example@example.com",
"description": "example",
"login": "Admin",
"can_authorize": true,
"active": true,
"language_code": "RUS"
},
"closed": true,
"close_amount": 1.1,
"last_update": 1726736405
}
}