GET api/promocode/OnContentSet/{isOnContentSet}?supplierId={supplierId}&dealId={dealId}&isNewOne={isNewOne}
Get Promo Code
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supplierId | integer |
Required |
|
| dealId | integer |
Required |
|
| isOnContentSet | boolean |
Required |
|
| isNewOne | boolean |
Default value is False |
Body Parameters
None.
Response Information
Promo Code information
| Name | Description | Type | Additional information |
|---|---|---|---|
| PromoCode |
Promo Code Value |
string |
None. |
| Type |
Type of Promo Code (1 - Uniqe, 2 - Generic) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"promoCode": "sample string 1",
"type": 2
}