轻松教育API

轻松教育API


教师管理 人员信息保存

<p><strong>简要描述:</strong> </p> <ul> <li>获取对应教师信息</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com//apipc/teachmanage/savecontacts.html</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">json</td> <td style="text-align: left;">是</td> <td style="text-align: left;">json</td> <td>原来的入参</td> </tr> <tr> <td style="text-align: left;">customsetList</td> <td style="text-align: left;">是</td> <td style="text-align: left;">list</td> <td>自定义字段内容保存</td> </tr> </tbody> </table> <p><strong>通讯录保存自定义字段内容,customsetList 示例</strong></p> <pre><code>{ 原有入参不动 json: {"personid":"01064835456938209251","img":"https://qsedupro.oss-cn-hangzhou.aliyuncs.com/studenthead/grid_icon3.png","usename":"韦旭磊","sex":"1","birthday":"","mobile":"18788844367","phone":"","idcard":"412724199909091123","entryyear":"2020-10-31","dept":[{"deptid":"ding6f34e443f18c3ecc","deptname":"轻松小学163","ytext":"轻松小学163"}],"role":[{"roleid":"1263590470441848832","rolename":"子管理员"},{"roleid":"1264386444240179200","rolename":"子管理员"},{"roleid":"1270454483826069504","rolename":"一般老师"},{"roleid":"1292192167187533824","rolename":"123"}],"jobtitle":"1111122222","worknumber":"","teacherdetail":"","period_name":"小学","period_id":"707853146759671801","mome":"","studentlist":[{"studentid":"1437589900160487424","rename":"爸爸"}],"alipay_mobile":"18788844367","deptid":"ding6f34e443f18c3ecc","idtype":0,"isteacher":1,"workerstype":"1"} 新增入参 "customsetList":[ { "setid":"7", "textlx":"idtype", "title":"idtype", "dropitem":"idtype", "content":"1111111", "fieldtype":"1", "isrequired":"1", "isonlyread":"1", },,,, ] }</code></pre> <p><strong>查询主表详情时,返回示例</strong></p> <pre><code>{ "error": true</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">error</td> <td style="text-align: left;">string</td> <td>状态返回字段</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML