轻松教育API

轻松教育API


健康打卡填写提交接口

<p><strong>简要描述:</strong> </p> <ul> <li>健康打卡填写提交接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/healthclock/record_post.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;">rid</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>打卡记录id,非空即修改该打卡记录</td> </tr> <tr> <td style="text-align: left;">studentid</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>班主任代打卡学生id,老师身份且该字段非空代表代学生打卡</td> </tr> <tr> <td style="text-align: left;">userid</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>被代打教职工人id,老师身份且该字段非空代表代教职工打卡</td> </tr> <tr> <td style="text-align: left;">agency_type</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>代打人员类型(0=本人打卡,1=班主任替学生打卡,2=代打人员提教职工打卡) ,默认0</td> </tr> <tr> <td style="text-align: left;">record_jsondata</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>打卡填写信息json串(格式:[{&quot;field_id&quot;:123456,&quot;field_value&quot;:&quot;体验正常&quot;,&quot;file_type&quot;:&quot;select&quot;,&quot;select_item&quot;:[{&quot;selectid&quot;:&quot;23&quot;,&quot;select_value&quot;:&quot;选项值1&quot;,&quot;istrack&quot;:1,&quot;<strong>isshow</strong>&quot;:1}] }])</td> </tr> <tr> <td style="text-align: left;"><strong>record_jsondata.isshow</strong></td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>本次填写是否显示字段</td> </tr> </tbody> </table> <p>注意:当field_type=multiselect 或者 select 时 field_value 非必须,select_item 必须项 ,select_item格式 [{&quot;selectid&quot;:&quot;23&quot;,&quot;select_value&quot;:&quot;选项值1&quot;}] 当field_type=img field_value格式为json数组[&quot;图片1路径&quot;,&quot;图片2路径&quot;] 当field_type=addr field_value格式为json数组[&quot;省&quot;,&quot;市&quot;,&quot;县&quot;] 当field_type=location field_value格式为json数组[&quot;详细地址&quot;,&quot;经度&quot;,&quot;维度&quot;,&quot;省&quot;,&quot;市&quot;,&quot;县&quot;]</p> <p><strong>返回示例</strong></p> <pre><code> { "errcode": 0, "errmsg":"success" }</code></pre> <p><strong>返回参数说明</strong> </p> <p>无</p> <p><strong>备注</strong> </p>

页面列表

ITEM_HTML