GET api/Goodsc?shopID={shopID}&barCode={barCode}&canSale={canSale}
商品列表.按页
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
shopID |
门店 |
string |
Required |
barCode |
条码 |
string |
Required |
canSale |
状态0-未上架,1-上架,2-无库存,A-所有 |
string |
Required |
Body 参数
None.
响应信息
响应描述
商品列表
Collection of cGoodsc参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
GoodsID | string |
None. |
|
GoodsNM | string |
None. |
|
Barcode | string |
None. |
|
GoodsUrl | string |
None. |
|
SPrice | decimal number |
None. |
|
SPPrice | decimal number |
None. |
|
PRate | decimal number |
None. |
|
Remark | string |
None. |
|
Specs | string |
None. |
|
SUnit | string |
None. |
|
Parea | string |
None. |
|
Cansale | string |
None. |
|
isRecommend | string |
None. |
|
SMNum | decimal number |
None. |
|
SaleNum | decimal number |
None. |
|
CollectNum | integer |
None. |
响应格式
application/json, text/json
Sample:
[ { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_Barcode": "sample string 3", "_GoodsUrl": "sample string 4", "_SPrice": 5.0, "_SPPrice": 6.0, "_PRate": 7.0, "_Remark": "sample string 8", "_Specs": "sample string 9", "_SUnit": "sample string 10", "_Parea": "sample string 11", "_Cansale": "sample string 12", "_isRecommend": "sample string 13", "_SMNum": 14.0, "_SaleNum": 15.0, "_CollectNum": 16 }, { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_Barcode": "sample string 3", "_GoodsUrl": "sample string 4", "_SPrice": 5.0, "_SPPrice": 6.0, "_PRate": 7.0, "_Remark": "sample string 8", "_Specs": "sample string 9", "_SUnit": "sample string 10", "_Parea": "sample string 11", "_Cansale": "sample string 12", "_isRecommend": "sample string 13", "_SMNum": 14.0, "_SaleNum": 15.0, "_CollectNum": 16 } ]
text/html
Sample:
[{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_Barcode":"sample string 3","_GoodsUrl":"sample string 4","_SPrice":5.0,"_SPPrice":6.0,"_PRate":7.0,"_Remark":"sample string 8","_Specs":"sample string 9","_SUnit":"sample string 10","_Parea":"sample string 11","_Cansale":"sample string 12","_isRecommend":"sample string 13","_SMNum":14.0,"_SaleNum":15.0,"_CollectNum":16},{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_Barcode":"sample string 3","_GoodsUrl":"sample string 4","_SPrice":5.0,"_SPPrice":6.0,"_PRate":7.0,"_Remark":"sample string 8","_Specs":"sample string 9","_SUnit":"sample string 10","_Parea":"sample string 11","_Cansale":"sample string 12","_isRecommend":"sample string 13","_SMNum":14.0,"_SaleNum":15.0,"_CollectNum":16}]