DMS-ERP 对接接口文档


修改员工姓名手机号

<h4><strong>请求路径 URL:</strong></h4> <ul> <li><code>/openApi/updateUserDetail</code></li> </ul> <h4><strong>请求方式:</strong></h4> <ul> <li><code>POST</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>userId</td> <td>是</td> <td>text 文本</td> <td>员工id</td> </tr> <tr> <td>name</td> <td>是</td> <td>text 文本</td> <td>姓名</td> </tr> <tr> <td>phone</td> <td>是</td> <td>text 文本</td> <td>手机号</td> </tr> </tbody> </table> <h4><strong>返回值示例:</strong></h4> <pre><code>{ "code": 0 }</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