POST api/voucher/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": "0047a34c-2616-4fb6-a773-124cdec62c11",
"RestaurantID": "af083032-3d69-47ed-bcb3-50d5d385af77",
"OrderID": "5fe4de6c-ce7c-4803-a02d-22ea2f3ca1b3",
"VoucherRedemptionHistoryID": "5d90f843-7569-45ac-afca-05757f83d065"
}
application/xml, text/xml
Sample:
<POSApplyCustomerVouchersRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>0047a34c-2616-4fb6-a773-124cdec62c11</CustomerID> <OrderID>5fe4de6c-ce7c-4803-a02d-22ea2f3ca1b3</OrderID> <RestaurantID>af083032-3d69-47ed-bcb3-50d5d385af77</RestaurantID> <VoucherRedemptionHistoryID>5d90f843-7569-45ac-afca-05757f83d065</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. |