Request for ActivePOS events

Example of a request:

        https://192.168.1.200:8080/pos_events?sid=zxRc8Y7w  

Example of a server response:

[
    {
        "event_timestamp": "1575472218724478",
        "flags": 0,
        "op_id" : "8262B3D2-DDE3-11E0-8E9D-0050FB005F2A",
        "pos_terminal" : "G7D1uymM",
        "pos_terminal_name" : "POS1",
        "position": "0",
        "price": 2750,
        "receipt_timestamp" : "1315903058000000",
        "quantity": 1,
        "type" : "POSNG_PAYMENT_CASH",
        "text" : "",
        "weight" : "0",
    },
    {
        "event_timestamp": "1575472220598461",
        "flags": 0,
        "op_id" : "8262B3D2-DDE3-11E0-8E9D-0050FB005F2A",
        "pos_terminal" : "G7D1uymM",
        "pos_terminal_name" : "POS1",
        "position" : "0",
        "price" : "40100",
        "receipt_timestamp" : "1315903058000000",
        "type" : "POSNG_RECEIPT_CHANGE",
        "text" : "",
        "quantity" : "0",
        "weight" : "0",

    },
    {
        "event_timestamp": "1575472227473028",
        "flags": 0,
        "op_id" : "8262B3D2-DDE3-11E0-8E9D-0050FB005F2A",
        "pos_terminal" : "G7D1uymM",
        "pos_terminal_name" : "POS1",
        "price" : "1250",
        "position" : "0",
        "quantity" : "0",
        "receipt_timestamp" : "1315903058000000",
        "type" : "POSNG_RECEIPT_NUMBER",
        "text" : "7768-50797",
        "weight" : "0",

    },
    {
        "event_timestamp": "1575472229976199",
        "flags": 0,
        "op_id" : "8262B3D2-DDE3-11E0-8E9D-0050FB005F2A",
        "pos_terminal" : "G7D1uymM",
        "pos_terminal_name" : "POS1",
        "position" : "0",
        "price" : "16660",
        "quantity" : "0",
        "receipt_timestamp" : "1315903058000000",
        "text" : "7768-50797",
        "type" : "POSNG_RECEIPT_OPEN",
        "weight" : "0",
    },
    {
        "event_timestamp": "1575472239973205",
        "flags": 0,
        "op_id" : "8262B3D2-DDE3-11E0-8E9D-0050FB005F2A",
        "pos_terminal" : "G7D1uymM",
        "pos_terminal_name" : "POS1",
        "position" : "1",
        "price" : "1887",
        "quantity" : "1",
        "receipt_timestamp" : "1315919540000000",
        "text" : "Oranges (1 kg price)",
        "type" : "POSNG_POSITION_ADD",
        "weight" : "572",
    }

]  

Table 104. 

Properties Values Description TRASSIR version
"event_timestamp"   Event time ≥3.2
"flags"   Flags ≥3.2
"op_id"   ActivePOS event ID ≥3.2
"pos_terminal"   Terminal GUID ≥3.2
"pos_terminal_name"   Terminal name ≥3.2
"position"   Position number ≥3.2
"price"   Item price ≥3.2
"quantity"   Item quantity ≥3.2
"receipt_timestamp"   Time of the document creation ≥3.2
"text"   Text ≥3.2
"type"   Event type ≥3.2
"weight"   Item weight ≥3.2

Tip

The response time is indicated in microseconds in UNIX-time format according to time zone configured on the server.