POST api/AppOffers/reverseLoyaltyFromOrderDetail
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": "3814c40c-c799-449a-9d5f-c328623955cf",
"OrderDetailID": "f7d29f1e-d8dc-44e9-a936-322b11e07886",
"CustomerID": "b70860b9-3162-4ed4-9a7e-883a29f2233b",
"RuleID": "d45d585d-3bf9-42ad-af77-40c9e6bda1f0",
"UserID": "5ccd49a9-ca25-4ec1-9700-37fb58697bb1"
}
application/xml, text/xml
Sample:
<POSApplyLoyaltyToOrderDetailRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>b70860b9-3162-4ed4-9a7e-883a29f2233b</CustomerID> <OrderDetailID>f7d29f1e-d8dc-44e9-a936-322b11e07886</OrderDetailID> <OrderID>3814c40c-c799-449a-9d5f-c328623955cf</OrderID> <RuleID>d45d585d-3bf9-42ad-af77-40c9e6bda1f0</RuleID> <UserID>5ccd49a9-ca25-4ec1-9700-37fb58697bb1</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. |