POST Reservation/PostPOSTicketsDocumentation
This endpoint does nothing and exists solely for the Auto Generated Documentation
Request Information
URI Parameters
None.
Body Parameters
This is the model that will be sent to you with information about the bill
PostTicketRequestName | Type | Description | Additional information |
---|---|---|---|
TimeStamp | date |
Delivery time of payload |
|
Ticket | Ticket |
None. |
Request Formats
application/json, text/json
Sample:
{ "TimeStamp": "2024-11-21T06:21:00.9351114+00:00", "Ticket": { "TransactionID": 1, "ReservationID": "sample string 2", "TicketID": "sample string 3", "OpenedAtUtc": "2024-11-21T06:21:00.9351114+00:00", "Duration": 5, "UpdatedAtUtc": "2024-11-21T06:21:00.9351114+00:00", "ClosedAtUtc": "2024-11-21T06:21:00.9351114+00:00", "Covers": 7, "PriceGroup": "sample string 8", "PriceGroupID": 9, "OrderItems": [ { "TransactionItemID": "sample string 1", "Name": "sample string 2", "BasePrice": 3, "BaseNet": 4, "Quantity": 5.0, "SentAtUtc": "2024-11-21T06:21:00.9351114+00:00", "Status": 0, "Item": { "ID": 1, "Name": "sample string 2", "BasePrice": 3, "PLU": "sample string 4", "Categories": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ] }, "Options": [ { "TIOD": 1, "Name": "sample string 2", "BasePrice": 3, "Quantity": 4.0, "Item": { "ID": 1, "Name": "sample string 2", "BasePrice": 3, "PLU": "sample string 4", "Categories": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ] } }, { "TIOD": 1, "Name": "sample string 2", "BasePrice": 3, "Quantity": 4.0, "Item": { "ID": 1, "Name": "sample string 2", "BasePrice": 3, "PLU": "sample string 4", "Categories": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ] } } ] }, { "TransactionItemID": "sample string 1", "Name": "sample string 2", "BasePrice": 3, "BaseNet": 4, "Quantity": 5.0, "SentAtUtc": "2024-11-21T06:21:00.9351114+00:00", "Status": 0, "Item": { "ID": 1, "Name": "sample string 2", "BasePrice": 3, "PLU": "sample string 4", "Categories": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ] }, "Options": [ { "TIOD": 1, "Name": "sample string 2", "BasePrice": 3, "Quantity": 4.0, "Item": { "ID": 1, "Name": "sample string 2", "BasePrice": 3, "PLU": "sample string 4", "Categories": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ] } }, { "TIOD": 1, "Name": "sample string 2", "BasePrice": 3, "Quantity": 4.0, "Item": { "ID": 1, "Name": "sample string 2", "BasePrice": 3, "PLU": "sample string 4", "Categories": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ] } } ] } ], "CheckTotal": { "ItemsTotal": 1, "Tax": 2, "Tip": 1, "PaidAmount": 3, "OtherCharges": 1, "Due": 4, "Discount": 1, "ServiceCharges": 5, "SubTotal": 6, "Total": 7 }, "OrderPayments": [ { "BaseAmount": 1, "Tip": 1, "TenderType": "sample string 2", "TenderTypeID": 3, "Currency": "sample string 4", "PaidAtUtc": "2024-11-21T06:21:00.9507917+00:00" }, { "BaseAmount": 1, "Tip": 1, "TenderType": "sample string 2", "TenderTypeID": 3, "Currency": "sample string 4", "PaidAtUtc": "2024-11-21T06:21:00.9507917+00:00" } ], "SalesArea": { "ID": "sample string 1", "Name": "sample string 2" }, "Tables": [ { "RecallNumber": "sample string 1", "Name": "sample string 2", "Seats": 3, "TableZone": "sample string 4" }, { "RecallNumber": "sample string 1", "Name": "sample string 2", "Seats": 3, "TableZone": "sample string 4" } ], "CheckLinks": [ { "LinkTransactionID": "sample string 1", "SplitBillMaster": true }, { "LinkTransactionID": "sample string 1", "SplitBillMaster": true } ], "Employee": { "ID": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3" }, "Notes": "sample string 10", "TableStatus": 0, "TransactionOpen": true, "TransactionVoid": true, "TransactionRefund": true, "RestaurantID": "sample string 14", "OrderDiscounts": [ { "Type": 1, "DiscountName": "sample string 1", "Reason": "sample string 2", "BaseValue": 3, "DiscountedItems": [ { "TransactionItemID": 1, "AffectedBaseValue": 2 }, { "TransactionItemID": 1, "AffectedBaseValue": 2 } ] }, { "Type": 1, "DiscountName": "sample string 1", "Reason": "sample string 2", "BaseValue": 3, "DiscountedItems": [ { "TransactionItemID": 1, "AffectedBaseValue": 2 }, { "TransactionItemID": 1, "AffectedBaseValue": 2 } ] } ], "BookingTransactionIDs": [ 1, 2 ], "BookingTransactionIDsAdded": [ 1, 2 ], "BookingTransactionIDsRemoved": [ 1, 2 ], "BookingTableNumbersAdded": [ 1, 2 ], "BookingTableNumbersRemoved": [ 1, 2 ] } }
application/xml, text/xml
Sample:
<PostTicketRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.Reservation"> <Ticket xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.Reservation.General"> <d2p1:BookingTableNumbersAdded xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:BookingTableNumbersAdded> <d2p1:BookingTableNumbersRemoved xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:BookingTableNumbersRemoved> <d2p1:BookingTransactionIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:BookingTransactionIDs> <d2p1:BookingTransactionIDsAdded xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:BookingTransactionIDsAdded> <d2p1:BookingTransactionIDsRemoved xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:BookingTransactionIDsRemoved> <d2p1:CheckLinks> <d2p1:CheckLink> <d2p1:LinkTransactionID>sample string 1</d2p1:LinkTransactionID> <d2p1:SplitBillMaster>true</d2p1:SplitBillMaster> </d2p1:CheckLink> <d2p1:CheckLink> <d2p1:LinkTransactionID>sample string 1</d2p1:LinkTransactionID> <d2p1:SplitBillMaster>true</d2p1:SplitBillMaster> </d2p1:CheckLink> </d2p1:CheckLinks> <d2p1:CheckTotal> <d2p1:Discount>1</d2p1:Discount> <d2p1:Due>4</d2p1:Due> <d2p1:ItemsTotal>1</d2p1:ItemsTotal> <d2p1:OtherCharges>1</d2p1:OtherCharges> <d2p1:PaidAmount>3</d2p1:PaidAmount> <d2p1:ServiceCharges>5</d2p1:ServiceCharges> <d2p1:SubTotal>6</d2p1:SubTotal> <d2p1:Tax>2</d2p1:Tax> <d2p1:Tip>1</d2p1:Tip> <d2p1:Total>7</d2p1:Total> </d2p1:CheckTotal> <d2p1:ClosedAtUtc>2024-11-21T06:21:00.9351114+00:00</d2p1:ClosedAtUtc> <d2p1:Covers>7</d2p1:Covers> <d2p1:Duration>5</d2p1:Duration> <d2p1:Employee> <d2p1:FirstName>sample string 2</d2p1:FirstName> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:LastName>sample string 3</d2p1:LastName> </d2p1:Employee> <d2p1:Notes>sample string 10</d2p1:Notes> <d2p1:OpenedAtUtc>2024-11-21T06:21:00.9351114+00:00</d2p1:OpenedAtUtc> <d2p1:OrderDiscounts> <d2p1:OrderDiscount> <d2p1:BaseValue>3</d2p1:BaseValue> <d2p1:DiscountName>sample string 1</d2p1:DiscountName> <d2p1:DiscountedItems> <d2p1:OrderDiscountItem> <d2p1:AffectedBaseValue>2</d2p1:AffectedBaseValue> <d2p1:TransactionItemID>1</d2p1:TransactionItemID> </d2p1:OrderDiscountItem> <d2p1:OrderDiscountItem> <d2p1:AffectedBaseValue>2</d2p1:AffectedBaseValue> <d2p1:TransactionItemID>1</d2p1:TransactionItemID> </d2p1:OrderDiscountItem> </d2p1:DiscountedItems> <d2p1:Reason>sample string 2</d2p1:Reason> <d2p1:Type>Discount</d2p1:Type> </d2p1:OrderDiscount> <d2p1:OrderDiscount> <d2p1:BaseValue>3</d2p1:BaseValue> <d2p1:DiscountName>sample string 1</d2p1:DiscountName> <d2p1:DiscountedItems> <d2p1:OrderDiscountItem> <d2p1:AffectedBaseValue>2</d2p1:AffectedBaseValue> <d2p1:TransactionItemID>1</d2p1:TransactionItemID> </d2p1:OrderDiscountItem> <d2p1:OrderDiscountItem> <d2p1:AffectedBaseValue>2</d2p1:AffectedBaseValue> <d2p1:TransactionItemID>1</d2p1:TransactionItemID> </d2p1:OrderDiscountItem> </d2p1:DiscountedItems> <d2p1:Reason>sample string 2</d2p1:Reason> <d2p1:Type>Discount</d2p1:Type> </d2p1:OrderDiscount> </d2p1:OrderDiscounts> <d2p1:OrderItems> <d2p1:OrderItem> <d2p1:BaseNet>4</d2p1:BaseNet> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Item> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> </d2p1:Categories> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PLU>sample string 4</d2p1:PLU> </d2p1:Item> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Options> <d2p1:OrderOption> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Item> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> </d2p1:Categories> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PLU>sample string 4</d2p1:PLU> </d2p1:Item> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Quantity>4</d2p1:Quantity> <d2p1:TIOD>1</d2p1:TIOD> </d2p1:OrderOption> <d2p1:OrderOption> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Item> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> </d2p1:Categories> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PLU>sample string 4</d2p1:PLU> </d2p1:Item> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Quantity>4</d2p1:Quantity> <d2p1:TIOD>1</d2p1:TIOD> </d2p1:OrderOption> </d2p1:Options> <d2p1:Quantity>5</d2p1:Quantity> <d2p1:SentAtUtc>2024-11-21T06:21:00.9351114+00:00</d2p1:SentAtUtc> <d2p1:Status>UnSent</d2p1:Status> <d2p1:TransactionItemID>sample string 1</d2p1:TransactionItemID> </d2p1:OrderItem> <d2p1:OrderItem> <d2p1:BaseNet>4</d2p1:BaseNet> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Item> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> </d2p1:Categories> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PLU>sample string 4</d2p1:PLU> </d2p1:Item> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Options> <d2p1:OrderOption> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Item> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> </d2p1:Categories> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PLU>sample string 4</d2p1:PLU> </d2p1:Item> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Quantity>4</d2p1:Quantity> <d2p1:TIOD>1</d2p1:TIOD> </d2p1:OrderOption> <d2p1:OrderOption> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Item> <d2p1:BasePrice>3</d2p1:BasePrice> <d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> <d2p1:Categories> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Categories> </d2p1:Categories> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PLU>sample string 4</d2p1:PLU> </d2p1:Item> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Quantity>4</d2p1:Quantity> <d2p1:TIOD>1</d2p1:TIOD> </d2p1:OrderOption> </d2p1:Options> <d2p1:Quantity>5</d2p1:Quantity> <d2p1:SentAtUtc>2024-11-21T06:21:00.9351114+00:00</d2p1:SentAtUtc> <d2p1:Status>UnSent</d2p1:Status> <d2p1:TransactionItemID>sample string 1</d2p1:TransactionItemID> </d2p1:OrderItem> </d2p1:OrderItems> <d2p1:OrderPayments> <d2p1:OrderPayment> <d2p1:BaseAmount>1</d2p1:BaseAmount> <d2p1:Currency>sample string 4</d2p1:Currency> <d2p1:PaidAtUtc>2024-11-21T06:21:00.9507917+00:00</d2p1:PaidAtUtc> <d2p1:TenderType>sample string 2</d2p1:TenderType> <d2p1:TenderTypeID>3</d2p1:TenderTypeID> <d2p1:Tip>1</d2p1:Tip> </d2p1:OrderPayment> <d2p1:OrderPayment> <d2p1:BaseAmount>1</d2p1:BaseAmount> <d2p1:Currency>sample string 4</d2p1:Currency> <d2p1:PaidAtUtc>2024-11-21T06:21:00.9507917+00:00</d2p1:PaidAtUtc> <d2p1:TenderType>sample string 2</d2p1:TenderType> <d2p1:TenderTypeID>3</d2p1:TenderTypeID> <d2p1:Tip>1</d2p1:Tip> </d2p1:OrderPayment> </d2p1:OrderPayments> <d2p1:PriceGroup>sample string 8</d2p1:PriceGroup> <d2p1:PriceGroupID>9</d2p1:PriceGroupID> <d2p1:ReservationID>sample string 2</d2p1:ReservationID> <d2p1:RestaurantID>sample string 14</d2p1:RestaurantID> <d2p1:SalesArea> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:SalesArea> <d2p1:TableStatus>TableEmpty</d2p1:TableStatus> <d2p1:Tables> <d2p1:Table> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RecallNumber>sample string 1</d2p1:RecallNumber> <d2p1:Seats>3</d2p1:Seats> <d2p1:TableZone>sample string 4</d2p1:TableZone> </d2p1:Table> <d2p1:Table> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RecallNumber>sample string 1</d2p1:RecallNumber> <d2p1:Seats>3</d2p1:Seats> <d2p1:TableZone>sample string 4</d2p1:TableZone> </d2p1:Table> </d2p1:Tables> <d2p1:TicketID>sample string 3</d2p1:TicketID> <d2p1:TransactionID>1</d2p1:TransactionID> <d2p1:TransactionOpen>true</d2p1:TransactionOpen> <d2p1:TransactionRefund>true</d2p1:TransactionRefund> <d2p1:TransactionVoid>true</d2p1:TransactionVoid> <d2p1:UpdatedAtUtc>2024-11-21T06:21:00.9351114+00:00</d2p1:UpdatedAtUtc> </Ticket> <TimeStamp>2024-11-21T06:21:00.9351114+00:00</TimeStamp> </PostTicketRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>