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": "86092485-d230-43b0-a199-210be6499d37",
"OrderDetailID": "0a914fc2-d54c-4353-b06b-2c8977972db9",
"CustomerID": "9474703a-b026-4192-aa59-0b9c6b1241e1",
"RuleID": "0f918d95-b1fb-4d5a-98ab-63d18a1ce04a",
"UserID": "8fafbd7e-649e-40d8-955d-a92583d177a4"
}
application/xml, text/xml
Sample:
<POSApplyLoyaltyToOrderDetailRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <CustomerID>9474703a-b026-4192-aa59-0b9c6b1241e1</CustomerID> <OrderDetailID>0a914fc2-d54c-4353-b06b-2c8977972db9</OrderDetailID> <OrderID>86092485-d230-43b0-a199-210be6499d37</OrderID> <RuleID>0f918d95-b1fb-4d5a-98ab-63d18a1ce04a</RuleID> <UserID>8fafbd7e-649e-40d8-955d-a92583d177a4</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. |