查询 DMS 采购入库单详情
<h4><strong>请求路径 URL:</strong></h4>
<ul>
<li><code>/openApi/getPurchaseDetail</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>
<h4><strong>参数:</strong></h4>
<p>> 说明:form-data 格式。</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>是否必选</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>order_sn</td>
<td>是</td>
<td>text 文本</td>
<td>erp 采购单号,支持多个,逗号分割,例如:SO24042600102369,SO24042600102370</td>
</tr>
</tbody>
</table>
<h4><strong>返回值示例:</strong></h4>
<pre><code>{
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [
{
&quot;ID&quot;: &quot;DMS采购明细 ID&quot;,
&quot;ErpID&quot;: &quot;Erp配件 ID&quot;,
&quot;GoodsID&quot;: &quot;DMS商品 ID&quot;,
&quot;GoodsCode&quot;: &quot;DMS 商品编码&quot;,
&quot;GoodsName&quot;: &quot;DMS 商品名称&quot;,
&quot;PurchaseQty&quot;: &quot;DMS 入库数量&quot;,
&quot;PurchasePrice&quot;: &quot;DMS 入库单价&quot;,
&quot;ErpPurchaseCode&quot;: &quot;Erp采购单号&quot;,
&quot;PurchaseID&quot;: &quot;DMS 采购单 ID&quot;
}
]
}</code></pre>