GET api/Coupon/GetAllCoupons
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CouponName | Description | Type | Additional 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:
[ { "$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" }, { "$ref": "1" } ]
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"},{"$ref":"1"}]