DMS-ERP 对接接口文档


盘点单管理

<h4><strong>请求路径 URL:</strong></h4> <ul> <li><code>/openApi/stockTakeSheet/listStockTakeSheetPage</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>&gt; 说明:form-data 格式。</p> <table> <thead> <tr> <th>参数名</th> <th>是否必选</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>shopId</td> <td>是</td> <td>text 文本</td> <td>dms门店 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>code</td> <td>否</td> <td>text 文本</td> <td>单号、备注</td> </tr> <tr> <td>storageID</td> <td>否</td> <td>text 文本</td> <td>盘点仓库 ID</td> </tr> <tr> <td>auditTimeStart</td> <td>否</td> <td>text 文本</td> <td>开始审核时间,日期拼接 00:00:00</td> </tr> <tr> <td>auditTimeEnd</td> <td>否</td> <td>text 文本</td> <td>结束审核时间,日期拼接 23:59:59</td> </tr> <tr> <td>inventoryState</td> <td>否</td> <td>text 文本</td> <td>审核状态 0 未审核 1 已审核</td> </tr> </tbody> </table> <h4><strong>返回值示例:</strong></h4> <pre><code>{ &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot;, &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: { &amp;quot;RowSum&amp;quot;: { &amp;quot;ShortQty&amp;quot;: 1219216.82, &amp;quot;ProfitQty&amp;quot;: 3477015.39, &amp;quot;ShortMoney&amp;quot;: 92757681.00, &amp;quot;ProfitMoney&amp;quot;: 27816162.13 }, &amp;quot;totalSize&amp;quot;: 374, &amp;quot;list&amp;quot;: [ { &amp;quot;Comment&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;OperatorName&amp;quot;: &amp;quot;白白&amp;quot;, &amp;quot;__row_number__&amp;quot;: 1, &amp;quot;CreateTime&amp;quot;: &amp;quot;2023-02-20 09:41:58&amp;quot;, &amp;quot;UnionID&amp;quot;: &amp;quot;EEADACCD-8A19-499D-8AD7-6975D2C93243&amp;quot;, &amp;quot;shopName&amp;quot;: &amp;quot;连锁一号测试店铺&amp;quot;, &amp;quot;AuditName&amp;quot;: &amp;quot;白白&amp;quot;, &amp;quot;OperatorID&amp;quot;: &amp;quot;203C46D5-5974-42FC-B5E2-6C98CAB2ADEB&amp;quot;, &amp;quot;ShortMoney&amp;quot;: 293981.20, &amp;quot;StorageID&amp;quot;: &amp;quot;ECF7B8B0-83DB-438F-B19C-9E1A1F98C106&amp;quot;, &amp;quot;Code&amp;quot;: &amp;quot;PD202302200002&amp;quot;, &amp;quot;InventoryState&amp;quot;: 1, &amp;quot;StorageName&amp;quot;: &amp;quot;默认仓库&amp;quot;, &amp;quot;ShortQty&amp;quot;: 3000.50, &amp;quot;AuditTime&amp;quot;: &amp;quot;2023-02-20 09:42:00&amp;quot;, &amp;quot;ProfitQty&amp;quot;: 1.20, &amp;quot;ID&amp;quot;: &amp;quot;D0CE26CB-2B1F-410D-B11A-01B27D6F8310&amp;quot;, &amp;quot;StockTakeTime&amp;quot;: &amp;quot;2023-02-20 09:30:58&amp;quot;, &amp;quot;ProfitMoney&amp;quot;: 0.00, &amp;quot;ShopID&amp;quot;: &amp;quot;1B43BADD-B670-4B27-B6C1-604523287EAF&amp;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>Comment</td> <td>string</td> <td>备注</td> </tr> <tr> <td>OperatorName</td> <td>string</td> <td>制单人</td> </tr> <tr> <td>AuditName</td> <td>string</td> <td>审核人</td> </tr> <tr> <td>ShortMoney</td> <td>string</td> <td>盘亏金额</td> </tr> <tr> <td>Code</td> <td>string</td> <td>单号</td> </tr> <tr> <td>InventoryState</td> <td>string</td> <td>审核状态</td> </tr> <tr> <td>StorageName</td> <td>string</td> <td>盘点仓库</td> </tr> <tr> <td>ShortQty</td> <td>string</td> <td>盘亏数量</td> </tr> <tr> <td>AuditTime</td> <td>string</td> <td>审核时间</td> </tr> <tr> <td>ProfitQty</td> <td>string</td> <td>盘盈数量</td> </tr> <tr> <td>StockTakeTime</td> <td>string</td> <td>开单日期</td> </tr> <tr> <td>ProfitMoney</td> <td>string</td> <td>盘盈金额</td> </tr> <tr> <td>shopName</td> <td>string</td> <td>门店名称</td> </tr> </tbody> </table>

页面列表

ITEM_HTML