GetOpenReportPrinted

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

Returns the shift opening receipt HTML. Call after DocSession/Open or to reprint an open or closed shift. Uses its recorded opening time, cashier and amount. Requires an accepted cashier, shift opening permission and a shift of the same cash register. Errors use HTTP 200 ErrorResult: 1002 invalid UUID, 1007 denied access, 1044 missing shift/template, 1008 invalid template.

Request Parameters

Name Type Required Description
session_uuid String Required UUID of an open or closed shift of the accepted cash register.

Request Example

{
  "session_uuid": "11111111-2222-4333-8444-555555555555"
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result ChequePrint_ResponseModel Result object.

Response Example

{
  "ok": true,
  "result": {
    "print_data": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Cbody\u003EShift opening #42\u003C/body\u003E\u003C/html\u003E"
  }
}