POST api/POSOrder/POSProcessSingleOrder
Request Information
URI Parameters
None.
Body Parameters
POSOrder_ProcessSingleOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| SequentialOrderID | string |
None. |
|
| PaymentResponse | Collection of POSOrder_PaymentResponseClass |
None. |
|
| PaymentGatewayIDF | globally unique identifier |
None. |
|
| PaymentGatewaySettingIDF | globally unique identifier |
None. |
|
| PaymentGatewayNo | integer |
None. |
|
| PayAmountCash | decimal number |
None. |
|
| DueAmountCash | decimal number |
None. |
|
| ReturnAmountCash | decimal number |
None. |
|
| RewardPoints | integer |
None. |
|
| PointsSpent | integer |
None. |
|
| RewardPrice | decimal number |
None. |
|
| 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:
{
"SequentialOrderID": "sample string 1",
"PaymentResponse": [
{
"TransactionID": "sample string 1",
"ResponseCode": "sample string 2",
"ResponseMessage": "sample string 3",
"PaymentStatus": "sample string 4",
"PaidAmount": 5.0,
"RequestData": "sample string 6",
"ResponseData": "sample string 7",
"PaymentGatewayNo": "sample string 8",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0
},
{
"TransactionID": "sample string 1",
"ResponseCode": "sample string 2",
"ResponseMessage": "sample string 3",
"PaymentStatus": "sample string 4",
"PaidAmount": 5.0,
"RequestData": "sample string 6",
"ResponseData": "sample string 7",
"PaymentGatewayNo": "sample string 8",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0
}
],
"PaymentGatewayIDF": "8311b2ce-8690-4686-8463-92e7fe361571",
"PaymentGatewaySettingIDF": "f27c6611-26a0-47cd-b390-9eb45543cb4f",
"PaymentGatewayNo": 1,
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0,
"RewardPoints": 1,
"PointsSpent": 1,
"RewardPrice": 1.0,
"RestaurantIDF": "38ba5d60-4585-4ce4-8bae-24d710b2e0b9",
"BranchIDF": "261680ab-b624-4000-838f-b9bf87b0e092",
"CounterIDF": "0e62c443-35d1-4308-ae5e-7dd2562da847",
"CounterBalanceHistoryIDF": "559314f0-28bc-41b5-af1f-861b3aecc34e",
"TrackingOrderID": "sample string 6",
"OrderDate": "sample string 7",
"OrderType": 8,
"OrderSource": 9,
"OrderStatus": "sample string 10",
"PaymentStatus": "sample string 11",
"SeatIDF": "e459d9be-0f5c-44ce-8400-8fe1285b008e",
"TableNo": "sample string 12",
"QuantityTotal": 13,
"ItemTotal": 14.0,
"ModifierTotal": 15.0,
"DiscountTotal": 16.0,
"ItemTaxTotal": 17.0,
"SubTotal": 18.0,
"TaxAmountTotal": 19.0,
"TotalAmount": 20.0,
"AdjustedAmount": 21.0,
"GrandTotal": 22.0,
"UserIDF": "8e19e803-2146-4901-b204-aac4e282e6ea",
"CustomerIDF": "c2d455e7-c48c-4d2b-ae34-4e58cdb6b311",
"Name": "sample string 24",
"Email": "sample string 25",
"PhoneCountryCode": "sample string 26",
"PhoneNumber": "sample string 27",
"AdditionalNotes": "sample string 28",
"PackagingName": "sample string 29",
"EnvironmentType": 30,
"OrderMenu": [
{
"OrderDetailIDP": "43489d70-5454-4219-9eb4-40e5d42559b8",
"MenuItemIDF": "aa938cec-09f3-4467-aaa6-b56e4db1ac42",
"VariantIDF": "0b82c8d5-4cea-4423-b7ea-f2b03e1188c2",
"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": "43489d70-5454-4219-9eb4-40e5d42559b8",
"MenuItemIDF": "aa938cec-09f3-4467-aaa6-b56e4db1ac42",
"VariantIDF": "0b82c8d5-4cea-4423-b7ea-f2b03e1188c2",
"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": "d6b4870a-6251-402d-bc8e-6c709be91ac0",
"MenuItemIDF": "04d560c6-18f8-4a0b-91a6-bd6a2cbeb1d7",
"VariantIDF": "05874e57-4795-4dc2-b88f-8382dbb32583",
"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": "d6b4870a-6251-402d-bc8e-6c709be91ac0",
"MenuItemIDF": "04d560c6-18f8-4a0b-91a6-bd6a2cbeb1d7",
"VariantIDF": "05874e57-4795-4dc2-b88f-8382dbb32583",
"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": "41a19169-c230-4d2c-9a85-9dbc26c000a9",
"TaxIDF": "2be7538e-8317-4360-8743-33c3fbf6b547",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "41a19169-c230-4d2c-9a85-9dbc26c000a9",
"TaxIDF": "2be7538e-8317-4360-8743-33c3fbf6b547",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
}
]
}
application/xml, text/xml
Sample:
<POSOrder_ProcessSingleOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass">
<AdditionalNotes>sample string 28</AdditionalNotes>
<AdjustedAmount>21</AdjustedAmount>
<BranchIDF>261680ab-b624-4000-838f-b9bf87b0e092</BranchIDF>
<CounterBalanceHistoryIDF>559314f0-28bc-41b5-af1f-861b3aecc34e</CounterBalanceHistoryIDF>
<CounterIDF>0e62c443-35d1-4308-ae5e-7dd2562da847</CounterIDF>
<CustomerIDF>c2d455e7-c48c-4d2b-ae34-4e58cdb6b311</CustomerIDF>
<DiscountTotal>16</DiscountTotal>
<Email>sample string 25</Email>
<EnvironmentType>30</EnvironmentType>
<GrandTotal>22</GrandTotal>
<ItemTaxTotal>17</ItemTaxTotal>
<ItemTotal>14</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>04d560c6-18f8-4a0b-91a6-bd6a2cbeb1d7</MenuItemIDF>
<OrderDetailIDP>d6b4870a-6251-402d-bc8e-6c709be91ac0</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>05874e57-4795-4dc2-b88f-8382dbb32583</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>04d560c6-18f8-4a0b-91a6-bd6a2cbeb1d7</MenuItemIDF>
<OrderDetailIDP>d6b4870a-6251-402d-bc8e-6c709be91ac0</OrderDetailIDP>
<Quantity>5</Quantity>
<TotalItemAmount>21</TotalItemAmount>
<VariantIDF>05874e57-4795-4dc2-b88f-8382dbb32583</VariantIDF>
<VariantPrice>12</VariantPrice>
<IsCancelOrder>true</IsCancelOrder>
</POSOrder_KOTMenuItemDetailClass>
</KOTMenu>
<ModifierTotal>15</ModifierTotal>
<Name>sample string 24</Name>
<OrderDate>sample string 7</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>aa938cec-09f3-4467-aaa6-b56e4db1ac42</MenuItemIDF>
<OrderDetailIDP>43489d70-5454-4219-9eb4-40e5d42559b8</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>0b82c8d5-4cea-4423-b7ea-f2b03e1188c2</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>aa938cec-09f3-4467-aaa6-b56e4db1ac42</MenuItemIDF>
<OrderDetailIDP>43489d70-5454-4219-9eb4-40e5d42559b8</OrderDetailIDP>
<Quantity>4</Quantity>
<TotalItemAmount>20</TotalItemAmount>
<VariantIDF>0b82c8d5-4cea-4423-b7ea-f2b03e1188c2</VariantIDF>
<VariantPrice>11</VariantPrice>
</POSOrder_MenuItemDetailClass>
</OrderMenu>
<OrderSource>9</OrderSource>
<OrderStatus>sample string 10</OrderStatus>
<OrderTax>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>41a19169-c230-4d2c-9a85-9dbc26c000a9</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>2be7538e-8317-4360-8743-33c3fbf6b547</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
<POSOrder_OrderTaxDetailClass>
<OrderTaxIDP>41a19169-c230-4d2c-9a85-9dbc26c000a9</OrderTaxIDP>
<TaxAmount>5</TaxAmount>
<TaxIDF>2be7538e-8317-4360-8743-33c3fbf6b547</TaxIDF>
<TaxName>sample string 3</TaxName>
<TaxPercentage>4</TaxPercentage>
</POSOrder_OrderTaxDetailClass>
</OrderTax>
<OrderType>8</OrderType>
<PackagingName>sample string 29</PackagingName>
<PaymentStatus>sample string 11</PaymentStatus>
<PhoneCountryCode>sample string 26</PhoneCountryCode>
<PhoneNumber>sample string 27</PhoneNumber>
<QuantityTotal>13</QuantityTotal>
<RestaurantIDF>38ba5d60-4585-4ce4-8bae-24d710b2e0b9</RestaurantIDF>
<SeatIDF>e459d9be-0f5c-44ce-8400-8fe1285b008e</SeatIDF>
<SubTotal>18</SubTotal>
<TableNo>sample string 12</TableNo>
<TaxAmountTotal>19</TaxAmountTotal>
<TotalAmount>20</TotalAmount>
<TrackingOrderID>sample string 6</TrackingOrderID>
<UserIDF>8e19e803-2146-4901-b204-aac4e282e6ea</UserIDF>
<DueAmountCash>1</DueAmountCash>
<PayAmountCash>1</PayAmountCash>
<PaymentGatewayIDF>8311b2ce-8690-4686-8463-92e7fe361571</PaymentGatewayIDF>
<PaymentGatewayNo>1</PaymentGatewayNo>
<PaymentGatewaySettingIDF>f27c6611-26a0-47cd-b390-9eb45543cb4f</PaymentGatewaySettingIDF>
<PaymentResponse>
<POSOrder_PaymentResponseClass>
<DueAmountCash>1</DueAmountCash>
<PaidAmount>5</PaidAmount>
<PayAmountCash>1</PayAmountCash>
<PaymentGatewayNo>sample string 8</PaymentGatewayNo>
<PaymentStatus>sample string 4</PaymentStatus>
<RequestData>sample string 6</RequestData>
<ResponseCode>sample string 2</ResponseCode>
<ResponseData>sample string 7</ResponseData>
<ResponseMessage>sample string 3</ResponseMessage>
<ReturnAmountCash>1</ReturnAmountCash>
<TransactionID>sample string 1</TransactionID>
</POSOrder_PaymentResponseClass>
<POSOrder_PaymentResponseClass>
<DueAmountCash>1</DueAmountCash>
<PaidAmount>5</PaidAmount>
<PayAmountCash>1</PayAmountCash>
<PaymentGatewayNo>sample string 8</PaymentGatewayNo>
<PaymentStatus>sample string 4</PaymentStatus>
<RequestData>sample string 6</RequestData>
<ResponseCode>sample string 2</ResponseCode>
<ResponseData>sample string 7</ResponseData>
<ResponseMessage>sample string 3</ResponseMessage>
<ReturnAmountCash>1</ReturnAmountCash>
<TransactionID>sample string 1</TransactionID>
</POSOrder_PaymentResponseClass>
</PaymentResponse>
<PointsSpent>1</PointsSpent>
<ReturnAmountCash>1</ReturnAmountCash>
<RewardPoints>1</RewardPoints>
<RewardPrice>1</RewardPrice>
<SequentialOrderID>sample string 1</SequentialOrderID>
</POSOrder_ProcessSingleOrder>
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. |