POST api/Customer/ApplyLoyaltyRedemption
Request Information
URI Parameters
None.
Body Parameters
POSLoyaltyPointsApplyRequestClass| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | globally unique identifier |
None. |
|
| RestaurantID | globally unique identifier |
None. |
|
| OrderID | globally unique identifier |
None. |
|
| RedeemPoints | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": "71e38248-0c07-4dac-a65f-18602fc39991",
"RestaurantID": "7ff84ba4-697b-4424-ad44-d1c62e235f26",
"OrderID": "52b63449-e32c-4328-9983-c2a3e014d94b",
"RedeemPoints": 4
}
application/xml, text/xml
Sample:
<POSLoyaltyPointsApplyRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>71e38248-0c07-4dac-a65f-18602fc39991</CustomerID> <OrderID>52b63449-e32c-4328-9983-c2a3e014d94b</OrderID> <RedeemPoints>4</RedeemPoints> <RestaurantID>7ff84ba4-697b-4424-ad44-d1c62e235f26</RestaurantID> </POSLoyaltyPointsApplyRequestClass>
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. |