获取仓库
<p><strong>简要描述:</strong> </p>
<ul>
<li>--获取仓库所有记录或者某条记录</li>
</ul>
<p><strong>请求URL:</strong>
<a href="https://xx.com:9054/Ware_BillSet/GetDepot">https://xx.com:9054/Ware_BillSet/GetDepot</a>
<a href="http://xx.com:8054/Ware_BillSet/GetDepot">http://xx.com:8054/Ware_BillSet/GetDepot</a></p>
<p><strong>请求方式:</strong></p>
<ul>
<li>Get|Post</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">AppToken</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>可为空主要用来做验证使用的</td>
</tr>
<tr>
<td style="text-align: left;">ShopsId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>门店编码</td>
</tr>
<tr>
<td style="text-align: left;">Code</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>不传或者为空查询所有,否则查询当前记录</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;error&quot;: 0,
&quot;Comment&quot;:&quot;=1 错误说明&quot;
&quot;Value&quot;:
[
{
DepotCode:编号
DepotName:名称
DepotType:0=实体仓库 1=非盘点仓库 2=期初归零仓库 3=虚拟仓库
DepotLevel:0=部门 1=仓库
Comment:备注
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>说明:
error=0 成功
error=1 Comment=错误原因</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>