GET api/Coupon/GetCouponDetailsByCouponCode?couponcode={couponcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
couponcode

string

Required

Body Parameters

None.

Response Information

Resource Description

Coupon
NameDescriptionTypeAdditional information
Coupon_Id

integer

None.

Code

string

None.

DiscountPercentage

integer

None.

Count

integer

None.

FromDate

string

None.

ToDate

string

None.

MinimumAmount

decimal number

None.

MaximumAmount

decimal number

None.

UserCount

string

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Coupon_Id": 1,
  "Code": "sample string 2",
  "DiscountPercentage": 3,
  "Count": 4,
  "FromDate": "sample string 5",
  "ToDate": "sample string 6",
  "MinimumAmount": 7.0,
  "MaximumAmount": 8.0,
  "UserCount": "sample string 9",
  "Status": "sample string 10"
}

application/octet-stream

Sample:
{"$id":"1","Coupon_Id":1,"Code":"sample string 2","DiscountPercentage":3,"Count":4,"FromDate":"sample string 5","ToDate":"sample string 6","MinimumAmount":7.0,"MaximumAmount":8.0,"UserCount":"sample string 9","Status":"sample string 10"}