GET api/GoodsWX?shopID={shopID}&userID={userID}&barCode={barCode}&isBar={isBar}
查询商品信息
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
shopID |
店代码 |
string |
Required |
userID |
用户ID |
string |
Required |
barCode |
代码/条码 |
string |
Required |
isBar |
是否条码(0-代码1-条码) |
string |
Required |
Body 参数
None.
响应信息
响应描述
Collection of cGoodsWX参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
GoodsID | string |
None. |
|
GoodsNM | string |
None. |
|
GoodsUrl | string |
None. |
|
SPrice | decimal number |
None. |
|
SPPrice | decimal number |
None. |
|
SNum | decimal number |
None. |
|
TAMoney | decimal number |
None. |
|
PNum | integer |
None. |
|
SMNum | decimal number |
None. |
|
ElectrFlag | string |
None. |
|
Remark | string |
None. |
|
Specs | string |
None. |
|
Parea | string |
None. |
|
KeepDays | integer |
None. |
|
Barcode | string |
None. |
响应格式
application/json, text/json
Sample:
[ { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_GoodsUrl": "sample string 3", "_SPrice": 4.0, "_SPPrice": 5.0, "_SNum": 6.0, "_TAMoney": 7.0, "_PNum": 8, "_SMNum": 9.0, "_ElectrFlag": "sample string 10", "_Remark": "sample string 11", "_Specs": "sample string 12", "_Parea": "sample string 13", "_KeepDays": 14, "_Barcode": "sample string 15" }, { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_GoodsUrl": "sample string 3", "_SPrice": 4.0, "_SPPrice": 5.0, "_SNum": 6.0, "_TAMoney": 7.0, "_PNum": 8, "_SMNum": 9.0, "_ElectrFlag": "sample string 10", "_Remark": "sample string 11", "_Specs": "sample string 12", "_Parea": "sample string 13", "_KeepDays": 14, "_Barcode": "sample string 15" } ]
text/html
Sample:
[{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_GoodsUrl":"sample string 3","_SPrice":4.0,"_SPPrice":5.0,"_SNum":6.0,"_TAMoney":7.0,"_PNum":8,"_SMNum":9.0,"_ElectrFlag":"sample string 10","_Remark":"sample string 11","_Specs":"sample string 12","_Parea":"sample string 13","_KeepDays":14,"_Barcode":"sample string 15"},{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_GoodsUrl":"sample string 3","_SPrice":4.0,"_SPPrice":5.0,"_SNum":6.0,"_TAMoney":7.0,"_PNum":8,"_SMNum":9.0,"_ElectrFlag":"sample string 10","_Remark":"sample string 11","_Specs":"sample string 12","_Parea":"sample string 13","_KeepDays":14,"_Barcode":"sample string 15"}]