轻松教育API

轻松教育API


成绩录入保存

<p><strong>简要描述:</strong> </p> <ul> <li>成绩录入保存接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com//api/score/newscore_class_save.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;">recordid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>考试记录id</td> </tr> <tr> <td style="text-align: left;">classsetid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>班级setid</td> </tr> <tr> <td style="text-align: left;">course_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>课程id</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;score0&quot;:&quot;28&quot;,&quot;score1&quot;:&quot;56&quot;,&quot;score2&quot;:&quot;47.5&quot;,&quot;score3&quot;:&quot;46.5&quot;,&quot;score6&quot;:&quot;35&quot;,&quot;score4&quot;:&quot;35&quot;,&quot;score5&quot;:&quot;19.5&quot;,&quot;studentid&quot;:&quot;1015000903617740800&quot;}],若无子项,则course_id键值对去掉</td> </tr> </tbody> </table> <p><strong>请求参数</strong></p> <pre><code> recordid:"11111", classsetid:"xxxxxx", course_id:"xxxxxx", json:[{ "score0":"28", "score1":"56", "score2":"47.5", "score3":"46.5", "score6":"35", "score4":"35", "score5":"19.5", "studentid":"1015000903617740800", "itemdata":[ {"score0":"","score1":"","score2":"1","subjectid":"1025533398573121536"}, {"score3":"","score4":"","score5":"1","subjectid":"1025533398573121536"}] }] }]</code></pre> <p><strong>返回示例</strong></p> <pre><code> 返回示例: { "errcode":"0", "errmsg":"success", }</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;">errcode</td> <td style="text-align: left;">string</td> <td>返回0,表示操作成功</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML