POST api/Customer/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": "546237ab-a60d-4941-a5c2-2b065b4c10e5",
"OrderDetailID": "c0eed7e8-e5d7-46e4-885c-be661f73ab6c",
"CustomerID": "5a8014e3-54bc-43de-846a-07733200a56b",
"RuleID": "20c18de1-3514-429e-9abd-27ea59908661",
"UserID": "d25b51f6-f41b-42f4-8a3e-c89890cdfdea"
}
application/xml, text/xml
Sample:
<POSApplyLoyaltyToOrderDetailRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>5a8014e3-54bc-43de-846a-07733200a56b</CustomerID> <OrderDetailID>c0eed7e8-e5d7-46e4-885c-be661f73ab6c</OrderDetailID> <OrderID>546237ab-a60d-4941-a5c2-2b065b4c10e5</OrderID> <RuleID>20c18de1-3514-429e-9abd-27ea59908661</RuleID> <UserID>d25b51f6-f41b-42f4-8a3e-c89890cdfdea</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. |