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": "9d1b902f-11fb-4e26-ae05-0e9a061d71cb",
"RestaurantID": "ac0138a1-b8d4-484a-82ce-29d952b794f9",
"OrderID": "154b0ced-c09c-4971-a3e2-342db57d9761",
"VoucherRedemptionHistoryID": "c87f6ab6-204d-4a08-9132-0569669465e7"
}
application/xml, text/xml
Sample:
<POSApplyCustomerVouchersRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>9d1b902f-11fb-4e26-ae05-0e9a061d71cb</CustomerID> <OrderID>154b0ced-c09c-4971-a3e2-342db57d9761</OrderID> <RestaurantID>ac0138a1-b8d4-484a-82ce-29d952b794f9</RestaurantID> <VoucherRedemptionHistoryID>c87f6ab6-204d-4a08-9132-0569669465e7</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. |