GET v1/Coupon/{CouponName}

Gets the Coupon Code based on the Coupon Name

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CouponName

string

Required

Body Parameters

None.

Response Information

Resource Description

CouponOutput
NameDescriptionTypeAdditional information
id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1
}

text/html

Sample:
{"id":1}

application/xml, text/xml

Sample:
<v1_Campaign_CouponEndpointController.CouponOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Campaign_CouponEndpoint">
  <id>1</id>
</v1_Campaign_CouponEndpointController.CouponOutput>