GET v{version}/OnlineOrders/GetLiveBillData?SiteID={SiteID}&TableNumber={TableNumber}&TransactionID={TransactionID}&TransactionComplete={TransactionComplete}
Allows for the the Pos to be queried for live bill data
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
SiteID | integer |
None. |
|
TableNumber | integer |
None. |
|
TransactionID | integer |
None. |
|
TransactionComplete | boolean |
None. |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
APITransactionsModelName | Type | Description | Additional information |
---|---|---|---|
Count | integer |
None. |
|
TotalGross | decimal number |
None. |
|
TotalNet | decimal number |
None. |
|
Transactions | Collection of APITransactionModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Count": 1, "TotalGross": 2.0, "TotalNet": 3.0, "Transactions": [ { "TransactionID": 1, "ReservationID": "sample string 2", "TransactionComplete": true, "TableNumber": 4, "TotalGross": 5.0, "TotalNet": 6.0, "ServiceCharge": 7.0, "SalesArea": "sample string 8", "DateTimeOpened": "2024-11-21T06:28:45.8672443+00:00", "DateTimeClosed": "2024-11-21T06:28:45.8672443+00:00", "Items": [ { "Gross": 1.0, "ExpGross": 2.0, "Net": 3.0, "ExpNet": 4.0, "ItemName": "sample string 5", "Quantity": 6.0, "ProductID": 7, "VATRate": 8.0, "Options": [ { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 }, { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 } ] }, { "Gross": 1.0, "ExpGross": 2.0, "Net": 3.0, "ExpNet": 4.0, "ItemName": "sample string 5", "Quantity": 6.0, "ProductID": 7, "VATRate": 8.0, "Options": [ { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 }, { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 } ] } ], "Tenders": [ { "TenderName": "sample string 1", "Amount": 2.0 }, { "TenderName": "sample string 1", "Amount": 2.0 } ] }, { "TransactionID": 1, "ReservationID": "sample string 2", "TransactionComplete": true, "TableNumber": 4, "TotalGross": 5.0, "TotalNet": 6.0, "ServiceCharge": 7.0, "SalesArea": "sample string 8", "DateTimeOpened": "2024-11-21T06:28:45.8672443+00:00", "DateTimeClosed": "2024-11-21T06:28:45.8672443+00:00", "Items": [ { "Gross": 1.0, "ExpGross": 2.0, "Net": 3.0, "ExpNet": 4.0, "ItemName": "sample string 5", "Quantity": 6.0, "ProductID": 7, "VATRate": 8.0, "Options": [ { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 }, { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 } ] }, { "Gross": 1.0, "ExpGross": 2.0, "Net": 3.0, "ExpNet": 4.0, "ItemName": "sample string 5", "Quantity": 6.0, "ProductID": 7, "VATRate": 8.0, "Options": [ { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 }, { "Gross": 1.0, "Net": 2.0, "Quantity": 3.0, "OptionName": "sample string 4", "ProductID": 5, "VATRate": 6.0 } ] } ], "Tenders": [ { "TenderName": "sample string 1", "Amount": 2.0 }, { "TenderName": "sample string 1", "Amount": 2.0 } ] } ] }
application/xml, text/xml
Sample:
<APITransactionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.Reservation.PosModels"> <Count>1</Count> <TotalGross>2</TotalGross> <TotalNet>3</TotalNet> <Transactions> <APITransactionModel> <DateTimeClosed>2024-11-21T06:28:45.8672443+00:00</DateTimeClosed> <DateTimeOpened>2024-11-21T06:28:45.8672443+00:00</DateTimeOpened> <Items> <APITransactionItemModel> <ExpGross>2</ExpGross> <ExpNet>4</ExpNet> <Gross>1</Gross> <ItemName>sample string 5</ItemName> <Net>3</Net> <Options> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> </Options> <ProductID>7</ProductID> <Quantity>6</Quantity> <VATRate>8</VATRate> </APITransactionItemModel> <APITransactionItemModel> <ExpGross>2</ExpGross> <ExpNet>4</ExpNet> <Gross>1</Gross> <ItemName>sample string 5</ItemName> <Net>3</Net> <Options> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> </Options> <ProductID>7</ProductID> <Quantity>6</Quantity> <VATRate>8</VATRate> </APITransactionItemModel> </Items> <ReservationID>sample string 2</ReservationID> <SalesArea>sample string 8</SalesArea> <ServiceCharge>7</ServiceCharge> <TableNumber>4</TableNumber> <Tenders> <APITenderModel> <Amount>2</Amount> <TenderName>sample string 1</TenderName> </APITenderModel> <APITenderModel> <Amount>2</Amount> <TenderName>sample string 1</TenderName> </APITenderModel> </Tenders> <TotalGross>5</TotalGross> <TotalNet>6</TotalNet> <TransactionComplete>true</TransactionComplete> <TransactionID>1</TransactionID> </APITransactionModel> <APITransactionModel> <DateTimeClosed>2024-11-21T06:28:45.8672443+00:00</DateTimeClosed> <DateTimeOpened>2024-11-21T06:28:45.8672443+00:00</DateTimeOpened> <Items> <APITransactionItemModel> <ExpGross>2</ExpGross> <ExpNet>4</ExpNet> <Gross>1</Gross> <ItemName>sample string 5</ItemName> <Net>3</Net> <Options> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> </Options> <ProductID>7</ProductID> <Quantity>6</Quantity> <VATRate>8</VATRate> </APITransactionItemModel> <APITransactionItemModel> <ExpGross>2</ExpGross> <ExpNet>4</ExpNet> <Gross>1</Gross> <ItemName>sample string 5</ItemName> <Net>3</Net> <Options> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> <APITransactionItemOptionModel> <Gross>1</Gross> <Net>2</Net> <OptionName>sample string 4</OptionName> <ProductID>5</ProductID> <Quantity>3</Quantity> <VATRate>6</VATRate> </APITransactionItemOptionModel> </Options> <ProductID>7</ProductID> <Quantity>6</Quantity> <VATRate>8</VATRate> </APITransactionItemModel> </Items> <ReservationID>sample string 2</ReservationID> <SalesArea>sample string 8</SalesArea> <ServiceCharge>7</ServiceCharge> <TableNumber>4</TableNumber> <Tenders> <APITenderModel> <Amount>2</Amount> <TenderName>sample string 1</TenderName> </APITenderModel> <APITenderModel> <Amount>2</Amount> <TenderName>sample string 1</TenderName> </APITenderModel> </Tenders> <TotalGross>5</TotalGross> <TotalNet>6</TotalNet> <TransactionComplete>true</TransactionComplete> <TransactionID>1</TransactionID> </APITransactionModel> </Transactions> </APITransactionsModel>