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": "6f799fcd-4801-4222-abc9-3cdcb407a111",
"BranchIDF": "619f6f2a-2a3b-400c-a3ab-018ead98e2b4",
"CounterIDF": "cbe1a75b-bd13-4753-a3c2-107bfcfadd6e",
"CounterBalanceHistoryIDF": "7126450c-2348-42e8-80b5-900447f23b8f",
"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": "48214c05-a913-44a0-9ea7-07b6d3243a7d",
"AdditionalNotes": "sample string 19",
"PackagingName": "sample string 20",
"OrderMenu": [
{
"OrderDetailIDP": "ec5207b3-0241-496f-922a-d2bd8454035b",
"MenuItemIDF": "6212c76a-778f-4c6d-8568-f25b92943849",
"VariantIDF": "3247cd5e-f178-4545-a95a-449e4bb57d84",
"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": "ec5207b3-0241-496f-922a-d2bd8454035b",
"MenuItemIDF": "6212c76a-778f-4c6d-8568-f25b92943849",
"VariantIDF": "3247cd5e-f178-4545-a95a-449e4bb57d84",
"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": "f75c3ec2-f7ab-4c47-9f6f-fa7a97a2f90c",
"MenuItemIDF": "6df0ef17-815c-4f10-a988-7a30151cf08f",
"VariantIDF": "50c4ec30-5508-4133-8b35-7a9090a77dbc",
"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": "f75c3ec2-f7ab-4c47-9f6f-fa7a97a2f90c",
"MenuItemIDF": "6df0ef17-815c-4f10-a988-7a30151cf08f",
"VariantIDF": "50c4ec30-5508-4133-8b35-7a9090a77dbc",
"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": "0d2a3c28-76e4-4eca-93e7-e25f5000f207",
"TaxIDF": "019abd69-ab55-4f62-982f-9f5467c77f41",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "0d2a3c28-76e4-4eca-93e7-e25f5000f207",
"TaxIDF": "019abd69-ab55-4f62-982f-9f5467c77f41",
"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>619f6f2a-2a3b-400c-a3ab-018ead98e2b4</BranchIDF>
<CounterBalanceHistoryIDF>7126450c-2348-42e8-80b5-900447f23b8f</CounterBalanceHistoryIDF>
<CounterIDF>cbe1a75b-bd13-4753-a3c2-107bfcfadd6e</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>6df0ef17-815c-4f10-a988-7a30151cf08f</MenuItemIDF>
<OrderDetailIDP>f75c3ec2-f7ab-4c47-9f6f-fa7a97a2f90c</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>50c4ec30-5508-4133-8b35-7a9090a77dbc</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>6df0ef17-815c-4f10-a988-7a30151cf08f</MenuItemIDF>
<OrderDetailIDP>f75c3ec2-f7ab-4c47-9f6f-fa7a97a2f90c</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>50c4ec30-5508-4133-8b35-7a9090a77dbc</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>6212c76a-778f-4c6d-8568-f25b92943849</MenuItemIDF>
<OrderDetailIDP>ec5207b3-0241-496f-922a-d2bd8454035b</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>3247cd5e-f178-4545-a95a-449e4bb57d84</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>6212c76a-778f-4c6d-8568-f25b92943849</MenuItemIDF>
<OrderDetailIDP>ec5207b3-0241-496f-922a-d2bd8454035b</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>3247cd5e-f178-4545-a95a-449e4bb57d84</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
</OrderMenu>
<OrderStatus>sample string 7</OrderStatus>
<OrderTax>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>0d2a3c28-76e4-4eca-93e7-e25f5000f207</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>019abd69-ab55-4f62-982f-9f5467c77f41</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>0d2a3c28-76e4-4eca-93e7-e25f5000f207</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>019abd69-ab55-4f62-982f-9f5467c77f41</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>6f799fcd-4801-4222-abc9-3cdcb407a111</RestaurantIDF>
<SubTotal>14</SubTotal>
<TaxAmountTotal>15</TaxAmountTotal>
<TotalAmount>16</TotalAmount>
<TrackingOrderID>sample string 5</TrackingOrderID>
<UserIDF>48214c05-a913-44a0-9ea7-07b6d3243a7d</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. |