POST api/Order/ProcessOrder
Request Information
URI Parameters
None.
Body Parameters
OrderDetailClass| Name | Description | Type | Additional information |
|---|---|---|---|
| TrackingOrderID | string |
None. |
|
| UserIDF | globally unique identifier |
None. |
|
| OrderType | integer |
None. |
|
| OrderSource | integer |
None. |
|
| EnvironmentType | integer |
None. |
|
| RestaurantIDF | globally unique identifier |
None. |
|
| BranchIDF | globally unique identifier |
None. |
|
| SeatIDF | globally unique identifier |
None. |
|
| OrderDate | string |
None. |
|
| OrderMenu | Collection of OrderMenuClass |
None. |
|
| KOTMenu | Collection of KOTMenuClass |
None. |
|
| OrderTax | Collection of OrderTaxClass |
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. |
|
| GrandTotal | decimal number |
None. |
|
| AdjustedAmount | decimal number |
None. |
|
| AdditionalNotes | string |
None. |
|
| GuestInfo | Collection of Object |
None. |
|
| PaymentGatewayID | globally unique identifier |
None. |
|
| PaymentGatewaySettingID | globally unique identifier |
None. |
|
| TableNo | string |
None. |
|
| PackagingName | string |
None. |
|
| SequentialOrderID | string |
None. |
|
| PayAmountCash | decimal number |
None. |
|
| DueAmountCash | decimal number |
None. |
|
| ReturnAmountCash | decimal number |
None. |
|
| RefundDetails | Collection of RefundDetailsModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"TrackingOrderID": "sample string 1",
"UserIDF": "5c376871-3d8e-4654-b5dd-502e937eea6d",
"OrderType": 3,
"OrderSource": 4,
"EnvironmentType": 5,
"RestaurantIDF": "08bd2d52-2a6c-43cd-a379-704aa08288a4",
"BranchIDF": "1d13d9f0-fd77-4e89-b388-74f9dacadd02",
"SeatIDF": "f896cfbb-a47b-45cd-9383-ebcd0900c3e6",
"OrderDate": "sample string 9",
"OrderMenu": [
{
"OrderDetailIDP": "a1c5b4e3-e5dd-4400-a62f-ebd48e7b23c2",
"MenuItemIDF": "bbcb2ac3-3704-4278-a47c-b43aba4f01de",
"VariantIDF": "ed6b6bd9-30b1-4a58-b5f9-0fcef2d26d68",
"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,
"ModifierData": [
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 21"
},
{
"OrderDetailIDP": "a1c5b4e3-e5dd-4400-a62f-ebd48e7b23c2",
"MenuItemIDF": "bbcb2ac3-3704-4278-a47c-b43aba4f01de",
"VariantIDF": "ed6b6bd9-30b1-4a58-b5f9-0fcef2d26d68",
"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,
"ModifierData": [
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 21"
}
],
"KOTMenu": [
{
"IsCancelOrder": true,
"OrderDetailIDP": "a527d1b0-4932-4e06-a531-610307ab294a",
"MenuItemIDF": "5dac75a8-f0bb-4628-b408-1ac9850873be",
"VariantIDF": "d991d053-eae1-4a0c-a86b-32b727e13337",
"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,
"ModifierData": [
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 22"
},
{
"IsCancelOrder": true,
"OrderDetailIDP": "a527d1b0-4932-4e06-a531-610307ab294a",
"MenuItemIDF": "5dac75a8-f0bb-4628-b408-1ac9850873be",
"VariantIDF": "d991d053-eae1-4a0c-a86b-32b727e13337",
"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,
"ModifierData": [
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "2431636e-3a77-4b3c-b505-74bbc91e7ef6",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 22"
}
],
"OrderTax": [
{
"OrderTaxIDP": "be82c302-2bd1-4aa3-927f-46e5fb369278",
"TaxIDF": "467c11e0-6207-42de-85ed-f6af4308fc51",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "be82c302-2bd1-4aa3-927f-46e5fb369278",
"TaxIDF": "467c11e0-6207-42de-85ed-f6af4308fc51",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
}
],
"QuantityTotal": 10,
"ItemTotal": 11.0,
"ModifierTotal": 12.0,
"DiscountTotal": 13.0,
"ItemTaxTotal": 14.0,
"SubTotal": 15.0,
"TaxAmountTotal": 16.0,
"TotalAmount": 17.0,
"GrandTotal": 18.0,
"AdjustedAmount": 1.0,
"AdditionalNotes": "sample string 19",
"GuestInfo": null,
"PaymentGatewayID": "e6668a99-d221-4335-b714-89134f4fa6ec",
"PaymentGatewaySettingID": "88a8146d-8012-4c0b-a953-954d064fce15",
"TableNo": "sample string 22",
"PackagingName": "sample string 23",
"SequentialOrderID": "sample string 24",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0,
"RefundDetails": [
{
"RefundIDP": "fddca0d8-b65a-42cf-8550-68eaad05d083",
"RefundStatus": "sample string 2",
"RefundStatusText": "sample string 3",
"RefundTransactionID": "sample string 4",
"RefundResponseCode": "sample string 5",
"RefundResponseMessage": "sample string 6",
"ReasonForRefund": "sample string 7",
"RefundAmountTotal": 8.0,
"RefundedPayAmountCash": 1.0,
"RefundedDueAmountCash": 1.0,
"RefundedReturnAmountCash": 1.0,
"RefundedPaymentGatewayName": "sample string 9",
"RefundedPaymentGatewayNo": "sample string 10",
"RefundRequestDate": "sample string 11",
"RefundProcessedDate": "sample string 12",
"RefundedReferenceID": "sample string 13",
"RefundedByFullName": "sample string 14",
"RefundedByFullNameGeneralManager": "sample string 15"
},
{
"RefundIDP": "fddca0d8-b65a-42cf-8550-68eaad05d083",
"RefundStatus": "sample string 2",
"RefundStatusText": "sample string 3",
"RefundTransactionID": "sample string 4",
"RefundResponseCode": "sample string 5",
"RefundResponseMessage": "sample string 6",
"ReasonForRefund": "sample string 7",
"RefundAmountTotal": 8.0,
"RefundedPayAmountCash": 1.0,
"RefundedDueAmountCash": 1.0,
"RefundedReturnAmountCash": 1.0,
"RefundedPaymentGatewayName": "sample string 9",
"RefundedPaymentGatewayNo": "sample string 10",
"RefundRequestDate": "sample string 11",
"RefundProcessedDate": "sample string 12",
"RefundedReferenceID": "sample string 13",
"RefundedByFullName": "sample string 14",
"RefundedByFullNameGeneralManager": "sample string 15"
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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. |