获取可用房
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取可用房</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://rxcj.gtgbxy.cn/open/room/available</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<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;">startTime</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">datetime</td>
<td>开始时间 格式为yyyy-MM-dd hh:mm:ss</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">datetime</td>
<td>结束时间 格式为yyyy-MM-dd hh:mm:ss</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>
{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;OK&quot;,
&quot;data&quot;: [
{
&quot;roomId&quot;: 162,
&quot;roomNo&quot;: &quot;601&quot;,
&quot;roomType&quot;: &quot;标准双床房&quot;,
&quot;buildingName&quot;: &quot;贵宾楼&quot;,
&quot;floorName&quot;: &quot;302&quot;,
&quot;roomStatus&quot;: &quot;VC&quot;,
&quot;isDirty&quot;: false,
&quot;isTemp&quot;: false,
&quot;isLock&quot;: false,
&quot;remark&quot;: null
},
{
&quot;roomId&quot;: 164,
&quot;roomNo&quot;: &quot;603&quot;,
&quot;roomType&quot;: &quot;总统套房&quot;,
&quot;buildingName&quot;: &quot;贵宾楼&quot;,
&quot;floorName&quot;: &quot;302&quot;,
&quot;roomStatus&quot;: &quot;VC&quot;,
&quot;isDirty&quot;: false,
&quot;isTemp&quot;: true,
&quot;isLock&quot;: false,
&quot;remark&quot;: null
},
{
&quot;roomId&quot;: 166,
&quot;roomNo&quot;: &quot;605&quot;,
&quot;roomType&quot;: &quot;豪华单人间海景&quot;,
&quot;buildingName&quot;: &quot;贵宾楼&quot;,
&quot;floorName&quot;: &quot;302&quot;,
&quot;roomStatus&quot;: &quot;VC&quot;,
&quot;isDirty&quot;: false,
&quot;isTemp&quot;: false,
&quot;isLock&quot;: false,
&quot;remark&quot;: null
},
{
&quot;roomId&quot;: 167,
&quot;roomNo&quot;: &quot;D3115&quot;,
&quot;roomType&quot;: &quot;豪华单人间海景&quot;,
&quot;buildingName&quot;: &quot;贵宾楼&quot;,
&quot;floorName&quot;: &quot;5&quot;,
&quot;roomStatus&quot;: &quot;VC&quot;,
&quot;isDirty&quot;: false,
&quot;isTemp&quot;: false,
&quot;isLock&quot;: false,
&quot;remark&quot;: &quot;测试122&quot;
},
{
&quot;roomId&quot;: 168,
&quot;roomNo&quot;: &quot;D3116&quot;,
&quot;roomType&quot;: &quot;大床房&quot;,
&quot;buildingName&quot;: &quot;贵宾楼&quot;,
&quot;floorName&quot;: &quot;F&quot;,
&quot;roomStatus&quot;: &quot;VC&quot;,
&quot;isDirty&quot;: false,
&quot;isTemp&quot;: false,
&quot;isLock&quot;: false,
&quot;remark&quot;: &quot;测试测试&quot;
}
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">roomId</td>
<td style="text-align: left;">int</td>
<td>房间编号</td>
</tr>
<tr>
<td style="text-align: left;">roomNo</td>
<td style="text-align: left;">string</td>
<td>房号</td>
</tr>
<tr>
<td style="text-align: left;">roomType</td>
<td style="text-align: left;">string</td>
<td>房型</td>
</tr>
<tr>
<td style="text-align: left;">buildingName</td>
<td style="text-align: left;">string</td>
<td>楼栋</td>
</tr>
<tr>
<td style="text-align: left;">floorName</td>
<td style="text-align: left;">string</td>
<td>楼层</td>
</tr>
<tr>
<td style="text-align: left;">roomStatus</td>
<td style="text-align: left;">string</td>
<td>房态标识 OC(住净) /OD(住脏)/VC(空净)/VD (空脏)</td>
</tr>
<tr>
<td style="text-align: left;">isDirty</td>
<td style="text-align: left;">boolean</td>
<td>是否脏房</td>
</tr>
<tr>
<td style="text-align: left;">isTemp</td>
<td style="text-align: left;">boolean</td>
<td>是否临时房</td>
</tr>
<tr>
<td style="text-align: left;">isLock</td>
<td style="text-align: left;">boolean</td>
<td>是否锁房</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>