GET api/Loyalty/GetPromoCode?customerId={customerId}&promotionDiscountId={promotionDiscountId}&endDateDaysOffset={endDateDaysOffset}&codeUsageLimit={codeUsageLimit}&codeLength={codeLength}&codePrefix={codePrefix}&startDateDaysOffset={startDateDaysOffset}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
|
| promotionDiscountId | integer |
Required |
|
| endDateDaysOffset | integer |
Required |
|
| codeUsageLimit | integer |
Required |
|
| codeLength | integer |
Required |
|
| codePrefix | string |
Required |
|
| startDateDaysOffset | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.