安排考生接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>安排考生接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/vocatschool/exam_arrangeset.html</code></li>
</ul>
<p>sortlx 座位号排列形式 1=N型 2=||型
randomlx 考号排列形式 0=升序 1=降序 2=随机</p>
<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;">planid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>planid</td>
</tr>
<tr>
<td style="text-align: left;">itemid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>itemid</td>
</tr>
<tr>
<td style="text-align: left;">rooms</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">JSONArray字符串</td>
<td>传入设置对象</td>
</tr>
</tbody>
</table>
<pre><code>rooms 格式:
[
{&quot;gradeid&quot;:&quot;1&quot;,&quot;gradename&quot;:&quot;一年级&quot;,&quot;stu_num&quot;:&quot;233&quot;,
&quot;roomlist&quot;:[{&quot;plan_room_id&quot;:&quot;323223323&quot;,&quot;roomid&quot;:&quot;233322&quot;,&quot;room_name&quot;:&quot;xx室/一(1)班&quot;,&quot;build_id&quot;:&quot;2232323&quot;,&quot;build_name&quot;:&quot;xx楼&quot;,&quot;isybks&quot;:&quot;0&quot;,&quot;max_num&quot;:&quot;20&quot;,
&quot;row_num&quot;:&quot;6&quot;,&quot;col_num&quot;:&quot;3&quot;,&quot;sortlx&quot;:&quot;1&quot;,&quot;randomlx&quot;:&quot;2&quot;,&quot;leave_num&quot;:&quot;4&quot;}]}
]
plan_room_id 必须
col_num 考场座位列数
row_num 考场每排(竖)人数
sortlx 座位号排列形式 1=N型 2=||型
randomlx 考号排列形式 0=升序 1=降序 2=随机
leave_num 留空位置数</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;errcode&quot;: 0,
&quot;errmsg&quot;: &quot;安排成功&quot;
}</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>错误码</td>
</tr>
<tr>
<td style="text-align: left;">errmsg</td>
<td style="text-align: left;">String</td>
<td>错误信息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>