POST xuner/bi/synthetical/searchInventory
库存查询接口
请求信息
URI 参数
无。
Body 参数
SyntheticalSearchInventoryRequset| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| code |
输入的数据 |
string |
无。 |
| tm |
是否扫描输入 0手输 1 扫描输入 |
string |
无。 |
| storelist |
店铺列表 支持多个用,分隔 |
string |
无。 |
| brandlist |
品牌列表 支持多个用,分隔 |
string |
无。 |
| othertype6list |
属性6列表 支持多个用,分隔 |
string |
无。 |
| pageNum |
取第几页的数据 |
integer |
无。 |
| PageSize |
每页多少条数据,默认10 |
integer |
无。 |
请求格式
application/json, text/json
样例:
{
"code": "sample string 1",
"tm": "sample string 2",
"storelist": "sample string 3",
"brandlist": "sample string 4",
"othertype6list": "sample string 5",
"pageNum": 6,
"PageSize": 7
}
响应信息
资源描述
库存查询接口
gXopResponseOfListOfsynthetical_searchInventory| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| data | Collection of synthetical_searchInventory |
无。 |
|
| desc |
错误信息 |
string |
无。 |
| result |
响应代码 1 成功 1011 令牌失效 0或其它 请求错误 |
integer |
无。 |
响应格式
application/json, text/json
样例:
{
"data": [
{
"code": "sample string 1",
"name": "sample string 2",
"price": 3.0,
"inventoryNum": 4,
"inAmount": 5.0,
"priceAmount": 6.0
},
{
"code": "sample string 1",
"name": "sample string 2",
"price": 3.0,
"inventoryNum": 4,
"inAmount": 5.0,
"priceAmount": 6.0
}
],
"desc": "sample string 1",
"result": 2
}