# stock.getDetailList 仓库库存查询接口
# 详细描述
返回各仓库中商品库存
# 应用级参数
| 参数名称 | 是否必要 | 类型 | 示例 | 描述 |
| product_bn | 否 | string | 货号 | |
| branch_bn | 否 | string | 仓库编码 | |
| page_no | 否 | number | 1 | 页码 |
| page_size | 否 | number | 100 | 每页数量 |
# 返回结果
注意: 已经做过特殊字符处理的字段如下: product_bn, product_name, product_spec, branch_bn, branch_name
#####XML数据,例: 成功
<response>
<lists>
<store>50</store>
<store_freeze>0</store_freeze>
<store_in_transit>0</store_in_transit>
<product_bn>
<![CDATA[h002]]>
</product_bn>
<product_name>
<![CDATA[仙剑奇侠传6]]>
</product_name>
<product_spec>
<![CDATA[]]>
</product_spec>
<branch_bn>
<![CDATA[csck001]]>
</branch_bn>
<branch_name>
<![CDATA[测试仓库111]]>
</branch_name>
<store>100</store>
<store_freeze>0</store_freeze>
<store_in_transit>0</store_in_transit>
<product_bn>
<![CDATA[h002]]>
</product_bn>
<product_name>
<![CDATA[仙剑奇侠传6]]>
</product_name>
<product_spec>
<![CDATA[]]>
</product_spec>
<branch_bn>
<![CDATA[xck0101]]>
</branch_bn>
<branch_name>
<![CDATA[新仓库测试]]>
</branch_name>
</lists>
<count>2</count>
</response>
#####json数据,例: 成功
{
"response": {
"lists": {
"1": {
"store": "50",
"store_freeze": "0",
"store_in_transit": "0",
"product_bn": "h002",
"product_name": "仙剑奇侠传6",
"product_spec": "",
"branch_bn": "csck001",
"branch_name": "测试仓库111"
},
"2": {
"store": "100",
"store_freeze": "0",
"store_in_transit": "0",
"product_bn": "h002",
"product_name": "仙剑奇侠传6",
"product_spec": "",
"branch_bn": "xck0101",
"branch_name": "新仓库测试"
},
},
"count": 2
}
}