GET api/Loyalty/GetPromoCode?customerId={customerId}&promotionDiscountId={promotionDiscountId}&endDateDaysOffset={endDateDaysOffset}&codeUsageLimit={codeUsageLimit}&codeLength={codeLength}&codePrefix={codePrefix}&startDateDaysOffset={startDateDaysOffset}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.