轻松教育API

轻松教育API


班级管理学生信息

<p><strong>简要描述:</strong> </p> <ul> <li>学生信息接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/apipc/studentmanage/classmanage_stuinfo.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;">mode</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>0=查询 2=保存</td> </tr> <tr> <td style="text-align: left;">json</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>{&quot;studentid&quot;:&quot;1435754444661805056&quot;}</td> </tr> </tbody> </table> <p><strong>json示例 mode=0时 </strong></p> <pre><code> {"studentid":"1435754444661805056"}</code></pre> <p><strong>json示例 mode=2时 </strong> <strong>注意 fieldjson:如果field_type等于radio或者select,value值要给子项目的itemid;不接受只读字段的修改提交</strong></p> <pre><code> {"studentid":"1439387918715146240", "studentname":"u1", "sex":"1", "birthday":"", "gradeid":"2", "classid":"测试中班", "classyear":"", "studentno":"", "nationalstunum":"", "idnum":"", "note":"1111", "pic":"https://qsedupro.oss-cn-hangzhou.aliyuncs.com/grid_icon5.png", "genjson":[{"relname":"1","parent_realname":"张三","mobile":"13721212121"}], "liveschool":"0", "real_name":"", "parent_alipay_mobile":"", "class_xh":"1", "idtype":"0", "liveschool_name":"走读", "liveschool_id":"1138580838871465984", "isuse":1, "fieldjson": [{"field_id": "1","field_value": "字段值"}] }</code></pre> <p><strong>返回示例 mode=0时 </strong></p> <pre><code> { "code": 0, "msg": "保存成功!",data: { "issp":false, "gradelist":[ {"gradeid":"1","grademc":"小班","gradename":"小班"}, {"gradeid":"2","grademc":"中班","gradename":"中班"}, {"gradeid":"3","grademc":"大班","gradename":"大班"} ], "geninfo":[{ "gensturelid":"1438569384233750528", "personid":"0138292305905", "parent_realname":"", "parentname":"", "relname":"妈妈", "studentid":"1123042128948187136", "mobile":"13613719411" }], "classlist":[{ "classsetid":"986394485971832832", "ding_class_name":"", "assistteacherid":"1428140927-2136378234", "ding_nick":"", "classname_d":"1","personid":"491838555438183075", "classname":"(1)班", "bpviewlx":"1", "assistteacher":"落潇(黄益潇)", "gradeid":"2", "personname":"陈铮玉", "gradename":"中班", "classid":"1" }], "stupic":"https://qsedupro.oss-cnid_icon20.png", "stuinfo":{ "stuidcard":"412724199808058855", "birthday":"1998.08.05", "sex":"1", "idtype":"0", "class_xh":"", "classyear":"2019级", "studentno":"16778453426", "studentname":"张力", "age":24, "gradeid":"2", "note":"", "classid":"1", "liveschool_name":"住校", "studentmobile":"", "classname":"(1)班", "liveschool":"1", "ZXBAccount":"z8409632", "classsetid":"986394485971832832", "logourl":"https://qsedupro.oss-cn-hangzhou.aliyuncs.com/studenthead/grid_icon20.png", "idnum":"412724199808058855", "liveschools":[ {"state":"1","liveschool_id":"11385","liveschool":"0","liveschool_name":"走读"}, {"state":"1","liveschool_id":"11385","liveschool":"1","liveschool_name":"住校"}, {"state":"1","liveschool_id":"1580","liveschool":"2","liveschool_name":"走读拉拉2"}, {"state":"1","liveschool_id":"11581","liveschool":"3","liveschool_name":"半住校"}, {"state":"1","liveschool_id":"1138580","liveschool":"4","liveschool_name":"其他4"} ], "real_name":"张力", "isOpene":"1", "gradename":"中班", "nationalstunum":"32458769352", "parent_alipay_mobile":"", "studentid":"1123042128948187136", "isuse":"1" }, "fieldlist": [{ "field_id": "1", "field_value": "字段值", "title": "字段名称", "field_type": "input" , "promptwords": "1436864169", "pxh": "0", "sys_field":"0", "isrequired":"0", "isuse":"0", "isonlyread":"0", "field_itemlist":[{"itemid":"1","itemvalue":"是" }] } }</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> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML