POST api/POS/SaveOrder
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
entity | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Id": 1, "Code": "sample string 2", "CustomerId": 1, "CreatedBy": 3, "CheckoutBy": 4, "DeliveredBy": 1, "Customer": "sample string 5", "OrderDate": "2025-03-14T08:22:06.2915724+02:00", "SubTotal": 6.1, "DiscountRate": 7.1, "DiscountValue": 8.1, "TaxRate": 9.1, "TaxValue": 10.1, "ServiceRate": 11.1, "ServiceValue": 12.1, "Total": 13.1, "PaymentValue": 14.1, "Remaining": 15.1, "PaymentType": 16, "Status": 17, "Notes": "sample string 18", "TableId": 1, "MenuId": 19, "Type": 20, "OrderDetails": [ { "OrderId": 1, "ItemId": 2, "Quantity": 3.1, "UnitPrice": 4.1, "Total": 5.1, "ItemName": "sample string 6", "Id": 7 }, { "OrderId": 1, "ItemId": 2, "Quantity": 3.1, "UnitPrice": 4.1, "Total": 5.1, "ItemName": "sample string 6", "Id": 7 }, { "OrderId": 1, "ItemId": 2, "Quantity": 3.1, "UnitPrice": 4.1, "Total": 5.1, "ItemName": "sample string 6", "Id": 7 } ], "EmpId": 21, "Direction": "sample string 22", "InCT": "sample string 23" }
application/xml, text/xml
Sample:
<VM_POSOrders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel"> <CheckoutBy>4</CheckoutBy> <Code>sample string 2</Code> <CreatedBy>3</CreatedBy> <Customer>sample string 5</Customer> <CustomerId>1</CustomerId> <DeliveredBy>1</DeliveredBy> <Direction>sample string 22</Direction> <DiscountRate>7.1</DiscountRate> <DiscountValue>8.1</DiscountValue> <EmpId>21</EmpId> <Id>1</Id> <InCT>sample string 23</InCT> <MenuId>19</MenuId> <Notes>sample string 18</Notes> <OrderDate>2025-03-14T08:22:06.2915724+02:00</OrderDate> <OrderDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model"> <d2p1:POS_OrderDetails> <d2p1:Id>7</d2p1:Id> <d2p1:ItemId>2</d2p1:ItemId> <d2p1:ItemName>sample string 6</d2p1:ItemName> <d2p1:OrderId>1</d2p1:OrderId> <d2p1:Quantity>3.1</d2p1:Quantity> <d2p1:Total>5.1</d2p1:Total> <d2p1:UnitPrice>4.1</d2p1:UnitPrice> </d2p1:POS_OrderDetails> <d2p1:POS_OrderDetails> <d2p1:Id>7</d2p1:Id> <d2p1:ItemId>2</d2p1:ItemId> <d2p1:ItemName>sample string 6</d2p1:ItemName> <d2p1:OrderId>1</d2p1:OrderId> <d2p1:Quantity>3.1</d2p1:Quantity> <d2p1:Total>5.1</d2p1:Total> <d2p1:UnitPrice>4.1</d2p1:UnitPrice> </d2p1:POS_OrderDetails> <d2p1:POS_OrderDetails> <d2p1:Id>7</d2p1:Id> <d2p1:ItemId>2</d2p1:ItemId> <d2p1:ItemName>sample string 6</d2p1:ItemName> <d2p1:OrderId>1</d2p1:OrderId> <d2p1:Quantity>3.1</d2p1:Quantity> <d2p1:Total>5.1</d2p1:Total> <d2p1:UnitPrice>4.1</d2p1:UnitPrice> </d2p1:POS_OrderDetails> </OrderDetails> <PaymentType>16</PaymentType> <PaymentValue>14.1</PaymentValue> <Remaining>15.1</Remaining> <ServiceRate>11.1</ServiceRate> <ServiceValue>12.1</ServiceValue> <Status>17</Status> <SubTotal>6.1</SubTotal> <TableId>1</TableId> <TaxRate>9.1</TaxRate> <TaxValue>10.1</TaxValue> <Total>13.1</Total> <Type>20</Type> </VM_POSOrders>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />