POST api/POSOrder/CreateAndPlaceOrder
Request Information
URI Parameters
None.
Body Parameters
POSOrder_CreateOrderPlaceRequestClass| 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. |
|
| OrderType | integer |
None. |
|
| OrderSource | integer |
None. |
|
| OrderStatus | string |
None. |
|
| PaymentStatus | string |
None. |
|
| SeatIDF | globally unique identifier |
None. |
|
| TableNo | 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. |
|
| CustomerIDF | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| PhoneCountryCode | string |
None. |
|
| PhoneNumber | string |
None. |
|
| AdditionalNotes | string |
None. |
|
| PackagingName | string |
None. |
|
| EnvironmentType | integer |
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": "0f4a27b6-e6ed-49af-8825-cd51db11e0bf",
"BranchIDF": "2196bdb1-aa6f-443a-984a-bd6613543241",
"CounterIDF": "cf458e4c-da28-41bf-a3fa-bb9e4ec607f3",
"CounterBalanceHistoryIDF": "a8ecc869-d4f4-4772-9c38-d69e00b06bdb",
"TrackingOrderID": "sample string 5",
"OrderDate": "sample string 6",
"OrderType": 7,
"OrderSource": 8,
"OrderStatus": "sample string 9",
"PaymentStatus": "sample string 10",
"SeatIDF": "5e90e62b-4a8e-41bf-b7db-616f13d52ae7",
"TableNo": "sample string 11",
"QuantityTotal": 12,
"ItemTotal": 13.0,
"ModifierTotal": 14.0,
"DiscountTotal": 15.0,
"ItemTaxTotal": 16.0,
"SubTotal": 17.0,
"TaxAmountTotal": 18.0,
"TotalAmount": 19.0,
"AdjustedAmount": 20.0,
"GrandTotal": 21.0,
"UserIDF": "fa9b286b-7f08-431b-85a5-ab237f4a32ba",
"CustomerIDF": "f869111a-d32a-4c33-b593-d22809c2e486",
"Name": "sample string 23",
"Email": "sample string 24",
"PhoneCountryCode": "sample string 25",
"PhoneNumber": "sample string 26",
"AdditionalNotes": "sample string 27",
"PackagingName": "sample string 28",
"EnvironmentType": 29,
"OrderMenu": [
{
"OrderDetailIDP": "bb5b255b-ac81-4e80-8b0f-a83aefaf35c7",
"MenuItemIDF": "af1b8325-18fc-4e9a-ac96-42b64ece637f",
"VariantIDF": "8a3f5048-2a8a-43e5-a1e5-a3ed1485be3a",
"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": "bb5b255b-ac81-4e80-8b0f-a83aefaf35c7",
"MenuItemIDF": "af1b8325-18fc-4e9a-ac96-42b64ece637f",
"VariantIDF": "8a3f5048-2a8a-43e5-a1e5-a3ed1485be3a",
"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": "b910e646-20f0-45b7-a688-e780c093315a",
"MenuItemIDF": "c9770118-560e-430c-94e4-0c49800c5233",
"VariantIDF": "7950fb1d-d230-4d21-94bf-12be2c5afe9a",
"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": "b910e646-20f0-45b7-a688-e780c093315a",
"MenuItemIDF": "c9770118-560e-430c-94e4-0c49800c5233",
"VariantIDF": "7950fb1d-d230-4d21-94bf-12be2c5afe9a",
"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": "f172cb14-920d-47da-a334-2a9ba063b7ba",
"TaxIDF": "79d7ecf8-c919-4a0d-b5c3-360b2edfa6d2",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "f172cb14-920d-47da-a334-2a9ba063b7ba",
"TaxIDF": "79d7ecf8-c919-4a0d-b5c3-360b2edfa6d2",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
}
]
}
application/xml, text/xml
Sample:
<POSOrder_CreateOrderPlaceRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass">
<AdditionalNotes>sample string 27</AdditionalNotes>
<AdjustedAmount>20</AdjustedAmount>
<BranchIDF>2196bdb1-aa6f-443a-984a-bd6613543241</BranchIDF>
<CounterBalanceHistoryIDF>a8ecc869-d4f4-4772-9c38-d69e00b06bdb</CounterBalanceHistoryIDF>
<CounterIDF>cf458e4c-da28-41bf-a3fa-bb9e4ec607f3</CounterIDF>
<CustomerIDF>f869111a-d32a-4c33-b593-d22809c2e486</CustomerIDF>
<DiscountTotal>15</DiscountTotal>
<Email>sample string 24</Email>
<EnvironmentType>29</EnvironmentType>
<GrandTotal>21</GrandTotal>
<ItemTaxTotal>16</ItemTaxTotal>
<ItemTotal>13</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>c9770118-560e-430c-94e4-0c49800c5233</MenuItemIDF>
<OrderDetailIDP>b910e646-20f0-45b7-a688-e780c093315a</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>7950fb1d-d230-4d21-94bf-12be2c5afe9a</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>c9770118-560e-430c-94e4-0c49800c5233</MenuItemIDF>
<OrderDetailIDP>b910e646-20f0-45b7-a688-e780c093315a</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>7950fb1d-d230-4d21-94bf-12be2c5afe9a</VariantIDF>
<VariantPrice>12</VariantPrice>
<IsCancelOrder>true</IsCancelOrder>
</POSOrder_KOTMenuItemDetailClass>
</KOTMenu>
<ModifierTotal>14</ModifierTotal>
<Name>sample string 23</Name>
<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>af1b8325-18fc-4e9a-ac96-42b64ece637f</MenuItemIDF>
<OrderDetailIDP>bb5b255b-ac81-4e80-8b0f-a83aefaf35c7</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>8a3f5048-2a8a-43e5-a1e5-a3ed1485be3a</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>af1b8325-18fc-4e9a-ac96-42b64ece637f</MenuItemIDF>
<OrderDetailIDP>bb5b255b-ac81-4e80-8b0f-a83aefaf35c7</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>8a3f5048-2a8a-43e5-a1e5-a3ed1485be3a</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
</OrderMenu>
<OrderSource>8</OrderSource>
<OrderStatus>sample string 9</OrderStatus>
<OrderTax>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>f172cb14-920d-47da-a334-2a9ba063b7ba</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>79d7ecf8-c919-4a0d-b5c3-360b2edfa6d2</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>f172cb14-920d-47da-a334-2a9ba063b7ba</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>79d7ecf8-c919-4a0d-b5c3-360b2edfa6d2</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
</OrderTax>
<OrderType>7</OrderType>
<PackagingName>sample string 28</PackagingName>
<PaymentStatus>sample string 10</PaymentStatus>
<PhoneCountryCode>sample string 25</PhoneCountryCode>
<PhoneNumber>sample string 26</PhoneNumber>
<QuantityTotal>12</QuantityTotal>
<RestaurantIDF>0f4a27b6-e6ed-49af-8825-cd51db11e0bf</RestaurantIDF>
<SeatIDF>5e90e62b-4a8e-41bf-b7db-616f13d52ae7</SeatIDF>
<SubTotal>17</SubTotal>
<TableNo>sample string 11</TableNo>
<TaxAmountTotal>18</TaxAmountTotal>
<TotalAmount>19</TotalAmount>
<TrackingOrderID>sample string 5</TrackingOrderID>
<UserIDF>fa9b286b-7f08-431b-85a5-ab237f4a32ba</UserIDF>
</POSOrder_CreateOrderPlaceRequestClass>
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. |