GET api/Couponm?state={state}&userid={userid}&pageIndex={pageIndex}&pageSize={pageSize}
券列表[用户领券]
请求信息
URI 参数
| 参数 | 参数描述 | 类型 | 其它信息 |
|---|---|---|---|
| state |
类型0-未开始1-进行中2-已失效 |
string |
Required |
| userid |
用户 |
string |
Required |
| pageIndex |
页 |
integer |
Required |
| pageSize |
页长度 |
integer |
Required |
Body 参数
None.
响应信息
响应描述
券列表
Collection of cCouponm| 参数 | 参数描述 | 类型 | 其它信息 |
|---|---|---|---|
| couponid | integer |
None. |
|
| couponnm | string |
None. |
|
| coupontype | string |
None. |
|
| price | decimal number |
None. |
|
| minprice | decimal number |
None. |
|
| limitnum | integer |
None. |
|
| smnum | integer |
None. |
|
| stardt | string |
None. |
|
| stopdt | string |
None. |
|
| supperttype | string |
None. |
|
| selfuse | string |
None. |
|
| selfget | string |
None. |
|
| showhome | string |
None. |
|
| present | string |
None. |
|
| presentfee | decimal number |
None. |
|
| state | string |
None. |
|
| gotednum | integer |
None. |
|
| userednum | integer |
None. |
响应格式
application/json, text/json
Sample:
[
{
"_Couponid": 1,
"_CouponNM": "sample string 2",
"_CouponType": "sample string 3",
"_Price": 4.0,
"_MinPrice": 5.0,
"_LimitNum": 6,
"_SMNum": 7,
"_Stardt": "sample string 8",
"_Stopdt": "sample string 9",
"_SuppertType": "sample string 10",
"_SelfUse": "sample string 11",
"_SelfGet": "sample string 12",
"_ShowHome": "sample string 13",
"_Present": "sample string 14",
"_PresentFee": 15.0,
"_State": "sample string 16",
"_GotedNum": 17,
"_UseredNum": 18
},
{
"_Couponid": 1,
"_CouponNM": "sample string 2",
"_CouponType": "sample string 3",
"_Price": 4.0,
"_MinPrice": 5.0,
"_LimitNum": 6,
"_SMNum": 7,
"_Stardt": "sample string 8",
"_Stopdt": "sample string 9",
"_SuppertType": "sample string 10",
"_SelfUse": "sample string 11",
"_SelfGet": "sample string 12",
"_ShowHome": "sample string 13",
"_Present": "sample string 14",
"_PresentFee": 15.0,
"_State": "sample string 16",
"_GotedNum": 17,
"_UseredNum": 18
}
]
text/html
Sample:
[{"_Couponid":1,"_CouponNM":"sample string 2","_CouponType":"sample string 3","_Price":4.0,"_MinPrice":5.0,"_LimitNum":6,"_SMNum":7,"_Stardt":"sample string 8","_Stopdt":"sample string 9","_SuppertType":"sample string 10","_SelfUse":"sample string 11","_SelfGet":"sample string 12","_ShowHome":"sample string 13","_Present":"sample string 14","_PresentFee":15.0,"_State":"sample string 16","_GotedNum":17,"_UseredNum":18},{"_Couponid":1,"_CouponNM":"sample string 2","_CouponType":"sample string 3","_Price":4.0,"_MinPrice":5.0,"_LimitNum":6,"_SMNum":7,"_Stardt":"sample string 8","_Stopdt":"sample string 9","_SuppertType":"sample string 10","_SelfUse":"sample string 11","_SelfGet":"sample string 12","_ShowHome":"sample string 13","_Present":"sample string 14","_PresentFee":15.0,"_State":"sample string 16","_GotedNum":17,"_UseredNum":18}]