DMS-ERP 对接接口文档


查询品牌列表

<h4><strong>请求路径 URL:</strong></h4> <ul> <li><code>/openApi/queryBrands</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> <blockquote> <p>说明:form-data 格式。</p> </blockquote> <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> </tbody> </table> <h4><strong>返回值示例:</strong></h4> <pre><code>{ "msg": "success", "code": 0, "data": [ { "BrandName": "耐诺思", "ID": "BBC7B7F6-7DFE-4030-B363-727CD9E4C1F5" }, { "BrandName": "曼", "ID": "BC4D8BFC-6A4C-460B-A96A-F6DE9F826646" } ] }</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> </tbody> </table>

页面列表

ITEM_HTML