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": "a67ddb5a-84de-496b-a931-c1b20c8c73f1",
"RestaurantID": "54df0c60-ede5-4968-ad3e-6bb961903be7",
"OrderID": "3ad1eaf8-91e3-462d-bbea-a66e95a0ed8f",
"VoucherRedemptionHistoryID": "3ae5ace5-af0a-4a11-aca3-ad1ad615396a"
}
application/xml, text/xml
Sample:
<POSApplyCustomerVouchersRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>a67ddb5a-84de-496b-a931-c1b20c8c73f1</CustomerID> <OrderID>3ad1eaf8-91e3-462d-bbea-a66e95a0ed8f</OrderID> <RestaurantID>54df0c60-ede5-4968-ad3e-6bb961903be7</RestaurantID> <VoucherRedemptionHistoryID>3ae5ace5-af0a-4a11-aca3-ad1ad615396a</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. |