Skip to main content

Customer orders

The following routes are available for get customer orders:

GET /api/v1/tickets

Url with params /api/v1/tickets?branchNr=5&user=user&password=password&type=1&addressnr=5244

  • tables: api_tickets
  • body: none
  • query:
    • user: string
    • password: string
    • branchNr (optional): string
    • type (optional): string
    • addressnr (optional): string
  • response:
Get customer orders
[
{
"Barcode": "6100200904284",
"StartDate": "2023-10-26 11:24:00",
"EndDate": "2024-01-26 11:24:00",
"EntriesLeft": "1",
"ItemNr": "35508",
"TimeRanges": "",
"BillNr": "B0050000123102600559",
"BranchNr": "5",
"Amount": "27",
"ReservedAmount": "0",
"Discount": "0",
"Type": "1",
"Status": "-1",
"Info": "",
"AddressNr": "5244",
"SaleItemNr": "35555",
"Note": "",
"PlateNumber": "111",
"PlateLand": "SVJ",
"Picture": null,
"Conditions": "NoPr",
"EventItemNr": null,
"LastUpdateTickets": "2023-10-26 11:24:50",
"TimeStamp": "2023-10-26 11:24:26",
"Msg": "OK",
"Mode": "1",
"LocationNr": "0",
"Entries": "1",
"Invoice_ID": "121",
"FAmount": "1718.15",
"AccountNr": "1000",
"AccountName": "Bar CHF"
}
]