GET api/Coupon?vOnlineConsultationCoupon={vOnlineConsultationCoupon}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vOnlineConsultationCoupon | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CouponSC| Name | Description | Type | Additional information |
|---|---|---|---|
| CouponId | integer |
None. |
|
| CouponCode | string |
String length: inclusive between 6 and 16 |
|
| CouponAmount | string |
None. |
|
| CouponMinimumOrderAmount | string |
None. |
|
| CouponDiscount | string |
Range: inclusive between 0 and 100 |
|
| CouponExpiryDate | string |
None. |
|
| CouponDescription | string |
None. |
|
| CouponType | string |
None. |
|
| CouponImgUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"CouponId": 1,
"CouponCode": "sample string 2",
"CouponAmount": "sample string 3",
"CouponMinimumOrderAmount": "sample string 4",
"CouponDiscount": "sample string 5",
"CouponExpiryDate": "sample string 6",
"CouponDescription": "sample string 7",
"CouponType": "sample string 8",
"CouponImgUrl": "sample string 9"
},
{
"$ref": "1"
}
]