POST api/AppOffers/applyLoyaltyToOrderDetail
Request Information
URI Parameters
None.
Body Parameters
POSApplyLoyaltyToOrderDetailRequestClass| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | globally unique identifier |
None. |
|
| OrderDetailID | globally unique identifier |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| RuleID | globally unique identifier |
None. |
|
| UserID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "64d031ea-41a4-4134-851e-c96297740945",
"OrderDetailID": "9fac6eb6-4ed6-4ba9-9f54-01cc3470585c",
"CustomerID": "f6153298-dbd3-4149-afd2-66c760ead607",
"RuleID": "ccc1d185-f358-4c43-bed6-c993599c469a",
"UserID": "3425e66a-7d71-4f03-a9fa-7717bc238175"
}
application/xml, text/xml
Sample:
<POSApplyLoyaltyToOrderDetailRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>f6153298-dbd3-4149-afd2-66c760ead607</CustomerID> <OrderDetailID>9fac6eb6-4ed6-4ba9-9f54-01cc3470585c</OrderDetailID> <OrderID>64d031ea-41a4-4134-851e-c96297740945</OrderID> <RuleID>ccc1d185-f358-4c43-bed6-c993599c469a</RuleID> <UserID>3425e66a-7d71-4f03-a9fa-7717bc238175</UserID> </POSApplyLoyaltyToOrderDetailRequestClass>
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. |