获取货品列表
简要描述:
- --获取货品列表
请求URL: https://xx.com:9054/WH_Ware_Goods/getGoodsList http://xx.com:8054/WH_Ware_Goods/getGoodsList
请求方式:
- Get;Post
参数: 用户验证参数不作特别标注
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
shopsid | 是 | string | 门店编码 |
groupid | 是 | string | 集团码 |
ctype | 是 | string | 查询类型(0:所有可见,1:门店自有) |
goodscate | 否 | string | 类型编码 |
suppliercode | 否 | string | 供应商编码 |
goodscode | 否 | string | 货品编码(查单个时传) |
keys | 否 | string | 关键字查询(货品编码、货品名称、简码模糊查询) |
page | 否 | string | 页码(不传或传0 不分页) |
pagesize | 否 | string | 每页条数 |
返回示例
{ "error": 0, "Comment": "操作成功!", "Value": "[{\"goodscate\":\"004\",\"goodscode\":\"R0040040006\",\"goodsname\":\"火龙果\",\"standard\":null,\"shortkey\":\"HLG\",\"unit\":\"斤\",\"salesratio\":1,\"planprice\":80.0000,\"suppliercode\":\"R0003333333333333333\",\"recprice\":0.0000,\"dispatchprice\":2.0000,\"isheadquarter\":\"1\",\"isvisible\":null,\"isenabled\":true,\"shelfllife\":20,\"comment\":null,\"inventorytype\":\"1\",\"attribute\":\"2\",\"isuseforspecial\":null},{\"goodscate\":\"0906\",\"goodscode\":\"R00040001\",\"goodsname\":\"华为手机\",\"standard\":null,\"shortkey\":\"HWSJ\",\"unit\":\"台\",\"salesratio\":1,\"planprice\":0.0000,\"suppliercode\":\"R0002\",\"recprice\":0.0000,\"dispatchprice\":0.0000,\"isheadquarter\":\"1\",\"isvisible\":true,\"isenabled\":true,\"shelfllife\":null,\"comment\":null,\"inventorytype\":\"1\",\"attribute\":\"0\",\"isuseforspecial\":null},{\"goodscate\":\"0911\",\"goodscode\":\"R00010038\",\"goodsname\":\"易方学姐\",\"standard\":null,\"shortkey\":\"YFXJ\",\"unit\":\"达\",\"salesratio\":1,\"planprice\":0.0000,\"suppliercode\":null,\"recprice\":45.0000,\"dispatchprice\":0.0000,\"isheadquarter\":\"1\",\"isvisible\":true,\"isenabled\":true,\"shelfllife\":null,\"comment\":null,\"inventorytype\":\"1\",\"attribute\":\"0\",\"isuseforspecial\":null}]", "count": 167 }
返回参数说明
参数名 | 类型 | 说明 |
---|
说明: error=0 成功 error=1 Comment=错误原因
count分页时传回总条数
- 更多返回错误代码请看首页的错误代码描述