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": "ec2107cc-8cb5-4cc4-85f1-72d23a4532ba",
"BranchIDF": "c8aa2373-091a-48b7-8c74-e5f853686a03",
"CounterIDF": "4151c637-9dc0-482f-8cd3-a8cf80cf3dba",
"CounterBalanceHistoryIDF": "4d42d0e1-4013-475c-b48a-8920f93170b6",
"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": "1e9cbbeb-67ac-45a5-95c2-5c360c9d4cc3",
"AdditionalNotes": "sample string 19",
"PackagingName": "sample string 20",
"OrderMenu": [
{
"OrderDetailIDP": "0a6af3bf-c781-4c52-a56d-0fc90c561dd9",
"MenuItemIDF": "458a78e8-67f2-4e1e-887b-ce69832f7c3c",
"VariantIDF": "6816acf4-51f5-44a1-93fc-7d413d395348",
"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": "0a6af3bf-c781-4c52-a56d-0fc90c561dd9",
"MenuItemIDF": "458a78e8-67f2-4e1e-887b-ce69832f7c3c",
"VariantIDF": "6816acf4-51f5-44a1-93fc-7d413d395348",
"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": "6e77d076-63bb-45a1-a5d6-f448f87abb39",
"MenuItemIDF": "d55efbfe-f282-4f5f-9171-6154de8801ca",
"VariantIDF": "42f0844c-9a7d-447a-8e46-a70cd3cdf3d9",
"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": "6e77d076-63bb-45a1-a5d6-f448f87abb39",
"MenuItemIDF": "d55efbfe-f282-4f5f-9171-6154de8801ca",
"VariantIDF": "42f0844c-9a7d-447a-8e46-a70cd3cdf3d9",
"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": "a5ce888f-2dc5-4c79-b3bb-acac575594ba",
"TaxIDF": "823c55b3-a5f0-4bc6-9893-bc570ab36669",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "a5ce888f-2dc5-4c79-b3bb-acac575594ba",
"TaxIDF": "823c55b3-a5f0-4bc6-9893-bc570ab36669",
"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>c8aa2373-091a-48b7-8c74-e5f853686a03</BranchIDF>
<CounterBalanceHistoryIDF>4d42d0e1-4013-475c-b48a-8920f93170b6</CounterBalanceHistoryIDF>
<CounterIDF>4151c637-9dc0-482f-8cd3-a8cf80cf3dba</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>d55efbfe-f282-4f5f-9171-6154de8801ca</MenuItemIDF>
<OrderDetailIDP>6e77d076-63bb-45a1-a5d6-f448f87abb39</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>42f0844c-9a7d-447a-8e46-a70cd3cdf3d9</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>d55efbfe-f282-4f5f-9171-6154de8801ca</MenuItemIDF>
<OrderDetailIDP>6e77d076-63bb-45a1-a5d6-f448f87abb39</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>42f0844c-9a7d-447a-8e46-a70cd3cdf3d9</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>458a78e8-67f2-4e1e-887b-ce69832f7c3c</MenuItemIDF>
<OrderDetailIDP>0a6af3bf-c781-4c52-a56d-0fc90c561dd9</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>6816acf4-51f5-44a1-93fc-7d413d395348</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>458a78e8-67f2-4e1e-887b-ce69832f7c3c</MenuItemIDF>
<OrderDetailIDP>0a6af3bf-c781-4c52-a56d-0fc90c561dd9</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>6816acf4-51f5-44a1-93fc-7d413d395348</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
</OrderMenu>
<OrderStatus>sample string 7</OrderStatus>
<OrderTax>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>a5ce888f-2dc5-4c79-b3bb-acac575594ba</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>823c55b3-a5f0-4bc6-9893-bc570ab36669</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>a5ce888f-2dc5-4c79-b3bb-acac575594ba</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>823c55b3-a5f0-4bc6-9893-bc570ab36669</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>ec2107cc-8cb5-4cc4-85f1-72d23a4532ba</RestaurantIDF>
<SubTotal>14</SubTotal>
<TaxAmountTotal>15</TaxAmountTotal>
<TotalAmount>16</TotalAmount>
<TrackingOrderID>sample string 5</TrackingOrderID>
<UserIDF>1e9cbbeb-67ac-45a5-95c2-5c360c9d4cc3</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. |