POST api/AppOffers/applyCustomerVoucher
Request Information
URI Parameters
None.
Body Parameters
POSApplyCustomerVouchersRequestClass| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | globally unique identifier |
None. |
|
| RestaurantID | globally unique identifier |
None. |
|
| OrderID | globally unique identifier |
None. |
|
| VoucherRedemptionHistoryID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": "b73ac387-c5e9-452c-8df9-61d61e25e700",
"RestaurantID": "f9ef7a86-54cd-4be5-905f-340a67e36479",
"OrderID": "fe8b6a01-b188-4a59-8616-c208daaf8abd",
"VoucherRedemptionHistoryID": "87e3ae15-000e-4bc4-8686-007be2b5eb3e"
}
application/xml, text/xml
Sample:
<POSApplyCustomerVouchersRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>b73ac387-c5e9-452c-8df9-61d61e25e700</CustomerID> <OrderID>fe8b6a01-b188-4a59-8616-c208daaf8abd</OrderID> <RestaurantID>f9ef7a86-54cd-4be5-905f-340a67e36479</RestaurantID> <VoucherRedemptionHistoryID>87e3ae15-000e-4bc4-8686-007be2b5eb3e</VoucherRedemptionHistoryID> </POSApplyCustomerVouchersRequestClass>
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. |