Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Внесение

Параметры

Header:

INTENT_OPERATION_TYPE - DEPOSIT

Auth-token - Токен авторизации (опционально). Подробнее

Тело запроса: Sum

Примеры

Успех

Запрос:

{
  "cashier": "Кассир",
  "sum": "10",
  "prefix": [{"Text": {"text": "тексттекст"}}, {"QrCode": {"qrCode" : "BASE64"}}],
  "suffix": [{"Text": {"text": "тексттекст"}}, {"QrCode": {"qrCode" : "BASE64"}}],
  "operationId": "123"
}

Ответ BaseResponse:

{
  "dateTime": "2024-11-01T19:40:21+03:00",
  "messageDetail": "Успешное внесение",
  "messageTitle": "Успех",
  "numberCheck": "4138",
  "registerNumberSKO": "133030187",
  "resultCode": 200,
  "type": "DEPOSIT",
  "uid": "314FEAAAE1A0CD9F07EDE12B",
  "isPrintSuccess": true,
  "sum": "200"
}

Ошибка (смена закрыта)

Запрос:

{
  "cashier": "Кассир",
  "sum": "10"
}

Ответ BaseResponse:

{
  "messageDetail": "Необходимо открыть смену",
  "messageTitle": "Ошибка",
  "resultCode": 400,
  "type": "DEPOSIT"
}