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": "965f3acf-d980-4aa4-b598-a00881dd0366",
"OrderType": 3,
"OrderSource": 4,
"EnvironmentType": 5,
"RestaurantIDF": "c85f4593-8d44-4150-8366-20a87992e32e",
"BranchIDF": "24aebe10-acae-4c75-95ff-2c849e577516",
"SeatIDF": "7a87075c-2a64-4ef7-9bd8-076d5c935d38",
"OrderDate": "sample string 9",
"OrderMenu": [
{
"OrderDetailIDP": "6039d339-42a6-4a4d-a38a-6212ae0edd12",
"MenuItemIDF": "118a0b29-6d3d-42e1-a6e9-c5c7d91ac8ab",
"VariantIDF": "d696b571-d366-4efd-a947-c439f5737797",
"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": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 21"
},
{
"OrderDetailIDP": "6039d339-42a6-4a4d-a38a-6212ae0edd12",
"MenuItemIDF": "118a0b29-6d3d-42e1-a6e9-c5c7d91ac8ab",
"VariantIDF": "d696b571-d366-4efd-a947-c439f5737797",
"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": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 21"
}
],
"KOTMenu": [
{
"IsCancelOrder": true,
"OrderDetailIDP": "d8dfae28-1d56-44d6-8cc2-7c37e3d385ca",
"MenuItemIDF": "e9dc023c-92ac-4a0e-85fa-ee3d2ffe904e",
"VariantIDF": "42b226f4-f2ba-4991-b509-8a97d1a11df1",
"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": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 22"
},
{
"IsCancelOrder": true,
"OrderDetailIDP": "d8dfae28-1d56-44d6-8cc2-7c37e3d385ca",
"MenuItemIDF": "e9dc023c-92ac-4a0e-85fa-ee3d2ffe904e",
"VariantIDF": "42b226f4-f2ba-4991-b509-8a97d1a11df1",
"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": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "15294e86-8eb5-4361-b928-bdadd6d64fbf",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 22"
}
],
"OrderTax": [
{
"OrderTaxIDP": "9370f41b-aa11-4d06-af02-5312208d6f37",
"TaxIDF": "803cd508-0aff-4931-904b-c374ddc76066",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "9370f41b-aa11-4d06-af02-5312208d6f37",
"TaxIDF": "803cd508-0aff-4931-904b-c374ddc76066",
"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": "ea1957d2-71f7-4251-9299-7043910c9b56",
"PaymentGatewaySettingID": "52a713c6-2602-4f25-8dd4-18fc54017c31",
"TableNo": "sample string 22",
"PackagingName": "sample string 23",
"SequentialOrderID": "sample string 24",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0,
"RefundDetails": [
{
"RefundIDP": "54462f87-1db2-4672-a798-3eab49761186",
"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": "54462f87-1db2-4672-a798-3eab49761186",
"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. |