POST api/AppOffers/reverseCustomerVoucher
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": "ad4311e9-2f60-4c73-a8c7-9e170572aec6",
"RestaurantID": "e580d6db-9aca-4f9c-8188-a54d40a6ad59",
"OrderID": "07f02806-0a61-4671-8da5-30f447b88a36",
"VoucherRedemptionHistoryID": "50ab2506-3a67-49d0-980c-1f4eea2a2f6f"
}
application/xml, text/xml
Sample:
<POSApplyCustomerVouchersRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>ad4311e9-2f60-4c73-a8c7-9e170572aec6</CustomerID> <OrderID>07f02806-0a61-4671-8da5-30f447b88a36</OrderID> <RestaurantID>e580d6db-9aca-4f9c-8188-a54d40a6ad59</RestaurantID> <VoucherRedemptionHistoryID>50ab2506-3a67-49d0-980c-1f4eea2a2f6f</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. |