Open

[POST] .../v1/pos/docsession/open

Opens a cash shift. Use this method to open a cash shift for the current accepted cashier before creating POS cheques. The method does not require a request body, checks the current request user, accepted cashier binding and retail session-open permission, then returns result with the opened or reopened PosDocSession array. Business errors such as denied access, missing accepted cash register, an already open or inconsistent shift 5001, lock failures and persistent storage errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

No request body.

Request Example

{}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Insert_uuid Created UUID record result.

Response Example

{
  "ok": true,
  "result": {
    "new_uuid": "00000000-0000-0000-0000-000000000000"
  }
}