轻松教育API

轻松教育API


学段列表

<p><strong>简要描述:</strong> </p> <ul> <li>学段列表接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/education/school_type_list.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;">isnowschool</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>是否只抽当前学校的 0=否 1=是</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{"type":"0","title":"","content":"","data":"{ "list":[ {"period_id":"707853146759671800","schooltype":"幼儿园"}, {"period_name":"707853146759671801","schooltype":"小学"}], "errmsg":"查询成功","errcode":"0"}","trackid":"1111490765885800448"}</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;">period_id</td> <td style="text-align: left;">string</td> <td>学段id</td> </tr> <tr> <td style="text-align: left;">period_name</td> <td style="text-align: left;">string</td> <td>学段名称</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML