学校/教育局的表单下发
<p><strong>简要描述:</strong>
表单下发
1、教育局列表下发时,用直属教育局的corpid抽取表单进行下发
2、学校列表下发时,先用学校的corpid查询,如果返回result=0,表示没有记录
<strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/iapi/manage/openEducaTemplate.shtml</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>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">corpid</td>
<td style="text-align: left;">否</td>
<td>string</td>
<td>团队id,必填</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>
{
"result":"0",
"errcode":"0",
"errmsg":"",
}</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>
<tr>
<td style="text-align: left;">errmsg</td>
<td style="text-align: left;">string</td>
<td>错误描述</td>
</tr>
<tr>
<td style="text-align: left;">result</td>
<td style="text-align: left;">string</td>
<td>下发记录条数,返回0,表示当前团队没有模板,根据学校/教育局需求判断是否继续请求该接口</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>