GET api/Couponm?shopid={shopid}&state={state}&userid={userid}&money={money}&pageIndex={pageIndex}&pageSize={pageSize}
券列表[用户可用券列表]
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
shopid |
店 |
string |
Required |
state |
类型0-未开始1-进行中2-已失效 |
string |
Required |
userid |
用户 |
string |
Required |
money |
订单金额 |
decimal number |
Required |
pageIndex |
页 |
integer |
Required |
pageSize |
页长度 |
integer |
Required |
Body 参数
None.
响应信息
响应描述
券列表
Collection of cCouponu参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
couponid | integer |
None. |
|
couponnm | string |
None. |
|
coupontype | string |
None. |
|
price | decimal number |
None. |
|
minprice | decimal number |
None. |
|
stardt | string |
None. |
|
stopdt | string |
None. |
|
getdt | string |
None. |
|
supperttype | string |
None. |
|
isnew | string |
None. |
|
ispassing | string |
None. |
|
state | string |
None. |
|
couponno | string |
None. |
|
outerno | string |
None. |
|
orderno | string |
None. |
|
userrange | string |
None. |
|
userrangeexp | string |
None. |
响应格式
application/json, text/json
Sample:
[ { "_Couponid": 1, "_CouponNM": "sample string 2", "_CouponType": "sample string 3", "_Price": 4.0, "_MinPrice": 5.0, "_Stardt": "sample string 6", "_Stopdt": "sample string 7", "_Getdt": "sample string 8", "_SuppertType": "sample string 9", "_ISNew": "sample string 10", "_ISPassing": "sample string 11", "_State": "sample string 12", "_CouponNO": "sample string 13", "_OuterNO": "sample string 14", "_OrderNO": "sample string 15", "_UserRange": "sample string 16", "_UserRangeExp": "sample string 17" }, { "_Couponid": 1, "_CouponNM": "sample string 2", "_CouponType": "sample string 3", "_Price": 4.0, "_MinPrice": 5.0, "_Stardt": "sample string 6", "_Stopdt": "sample string 7", "_Getdt": "sample string 8", "_SuppertType": "sample string 9", "_ISNew": "sample string 10", "_ISPassing": "sample string 11", "_State": "sample string 12", "_CouponNO": "sample string 13", "_OuterNO": "sample string 14", "_OrderNO": "sample string 15", "_UserRange": "sample string 16", "_UserRangeExp": "sample string 17" } ]
text/html
Sample:
[{"_Couponid":1,"_CouponNM":"sample string 2","_CouponType":"sample string 3","_Price":4.0,"_MinPrice":5.0,"_Stardt":"sample string 6","_Stopdt":"sample string 7","_Getdt":"sample string 8","_SuppertType":"sample string 9","_ISNew":"sample string 10","_ISPassing":"sample string 11","_State":"sample string 12","_CouponNO":"sample string 13","_OuterNO":"sample string 14","_OrderNO":"sample string 15","_UserRange":"sample string 16","_UserRangeExp":"sample string 17"},{"_Couponid":1,"_CouponNM":"sample string 2","_CouponType":"sample string 3","_Price":4.0,"_MinPrice":5.0,"_Stardt":"sample string 6","_Stopdt":"sample string 7","_Getdt":"sample string 8","_SuppertType":"sample string 9","_ISNew":"sample string 10","_ISPassing":"sample string 11","_State":"sample string 12","_CouponNO":"sample string 13","_OuterNO":"sample string 14","_OrderNO":"sample string 15","_UserRange":"sample string 16","_UserRangeExp":"sample string 17"}]