POST api/POSOrder/UpdateAndPlaceOrder
Request Information
URI Parameters
None.
Body Parameters
POSOrder_UpdateOrderPlaceRequestClass| Name | Description | Type | Additional information |
|---|---|---|---|
| RestaurantIDF | globally unique identifier |
None. |
|
| BranchIDF | globally unique identifier |
None. |
|
| CounterIDF | globally unique identifier |
None. |
|
| CounterBalanceHistoryIDF | globally unique identifier |
None. |
|
| TrackingOrderID | string |
None. |
|
| OrderDate | string |
None. |
|
| OrderStatus | string |
None. |
|
| PaymentStatus | string |
None. |
|
| QuantityTotal | integer |
None. |
|
| ItemTotal | decimal number |
None. |
|
| ModifierTotal | decimal number |
None. |
|
| DiscountTotal | decimal number |
None. |
|
| ItemTaxTotal | decimal number |
None. |
|
| SubTotal | decimal number |
None. |
|
| TaxAmountTotal | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| AdjustedAmount | decimal number |
None. |
|
| GrandTotal | decimal number |
None. |
|
| UserIDF | globally unique identifier |
None. |
|
| AdditionalNotes | string |
None. |
|
| PackagingName | string |
None. |
|
| OrderMenu | Collection of POSOrder_MenuItemDetailClass |
None. |
|
| KOTMenu | Collection of POSOrder_KOTMenuItemDetailClass |
None. |
|
| OrderTax | Collection of POSOrder_OrderTaxDetailClass |
None. |
Request Formats
application/json, text/json
Sample:
{
"RestaurantIDF": "57f95140-b22b-4ed0-994b-ac903bbc3d87",
"BranchIDF": "ceb90879-2381-4b20-b0bd-df7133c74444",
"CounterIDF": "6c03fa8d-de2b-4c6e-aaa0-87fe46eb0dbf",
"CounterBalanceHistoryIDF": "41862dce-b069-4322-a718-0250718e4e93",
"TrackingOrderID": "sample string 5",
"OrderDate": "sample string 6",
"OrderStatus": "sample string 7",
"PaymentStatus": "sample string 8",
"QuantityTotal": 9,
"ItemTotal": 10.0,
"ModifierTotal": 11.0,
"DiscountTotal": 12.0,
"ItemTaxTotal": 13.0,
"SubTotal": 14.0,
"TaxAmountTotal": 15.0,
"TotalAmount": 16.0,
"AdjustedAmount": 1.0,
"GrandTotal": 17.0,
"UserIDF": "878f2942-6e16-48c0-9d12-154fb60b461d",
"AdditionalNotes": "sample string 19",
"PackagingName": "sample string 20",
"OrderMenu": [
{
"OrderDetailIDP": "4f746982-d05b-46a9-b38b-6b1e4a160f2f",
"MenuItemIDF": "ff9e906a-e777-4345-a970-7d44834679d6",
"VariantIDF": "afced24e-9d15-4a65-8272-983a7b5c0fed",
"Quantity": 4,
"DiscountPercentage": 5.0,
"ItemName": "sample string 6",
"ItemVariantName": "sample string 7",
"ItemTaxPercent": 8.0,
"AllModifierPrices": "sample string 9",
"AllModifierIDFs": "sample string 10",
"VariantPrice": 11.0,
"ItemDiscountPrice": 12.0,
"DiscountedItemAmount": 13.0,
"DiscountedItemTotalAmount": 14.0,
"ItemTaxPrice": 15.0,
"ItemTotal": 16.0,
"ItemTotalTaxPrice": 17.0,
"ItemModifierTotal": 18.0,
"ItemDiscountPriceTotal": 19.0,
"TotalItemAmount": 20.0,
"ItemAdditionalNotes": "sample string 21"
},
{
"OrderDetailIDP": "4f746982-d05b-46a9-b38b-6b1e4a160f2f",
"MenuItemIDF": "ff9e906a-e777-4345-a970-7d44834679d6",
"VariantIDF": "afced24e-9d15-4a65-8272-983a7b5c0fed",
"Quantity": 4,
"DiscountPercentage": 5.0,
"ItemName": "sample string 6",
"ItemVariantName": "sample string 7",
"ItemTaxPercent": 8.0,
"AllModifierPrices": "sample string 9",
"AllModifierIDFs": "sample string 10",
"VariantPrice": 11.0,
"ItemDiscountPrice": 12.0,
"DiscountedItemAmount": 13.0,
"DiscountedItemTotalAmount": 14.0,
"ItemTaxPrice": 15.0,
"ItemTotal": 16.0,
"ItemTotalTaxPrice": 17.0,
"ItemModifierTotal": 18.0,
"ItemDiscountPriceTotal": 19.0,
"TotalItemAmount": 20.0,
"ItemAdditionalNotes": "sample string 21"
}
],
"KOTMenu": [
{
"IsCancelOrder": true,
"OrderDetailIDP": "58d11547-3126-441e-9efd-649f69d9d16b",
"MenuItemIDF": "937bc60d-1f02-4e16-9a59-e15b3d7e3d2c",
"VariantIDF": "adcad922-af0e-41a9-a274-a169fa160064",
"Quantity": 5,
"DiscountPercentage": 6.0,
"ItemName": "sample string 7",
"ItemVariantName": "sample string 8",
"ItemTaxPercent": 9.0,
"AllModifierPrices": "sample string 10",
"AllModifierIDFs": "sample string 11",
"VariantPrice": 12.0,
"ItemDiscountPrice": 13.0,
"DiscountedItemAmount": 14.0,
"DiscountedItemTotalAmount": 15.0,
"ItemTaxPrice": 16.0,
"ItemTotal": 17.0,
"ItemTotalTaxPrice": 18.0,
"ItemModifierTotal": 19.0,
"ItemDiscountPriceTotal": 20.0,
"TotalItemAmount": 21.0,
"ItemAdditionalNotes": "sample string 22"
},
{
"IsCancelOrder": true,
"OrderDetailIDP": "58d11547-3126-441e-9efd-649f69d9d16b",
"MenuItemIDF": "937bc60d-1f02-4e16-9a59-e15b3d7e3d2c",
"VariantIDF": "adcad922-af0e-41a9-a274-a169fa160064",
"Quantity": 5,
"DiscountPercentage": 6.0,
"ItemName": "sample string 7",
"ItemVariantName": "sample string 8",
"ItemTaxPercent": 9.0,
"AllModifierPrices": "sample string 10",
"AllModifierIDFs": "sample string 11",
"VariantPrice": 12.0,
"ItemDiscountPrice": 13.0,
"DiscountedItemAmount": 14.0,
"DiscountedItemTotalAmount": 15.0,
"ItemTaxPrice": 16.0,
"ItemTotal": 17.0,
"ItemTotalTaxPrice": 18.0,
"ItemModifierTotal": 19.0,
"ItemDiscountPriceTotal": 20.0,
"TotalItemAmount": 21.0,
"ItemAdditionalNotes": "sample string 22"
}
],
"OrderTax": [
{
"OrderTaxIDP": "c30996bd-01f7-4577-ae2f-5468078831d8",
"TaxIDF": "200897b7-5777-45c1-b945-08b4b83f4464",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "c30996bd-01f7-4577-ae2f-5468078831d8",
"TaxIDF": "200897b7-5777-45c1-b945-08b4b83f4464",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
}
]
}
application/xml, text/xml
Sample:
<POSOrder_UpdateOrderPlaceRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass">
<AdditionalNotes>sample string 19</AdditionalNotes>
<AdjustedAmount>1</AdjustedAmount>
<BranchIDF>ceb90879-2381-4b20-b0bd-df7133c74444</BranchIDF>
<CounterBalanceHistoryIDF>41862dce-b069-4322-a718-0250718e4e93</CounterBalanceHistoryIDF>
<CounterIDF>6c03fa8d-de2b-4c6e-aaa0-87fe46eb0dbf</CounterIDF>
<DiscountTotal>12</DiscountTotal>
<GrandTotal>17</GrandTotal>
<ItemTaxTotal>13</ItemTaxTotal>
<ItemTotal>10</ItemTotal>
<KOTMenu>
<POSOrder_KOTMenuItemDetailClass>
<AllModifierIDFs>sample string 11</AllModifierIDFs>
<AllModifierPrices>sample string 10</AllModifierPrices>
<DiscountPercentage>6</DiscountPercentage>
<DiscountedItemAmount>14</DiscountedItemAmount>
<DiscountedItemTotalAmount>15</DiscountedItemTotalAmount>
<ItemAdditionalNotes>sample string 22</ItemAdditionalNotes>
<ItemDiscountPrice>13</ItemDiscountPrice>
<ItemDiscountPriceTotal>20</ItemDiscountPriceTotal>
<ItemModifierTotal>19</ItemModifierTotal>
<ItemName>sample string 7</ItemName>
<ItemTaxPercent>9</ItemTaxPercent>
<ItemTaxPrice>16</ItemTaxPrice>
<ItemTotal>17</ItemTotal>
<ItemTotalTaxPrice>18</ItemTotalTaxPrice>
<ItemVariantName>sample string 8</ItemVariantName>
<MenuItemIDF>937bc60d-1f02-4e16-9a59-e15b3d7e3d2c</MenuItemIDF>
<OrderDetailIDP>58d11547-3126-441e-9efd-649f69d9d16b</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>adcad922-af0e-41a9-a274-a169fa160064</VariantIDF>
<VariantPrice>12</VariantPrice>
<IsCancelOrder>true</IsCancelOrder>
</POSOrder_KOTMenuItemDetailClass>
<POSOrder_KOTMenuItemDetailClass>
<AllModifierIDFs>sample string 11</AllModifierIDFs>
<AllModifierPrices>sample string 10</AllModifierPrices>
<DiscountPercentage>6</DiscountPercentage>
<DiscountedItemAmount>14</DiscountedItemAmount>
<DiscountedItemTotalAmount>15</DiscountedItemTotalAmount>
<ItemAdditionalNotes>sample string 22</ItemAdditionalNotes>
<ItemDiscountPrice>13</ItemDiscountPrice>
<ItemDiscountPriceTotal>20</ItemDiscountPriceTotal>
<ItemModifierTotal>19</ItemModifierTotal>
<ItemName>sample string 7</ItemName>
<ItemTaxPercent>9</ItemTaxPercent>
<ItemTaxPrice>16</ItemTaxPrice>
<ItemTotal>17</ItemTotal>
<ItemTotalTaxPrice>18</ItemTotalTaxPrice>
<ItemVariantName>sample string 8</ItemVariantName>
<MenuItemIDF>937bc60d-1f02-4e16-9a59-e15b3d7e3d2c</MenuItemIDF>
<OrderDetailIDP>58d11547-3126-441e-9efd-649f69d9d16b</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>adcad922-af0e-41a9-a274-a169fa160064</VariantIDF>
<VariantPrice>12</VariantPrice>
<IsCancelOrder>true</IsCancelOrder>
</POSOrder_KOTMenuItemDetailClass>
</KOTMenu>
<ModifierTotal>11</ModifierTotal>
<OrderDate>sample string 6</OrderDate>
<OrderMenu>
<POSOrder_MenuItemDetailClass>
<AllModifierIDFs>sample string 10</AllModifierIDFs>
<AllModifierPrices>sample string 9</AllModifierPrices>
<DiscountPercentage>5</DiscountPercentage>
<DiscountedItemAmount>13</DiscountedItemAmount>
<DiscountedItemTotalAmount>14</DiscountedItemTotalAmount>
<ItemAdditionalNotes>sample string 21</ItemAdditionalNotes>
<ItemDiscountPrice>12</ItemDiscountPrice>
<ItemDiscountPriceTotal>19</ItemDiscountPriceTotal>
<ItemModifierTotal>18</ItemModifierTotal>
<ItemName>sample string 6</ItemName>
<ItemTaxPercent>8</ItemTaxPercent>
<ItemTaxPrice>15</ItemTaxPrice>
<ItemTotal>16</ItemTotal>
<ItemTotalTaxPrice>17</ItemTotalTaxPrice>
<ItemVariantName>sample string 7</ItemVariantName>
<MenuItemIDF>ff9e906a-e777-4345-a970-7d44834679d6</MenuItemIDF>
<OrderDetailIDP>4f746982-d05b-46a9-b38b-6b1e4a160f2f</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>afced24e-9d15-4a65-8272-983a7b5c0fed</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
<POSOrder_MenuItemDetailClass>
<AllModifierIDFs>sample string 10</AllModifierIDFs>
<AllModifierPrices>sample string 9</AllModifierPrices>
<DiscountPercentage>5</DiscountPercentage>
<DiscountedItemAmount>13</DiscountedItemAmount>
<DiscountedItemTotalAmount>14</DiscountedItemTotalAmount>
<ItemAdditionalNotes>sample string 21</ItemAdditionalNotes>
<ItemDiscountPrice>12</ItemDiscountPrice>
<ItemDiscountPriceTotal>19</ItemDiscountPriceTotal>
<ItemModifierTotal>18</ItemModifierTotal>
<ItemName>sample string 6</ItemName>
<ItemTaxPercent>8</ItemTaxPercent>
<ItemTaxPrice>15</ItemTaxPrice>
<ItemTotal>16</ItemTotal>
<ItemTotalTaxPrice>17</ItemTotalTaxPrice>
<ItemVariantName>sample string 7</ItemVariantName>
<MenuItemIDF>ff9e906a-e777-4345-a970-7d44834679d6</MenuItemIDF>
<OrderDetailIDP>4f746982-d05b-46a9-b38b-6b1e4a160f2f</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>afced24e-9d15-4a65-8272-983a7b5c0fed</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
</OrderMenu>
<OrderStatus>sample string 7</OrderStatus>
<OrderTax>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>c30996bd-01f7-4577-ae2f-5468078831d8</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>200897b7-5777-45c1-b945-08b4b83f4464</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>c30996bd-01f7-4577-ae2f-5468078831d8</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>200897b7-5777-45c1-b945-08b4b83f4464</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
</OrderTax>
<PackagingName>sample string 20</PackagingName>
<PaymentStatus>sample string 8</PaymentStatus>
<QuantityTotal>9</QuantityTotal>
<RestaurantIDF>57f95140-b22b-4ed0-994b-ac903bbc3d87</RestaurantIDF>
<SubTotal>14</SubTotal>
<TaxAmountTotal>15</TaxAmountTotal>
<TotalAmount>16</TotalAmount>
<TrackingOrderID>sample string 5</TrackingOrderID>
<UserIDF>878f2942-6e16-48c0-9d12-154fb60b461d</UserIDF>
</POSOrder_UpdateOrderPlaceRequestClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |