智慧工地平台接口文档

智慧工地平台接口文档


查询升降机设备

<h3>查询升降机设备</h3> <p>维护人:fanq</p> <h4>URL</h4> <ul> <li><code>GET</code> /ip:port/hoistDevice/</li> </ul> <p>描述:查询升降机设备</p> <p>ContentType:<code>application/x-www-form-urlencoded;charset=UTF-8</code></p> <h4>请求头</h4> <table> <thead> <tr> <th>名称</th> <th>必填</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>authorization</td> <td>否</td> <td>登录token值</td> <td>Bearer Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyNzExYjRiMWIwODY0YmI2YTU2Y2Y0ZGJlNDE5ZjA5NSIsImF1dGgiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.6j6Q2KFpSfzwKG5nkWQ7gXdNnDbTKqVH-gNU8StmLlGCIpvuKN_2ycPrFcJaY5RPvYzQDjPoBk9J8VtSm0yLYA</td> </tr> </tbody> </table> <h4>请求参数</h4> <h5>Query Parameter</h5> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>page</td> <td>int32</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>1</td> </tr> <tr> <td>size</td> <td>int32</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>10</td> </tr> <tr> <td>sort</td> <td>string</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>i0l59y</td> </tr> </tbody> </table> <h4>响应参数</h4> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>totalElements</td> <td>int64</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>637</td> </tr> <tr> <td>contentObj</td> <td>object</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ deviceId</td> <td>int64</td> <td>否</td> <td>-</td> <td>ID</td> <td>507</td> </tr> <tr> <td>└ projectId</td> <td>int64</td> <td>否</td> <td>-</td> <td>项目id</td> <td>205</td> </tr> <tr> <td>└ orgName</td> <td>string</td> <td>否</td> <td>-</td> <td>所属项目</td> <td>rachele.purdy</td> </tr> <tr> <td>└ orgPName</td> <td>string</td> <td>否</td> <td>-</td> <td>所属企业</td> <td>rachele.purdy</td> </tr> <tr> <td>└ hoistName</td> <td>string</td> <td>否</td> <td>-</td> <td>设备名称</td> <td>rachele.purdy</td> </tr> <tr> <td>└ forward</td> <td>string</td> <td>否</td> <td>-</td> <td>转发位置</td> <td>n2v1p7</td> </tr> <tr> <td>└ recordNumber</td> <td>string</td> <td>否</td> <td>-</td> <td>备案编号</td> <td>uuqdmh</td> </tr> <tr> <td>└ propertyUnit</td> <td>string</td> <td>否</td> <td>-</td> <td>产权单位</td> <td>yy9xf2</td> </tr> <tr> <td>└ leaseExpirationTime</td> <td>object</td> <td>否</td> <td>-</td> <td>租凭到期时间</td> <td>2024-03-07 14:36:07</td> </tr> <tr> <td>└ recordStatus</td> <td>string</td> <td>否</td> <td>-</td> <td>备案状态</td> <td>yi9c78</td> </tr> <tr> <td>└ constructionState</td> <td>string</td> <td>否</td> <td>-</td> <td>施工状态</td> <td>niys77</td> </tr> <tr> <td>└ removeDate</td> <td>object</td> <td>否</td> <td>-</td> <td>拆卸日期</td> <td>2024-03-07 14:36:07</td> </tr> <tr> <td>└ longitude</td> <td>string</td> <td>否</td> <td>-</td> <td>经度</td> <td>2saocc</td> </tr> <tr> <td>└ latitude</td> <td>string</td> <td>否</td> <td>-</td> <td>纬度</td> <td>6bsr80</td> </tr> <tr> <td>└ simCardNumber</td> <td>string</td> <td>否</td> <td>-</td> <td>sim卡号</td> <td>zz6vco</td> </tr> <tr> <td>└ cageId</td> <td>int32</td> <td>否</td> <td>-</td> <td>设备编号</td> <td>660</td> </tr> <tr> <td>└ hoistBoxId</td> <td>string</td> <td>否</td> <td>-</td> <td>出厂编号(必填)</td> <td>155</td> </tr> <tr> <td>└ hoistId</td> <td>int64</td> <td>否</td> <td>-</td> <td>升降机ID</td> <td>325</td> </tr> <tr> <td>└ leftOrRight</td> <td>int32</td> <td>否</td> <td>-</td> <td>设备位置</td> <td>964</td> </tr> <tr> <td>└ onlineStatus</td> <td>string</td> <td>否</td> <td>-</td> <td>在线离线状态(1在线,-1离线)</td> <td>oxt65s</td> </tr> <tr> <td>content</td> <td>array</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ any object</td> <td>object</td> <td>否</td> <td>-</td> <td>any object.</td> <td></td> </tr> </tbody> </table> <h4>响应示例</h4> <pre><code>{ &amp;quot;totalElements&amp;quot;: 637, &amp;quot;contentObj&amp;quot;: { &amp;quot;deviceId&amp;quot;: 507, &amp;quot;projectId&amp;quot;: 205, &amp;quot;orgName&amp;quot;: &amp;quot;rachele.purdy&amp;quot;, &amp;quot;orgPName&amp;quot;: &amp;quot;rachele.purdy&amp;quot;, &amp;quot;hoistName&amp;quot;: &amp;quot;rachele.purdy&amp;quot;, &amp;quot;forward&amp;quot;: &amp;quot;n2v1p7&amp;quot;, &amp;quot;recordNumber&amp;quot;: &amp;quot;uuqdmh&amp;quot;, &amp;quot;propertyUnit&amp;quot;: &amp;quot;yy9xf2&amp;quot;, &amp;quot;leaseExpirationTime&amp;quot;: &amp;quot;2024-03-07 14:36:07&amp;quot;, &amp;quot;recordStatus&amp;quot;: &amp;quot;yi9c78&amp;quot;, &amp;quot;constructionState&amp;quot;: &amp;quot;niys77&amp;quot;, &amp;quot;removeDate&amp;quot;: &amp;quot;2024-03-07 14:36:07&amp;quot;, &amp;quot;longitude&amp;quot;: &amp;quot;2saocc&amp;quot;, &amp;quot;latitude&amp;quot;: &amp;quot;6bsr80&amp;quot;, &amp;quot;simCardNumber&amp;quot;: &amp;quot;zz6vco&amp;quot;, &amp;quot;cageId&amp;quot;: 660, &amp;quot;hoistBoxId&amp;quot;: &amp;quot;155&amp;quot;, &amp;quot;hoistId&amp;quot;: 325, &amp;quot;leftOrRight&amp;quot;: 964, &amp;quot;onlineStatus&amp;quot;: &amp;quot;oxt65s&amp;quot; }, &amp;quot;content&amp;quot;: [ { &amp;quot;any object&amp;quot;: {} } ] }</code></pre> <h4>错误码</h4> <p>无</p>

页面列表

ITEM_HTML