GET api/Customer/GetLoyaltyPromoCodeUnusedByCode?code={code}&customerID={customerID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
|
| customerID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
APIOrderOnlineResultOfLoyaltyPromoCode| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | LoyaltyPromoCode |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfLoyaltyPromoCode34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase" i:nil="true" /> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>None</ErrorType> <Message>sample string 4</Message> <Success>true</Success> <Total>3</Total> </APIOrderOnlineResultOfLoyaltyPromoCode34ouyJuR>