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": "a7044c8e-a86c-469b-a78a-8155f4cbcfcd",
"RestaurantID": "311b805a-43ad-4f22-82de-671edb033242",
"OrderID": "0c15d988-04a9-4ec0-b04b-52312eb11413",
"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>a7044c8e-a86c-469b-a78a-8155f4cbcfcd</CustomerID> <OrderID>0c15d988-04a9-4ec0-b04b-52312eb11413</OrderID> <RedeemPoints>4</RedeemPoints> <RestaurantID>311b805a-43ad-4f22-82de-671edb033242</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. |