电力集团项目

运营平台+IoT平台,面向数字孪生大屏提供OpenAPI数据


车位列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>车位列表接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/vehicles/lotList</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;">status</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>状态:0占用1空闲</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;error_code&amp;quot;: 0, &amp;quot;data&amp;quot;: {   &amp;quot;id&amp;quot;: 56,             &amp;quot;zoneId&amp;quot;: 24862087,             &amp;quot;sourceType&amp;quot;: 0,             &amp;quot;name&amp;quot;: null,             &amp;quot;code&amp;quot;: &amp;quot;B2-105&amp;quot;,             &amp;quot;area&amp;quot;: &amp;quot;负二层停车场&amp;quot;,             &amp;quot;areaId&amp;quot;: null,             &amp;quot;lotIp&amp;quot;: &amp;quot;150.130.8.11&amp;quot;,             &amp;quot;duration&amp;quot;: &amp;quot;0小时0分钟&amp;quot;,             &amp;quot;devStatus&amp;quot;: 1,             &amp;quot;status&amp;quot;: &amp;quot;空闲&amp;quot;,             &amp;quot;enable&amp;quot;: 1, } }</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;">code</td> <td style="text-align: left;">string</td> <td>车位编号</td> </tr> <tr> <td style="text-align: left;">area</td> <td style="text-align: left;">string</td> <td>所在位置</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">int</td> <td>当前状态 0-占用,1-空闲</td> </tr> <tr> <td style="text-align: left;">lotIp</td> <td style="text-align: left;">string</td> <td>车位设备ip</td> </tr> <tr> <td style="text-align: left;">duration</td> <td style="text-align: left;">int</td> <td>停车时长,单位 分钟</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML