GET api/PreSales?shopid={shopid}&state={state}&pageIndex={pageIndex}&pageSize={pageSize}
预售商品列表
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
shopid |
店代码 |
string |
Required |
state |
类型0-未启用1-预售中2-已完成9-已终止 |
string |
Required |
pageIndex |
页 |
integer |
Required |
pageSize |
页长度 |
integer |
Required |
Body 参数
None.
响应信息
响应描述
预售商品列表
Collection of cSpellGoods参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
shopid | string |
None. |
|
spellid | integer |
None. |
|
spellnm | string |
None. |
|
spelldesc | string |
None. |
|
goodsid | string |
None. |
|
goodsnm | string |
None. |
|
sprice | decimal number |
None. |
|
goodsurl | string |
None. |
|
spprice | decimal number |
None. |
|
minnum | integer |
None. |
|
maxnum | integer |
None. |
|
stardt | string |
None. |
|
stopdt | string |
None. |
|
state | string |
None. |
|
groupnum | integer |
None. |
|
oknum | integer |
None. |
|
ordernum | integer |
None. |
|
snum | decimal number |
None. |
响应格式
application/json, text/json
Sample:
[ { "_ShopID": "sample string 1", "_Spellid": 2, "_SpellNM": "sample string 3", "_SpellDesc": "sample string 4", "_GoodsID": "sample string 5", "_GoodsNM": "sample string 6", "_SPrice": 7.0, "_GoodsUrl": "sample string 8", "_SPPrice": 9.0, "_MinNum": 10, "_MaxNum": 11, "_Stardt": "sample string 12", "_Stopdt": "sample string 13", "_State": "sample string 14", "_GroupNum": 15, "_OkNum": 16, "_OrderNum": 17, "_SNum": 18.0 }, { "_ShopID": "sample string 1", "_Spellid": 2, "_SpellNM": "sample string 3", "_SpellDesc": "sample string 4", "_GoodsID": "sample string 5", "_GoodsNM": "sample string 6", "_SPrice": 7.0, "_GoodsUrl": "sample string 8", "_SPPrice": 9.0, "_MinNum": 10, "_MaxNum": 11, "_Stardt": "sample string 12", "_Stopdt": "sample string 13", "_State": "sample string 14", "_GroupNum": 15, "_OkNum": 16, "_OrderNum": 17, "_SNum": 18.0 } ]
text/html
Sample:
[{"_ShopID":"sample string 1","_Spellid":2,"_SpellNM":"sample string 3","_SpellDesc":"sample string 4","_GoodsID":"sample string 5","_GoodsNM":"sample string 6","_SPrice":7.0,"_GoodsUrl":"sample string 8","_SPPrice":9.0,"_MinNum":10,"_MaxNum":11,"_Stardt":"sample string 12","_Stopdt":"sample string 13","_State":"sample string 14","_GroupNum":15,"_OkNum":16,"_OrderNum":17,"_SNum":18.0},{"_ShopID":"sample string 1","_Spellid":2,"_SpellNM":"sample string 3","_SpellDesc":"sample string 4","_GoodsID":"sample string 5","_GoodsNM":"sample string 6","_SPrice":7.0,"_GoodsUrl":"sample string 8","_SPPrice":9.0,"_MinNum":10,"_MaxNum":11,"_Stardt":"sample string 12","_Stopdt":"sample string 13","_State":"sample string 14","_GroupNum":15,"_OkNum":16,"_OrderNum":17,"_SNum":18.0}]