DMS客户出库查询
<h4><strong>请求路径 URL:</strong></h4>
<ul>
<li><code>/openApi/queryPartsOut</code></li>
</ul>
<h4><strong>请求方式:</strong></h4>
<ul>
<li><code>GET</code></li>
</ul>
<h4><strong>Header 信息:</strong></h4>
<table>
<thead>
<tr>
<th>header 头</th>
<th>值</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>appId</td>
<td>97A3AB74-7B39-4AAF-B3F8-808F484C0987</td>
<td>应用ID</td>
</tr>
<tr>
<td>timestamp</td>
<td>获取当前时间戳</td>
<td>时间戳</td>
</tr>
<tr>
<td>signature</td>
<td>生成请求签名</td>
<td>签名,生成规则见「签名生成规则」</td>
</tr>
</tbody>
</table>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/aefc6970c1ef0b07d0e9294fa536384d" alt="" /><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/9fd14838700e7e65f3061509aa0452f7" alt="" /></p>
<h4><strong>参数:</strong></h4>
<p>> 说明:form-data 格式。</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>是否必选</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>customerID</td>
<td>是</td>
<td>text 文本</td>
<td>erp客户ID</td>
</tr>
<tr>
<td>type</td>
<td>是</td>
<td>text 文本</td>
<td>是否分页 1-不分页 2-分页</td>
</tr>
<tr>
<td>pageIndex</td>
<td>否</td>
<td>text 文本</td>
<td>当前页面</td>
</tr>
<tr>
<td>pageSize</td>
<td>否</td>
<td>text 文本</td>
<td>每页大小</td>
</tr>
<tr>
<td>brandId</td>
<td>否</td>
<td>text 文本</td>
<td>品牌ID,多个使用逗号分隔</td>
</tr>
<tr>
<td>categoryId</td>
<td>否</td>
<td>text 文本</td>
<td>二级品类ID,多个使用逗号分隔</td>
</tr>
<tr>
<td>startTime</td>
<td>是</td>
<td>text 文本</td>
<td>开始时间</td>
</tr>
<tr>
<td>endTime</td>
<td>是</td>
<td>text 文本</td>
<td>结束时间</td>
</tr>
<tr>
<td>goodsName</td>
<td>是</td>
<td>text 文本</td>
<td>商品</td>
</tr>
<tr>
<td>spec</td>
<td>是</td>
<td>text 文本</td>
<td>规格型号</td>
</tr>
<tr>
<td>factoryCode</td>
<td>是</td>
<td>text 文本</td>
<td>出厂编码</td>
</tr>
</tbody>
</table>
<h4><strong>返回值示例:</strong></h4>
<pre><code>{
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [
{
&quot;BrandName&quot;: &quot;发业&quot;,
&quot;SaleQty&quot;: 1.00,
&quot;ShopName&quot;: &quot;众润总店&quot;,
&quot;SalePrice&quot;: 110.0000,
&quot;CostPrice&quot;: 0.0000,
&quot;FirstCategory&quot;: &quot;发动机配气系统&quot;,
&quot;SecondCategory&quot;: &quot;空气滤清器&quot;
},
{
&quot;BrandName&quot;: &quot;耐诺思&quot;,
&quot;SaleQty&quot;: 1.00,
&quot;ShopName&quot;: &quot;众润总店&quot;,
&quot;SalePrice&quot;: 0.0000,
&quot;CostPrice&quot;: 0.0000,
&quot;FirstCategory&quot;: &quot;发动机配气系统&quot;,
&quot;SecondCategory&quot;: &quot;空气滤清器&quot;
},
{
&quot;BrandName&quot;: &quot;凯其士&quot;,
&quot;SaleQty&quot;: 1.00,
&quot;ShopName&quot;: &quot;众润总店&quot;,
&quot;SalePrice&quot;: 54.0000,
&quot;CostPrice&quot;: 55.0000,
&quot;FirstCategory&quot;: &quot;发动机配气系统&quot;,
&quot;SecondCategory&quot;: &quot;节气门总成&quot;
}
]
}</code></pre>
<h4>返回值参数说明:</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>msg</td>
<td>string</td>
<td>描述</td>
</tr>
<tr>
<td>code</td>
<td>int</td>
<td>状态码, 0 为成功 1 为失败</td>
</tr>
<tr>
<td>BrandName</td>
<td>string</td>
<td>品牌名称</td>
</tr>
<tr>
<td>ShopName</td>
<td>string</td>
<td>店铺名称</td>
</tr>
<tr>
<td>FirstCategory</td>
<td>string</td>
<td>一级匹配名称</td>
</tr>
<tr>
<td>SecondCategory</td>
<td>string</td>
<td>二级品类名称</td>
</tr>
<tr>
<td>SalePrice</td>
<td>string</td>
<td>出库金额</td>
</tr>
<tr>
<td>SaleQty</td>
<td>string</td>
<td>出库数量</td>
</tr>
<tr>
<td>CostPrice</td>
<td>string</td>
<td>成本单价</td>
</tr>
<tr>
<td>CostMoney</td>
<td>string</td>
<td>成本金额合计</td>
</tr>
<tr>
<td>ErpID</td>
<td>string</td>
<td>ErpID</td>
</tr>
<tr>
<td>GoodsCode</td>
<td>string</td>
<td>商品编码</td>
</tr>
<tr>
<td>GoodsName</td>
<td>string</td>
<td>商品名称</td>
</tr>
<tr>
<td>Spec</td>
<td>string</td>
<td>规格型号</td>
</tr>
<tr>
<td>FactoryCode</td>
<td>string</td>
<td>出厂编码</td>
</tr>
<tr>
<td>BacklogDay</td>
<td>string</td>
<td>积压天数</td>
</tr>
</tbody>
</table>