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": "350ff5ce-44af-4e06-bd0f-5727f84a23e1",
"OrderType": 3,
"OrderSource": 4,
"EnvironmentType": 5,
"RestaurantIDF": "8fc00997-942e-4f9c-a64a-4f685e6455f3",
"BranchIDF": "e579aae3-aaff-4ab5-94dd-ec25b7977ca7",
"SeatIDF": "c7b2adf2-05dd-4654-93fb-416105efa720",
"OrderDate": "sample string 9",
"OrderMenu": [
{
"OrderDetailIDP": "79d0c23b-2ef1-492e-a783-ee007417d93c",
"MenuItemIDF": "dfa3574a-4389-48d5-bd88-8ac0fec3210d",
"VariantIDF": "7fe5278f-dbf5-493c-b6b6-0e1d08fae732",
"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": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 21"
},
{
"OrderDetailIDP": "79d0c23b-2ef1-492e-a783-ee007417d93c",
"MenuItemIDF": "dfa3574a-4389-48d5-bd88-8ac0fec3210d",
"VariantIDF": "7fe5278f-dbf5-493c-b6b6-0e1d08fae732",
"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": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 21"
}
],
"KOTMenu": [
{
"IsCancelOrder": true,
"OrderDetailIDP": "c27997fb-4079-4e9f-8b9b-c52ce5045688",
"MenuItemIDF": "8b16a2d5-2bdc-4249-afea-17aa7a39fb34",
"VariantIDF": "3729ed0b-bf8c-4180-94c3-c2aaeac9a8ac",
"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": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 22"
},
{
"IsCancelOrder": true,
"OrderDetailIDP": "c27997fb-4079-4e9f-8b9b-c52ce5045688",
"MenuItemIDF": "8b16a2d5-2bdc-4249-afea-17aa7a39fb34",
"VariantIDF": "3729ed0b-bf8c-4180-94c3-c2aaeac9a8ac",
"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": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
},
{
"ModifierIDP": "103978a7-8e89-4f66-abb7-de01c36bf786",
"ModifierName": "sample string 2",
"Price": 3.0
}
],
"ItemAdditionalNotes": "sample string 22"
}
],
"OrderTax": [
{
"OrderTaxIDP": "dfdbf806-1ab9-4d5d-af5f-0f7fdd234604",
"TaxIDF": "026a199c-7650-4a6e-9366-4e83a6073d4c",
"TaxName": "sample string 3",
"TaxPercentage": 4.0,
"TaxAmount": 5.0
},
{
"OrderTaxIDP": "dfdbf806-1ab9-4d5d-af5f-0f7fdd234604",
"TaxIDF": "026a199c-7650-4a6e-9366-4e83a6073d4c",
"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": "093f10d4-ffe6-42ba-8b32-75fd83cb0c9a",
"PaymentGatewaySettingID": "2fdfe3d4-e34e-4ea0-8cc1-12898332020f",
"TableNo": "sample string 22",
"PackagingName": "sample string 23",
"SequentialOrderID": "sample string 24",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0,
"RefundDetails": [
{
"RefundIDP": "ba476191-ee47-4878-958b-48b14fc69c4d",
"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": "ba476191-ee47-4878-958b-48b14fc69c4d",
"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. |