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. |
|
datetype | string |
None. |
|
stardt | string |
None. |
|
stopdt | string |
None. |
|
fixedterm | integer |
None. |
|
fixedbegin | integer |
None. |
|
supperttype | string |
None. |
|
selfuse | string |
None. |
|
selfget | string |
None. |
|
showhome | string |
None. |
|
present | string |
None. |
|
presentfee | decimal number |
None. |
|
state | string |
None. |
|
spcanuse | string |
None. |
|
userrange | string |
None. |
|
userrangeexp | 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, "_DateType": "sample string 8", "_Stardt": "sample string 9", "_Stopdt": "sample string 10", "_FixedTerm": 11, "_FixedBegin": 12, "_SuppertType": "sample string 13", "_SelfUse": "sample string 14", "_SelfGet": "sample string 15", "_ShowHome": "sample string 16", "_Present": "sample string 17", "_PresentFee": 18.0, "_State": "sample string 19", "_SPCanUse": "sample string 20", "_UserRange": "sample string 21", "_UserRangeExp": "sample string 22", "_GotedNum": 23, "_UseredNum": 24 }, { "_Couponid": 1, "_CouponNM": "sample string 2", "_CouponType": "sample string 3", "_Price": 4.0, "_MinPrice": 5.0, "_LimitNum": 6, "_SMNum": 7, "_DateType": "sample string 8", "_Stardt": "sample string 9", "_Stopdt": "sample string 10", "_FixedTerm": 11, "_FixedBegin": 12, "_SuppertType": "sample string 13", "_SelfUse": "sample string 14", "_SelfGet": "sample string 15", "_ShowHome": "sample string 16", "_Present": "sample string 17", "_PresentFee": 18.0, "_State": "sample string 19", "_SPCanUse": "sample string 20", "_UserRange": "sample string 21", "_UserRangeExp": "sample string 22", "_GotedNum": 23, "_UseredNum": 24 } ]
text/html
Sample:
[{"_Couponid":1,"_CouponNM":"sample string 2","_CouponType":"sample string 3","_Price":4.0,"_MinPrice":5.0,"_LimitNum":6,"_SMNum":7,"_DateType":"sample string 8","_Stardt":"sample string 9","_Stopdt":"sample string 10","_FixedTerm":11,"_FixedBegin":12,"_SuppertType":"sample string 13","_SelfUse":"sample string 14","_SelfGet":"sample string 15","_ShowHome":"sample string 16","_Present":"sample string 17","_PresentFee":18.0,"_State":"sample string 19","_SPCanUse":"sample string 20","_UserRange":"sample string 21","_UserRangeExp":"sample string 22","_GotedNum":23,"_UseredNum":24},{"_Couponid":1,"_CouponNM":"sample string 2","_CouponType":"sample string 3","_Price":4.0,"_MinPrice":5.0,"_LimitNum":6,"_SMNum":7,"_DateType":"sample string 8","_Stardt":"sample string 9","_Stopdt":"sample string 10","_FixedTerm":11,"_FixedBegin":12,"_SuppertType":"sample string 13","_SelfUse":"sample string 14","_SelfGet":"sample string 15","_ShowHome":"sample string 16","_Present":"sample string 17","_PresentFee":18.0,"_State":"sample string 19","_SPCanUse":"sample string 20","_UserRange":"sample string 21","_UserRangeExp":"sample string 22","_GotedNum":23,"_UseredNum":24}]