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": "adb77bc4-a647-4918-a22b-b55a76052d1c",
"OrderDetailID": "1756aabc-333c-41bf-81c2-f09b01901994",
"CustomerID": "f63434d4-6473-4b0d-b692-c7907f6a1a13",
"RuleID": "528ba924-de79-4fce-b6da-3da11fae83a7",
"UserID": "00eef3e1-8568-4f1b-8b50-923b4725c500"
}
application/xml, text/xml
Sample:
<POSApplyLoyaltyToOrderDetailRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>f63434d4-6473-4b0d-b692-c7907f6a1a13</CustomerID> <OrderDetailID>1756aabc-333c-41bf-81c2-f09b01901994</OrderDetailID> <OrderID>adb77bc4-a647-4918-a22b-b55a76052d1c</OrderID> <RuleID>528ba924-de79-4fce-b6da-3da11fae83a7</RuleID> <UserID>00eef3e1-8568-4f1b-8b50-923b4725c500</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. |