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": "331acb0f-6384-4765-a4e0-c9a4dbf725a3",
"BranchIDF": "363c6ee4-9374-4ec4-86ab-0326b327a3ef",
"CounterIDF": "cfdc4980-1125-47df-8593-c1cc840209d4",
"CounterBalanceHistoryIDF": "7444ee11-7f74-4bae-81cc-75ef495ffd64",
"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": "110e4103-d5e0-413a-b3fc-60c07cefda46",
"AdditionalNotes": "sample string 19",
"PackagingName": "sample string 20",
"OrderMenu": [
{
"OrderDetailIDP": "007d0379-ab8e-4ff0-a29f-6ce5217d4f2b",
"MenuItemIDF": "e790df47-e089-43de-bd3b-d3521e46ec3a",
"VariantIDF": "9785b9c5-1a95-4ca9-9e2c-c144f7dd2271",
"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": "007d0379-ab8e-4ff0-a29f-6ce5217d4f2b",
"MenuItemIDF": "e790df47-e089-43de-bd3b-d3521e46ec3a",
"VariantIDF": "9785b9c5-1a95-4ca9-9e2c-c144f7dd2271",
"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": "356a642c-e650-49c5-9b59-a572e429e840",
"MenuItemIDF": "79b22396-fb26-4d53-9c72-03fef194d1a6",
"VariantIDF": "1314f7d0-ccba-46b4-a50d-efc76c3d487e",
"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": "356a642c-e650-49c5-9b59-a572e429e840",
"MenuItemIDF": "79b22396-fb26-4d53-9c72-03fef194d1a6",
"VariantIDF": "1314f7d0-ccba-46b4-a50d-efc76c3d487e",
"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": "df2e52b7-6fc2-4c2a-844d-0cde93ec838b",
"TaxIDF": "9781d328-9c43-41a9-8d26-1a4dc93fec37",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "df2e52b7-6fc2-4c2a-844d-0cde93ec838b",
"TaxIDF": "9781d328-9c43-41a9-8d26-1a4dc93fec37",
"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>363c6ee4-9374-4ec4-86ab-0326b327a3ef</BranchIDF>
<CounterBalanceHistoryIDF>7444ee11-7f74-4bae-81cc-75ef495ffd64</CounterBalanceHistoryIDF>
<CounterIDF>cfdc4980-1125-47df-8593-c1cc840209d4</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>79b22396-fb26-4d53-9c72-03fef194d1a6</MenuItemIDF>
<OrderDetailIDP>356a642c-e650-49c5-9b59-a572e429e840</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>1314f7d0-ccba-46b4-a50d-efc76c3d487e</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>79b22396-fb26-4d53-9c72-03fef194d1a6</MenuItemIDF>
<OrderDetailIDP>356a642c-e650-49c5-9b59-a572e429e840</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>1314f7d0-ccba-46b4-a50d-efc76c3d487e</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>e790df47-e089-43de-bd3b-d3521e46ec3a</MenuItemIDF>
<OrderDetailIDP>007d0379-ab8e-4ff0-a29f-6ce5217d4f2b</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>9785b9c5-1a95-4ca9-9e2c-c144f7dd2271</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>e790df47-e089-43de-bd3b-d3521e46ec3a</MenuItemIDF>
<OrderDetailIDP>007d0379-ab8e-4ff0-a29f-6ce5217d4f2b</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>9785b9c5-1a95-4ca9-9e2c-c144f7dd2271</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
</OrderMenu>
<OrderStatus>sample string 7</OrderStatus>
<OrderTax>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>df2e52b7-6fc2-4c2a-844d-0cde93ec838b</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>9781d328-9c43-41a9-8d26-1a4dc93fec37</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>df2e52b7-6fc2-4c2a-844d-0cde93ec838b</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>9781d328-9c43-41a9-8d26-1a4dc93fec37</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>331acb0f-6384-4765-a4e0-c9a4dbf725a3</RestaurantIDF>
<SubTotal>14</SubTotal>
<TaxAmountTotal>15</TaxAmountTotal>
<TotalAmount>16</TotalAmount>
<TrackingOrderID>sample string 5</TrackingOrderID>
<UserIDF>110e4103-d5e0-413a-b3fc-60c07cefda46</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. |