智慧工地平台接口文档

智慧工地平台接口文档


获取升降机在线离线信息

<h3>获取升降机在线离线信息</h3> <p>维护人:fanq</p> <h4>URL</h4> <ul> <li><code>POST</code> /ip:port/hoistDeviceOfflineInfo/listDeviceWorkCycleInfo</li> </ul> <p>描述:获取升降机在线离线信息</p> <p>ContentType:<code>application/json</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>Body Parameter</h5> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>deviceIdSet</td> <td>array</td> <td>否</td> <td>-</td> <td>No comments found.,[array of int64]</td> <td>880,208</td> </tr> <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>bqpam2</td> </tr> </tbody> </table> <h4>请求示例</h4> <pre><code>{ &amp;quot;deviceIdSet&amp;quot;: [ 880, 208 ], &amp;quot;page&amp;quot;: 1, &amp;quot;size&amp;quot;: 10, &amp;quot;sort&amp;quot;: &amp;quot;bqpam2&amp;quot; }</code></pre> <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>404</td> </tr> <tr> <td>contentObj</td> <td>object</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ id</td> <td>int64</td> <td>否</td> <td>-</td> <td>ID</td> <td>547</td> </tr> <tr> <td>└ deviceId</td> <td>int64</td> <td>否</td> <td>-</td> <td>设备ID</td> <td>980</td> </tr> <tr> <td>└ startTime</td> <td>object</td> <td>否</td> <td>-</td> <td>在线日期</td> <td>2023-09-08 14:30:21</td> </tr> <tr> <td>└ endTime</td> <td>object</td> <td>否</td> <td>-</td> <td>离线日期</td> <td>2023-09-08 14:30:21</td> </tr> <tr> <td>└ onlinetime</td> <td>string</td> <td>否</td> <td>-</td> <td>本次在线时长</td> <td>2023-09-08 14:30:17</td> </tr> <tr> <td>└ offlinetime</td> <td>string</td> <td>否</td> <td>-</td> <td>本次离线时长</td> <td>2023-09-08 14:30:17</td> </tr> <tr> <td>└ totalOnlinetime</td> <td>string</td> <td>否</td> <td>-</td> <td>该时间段内总在线时长</td> <td>2023-09-08 14:30:17</td> </tr> <tr> <td>└ totalOfflinetime</td> <td>string</td> <td>否</td> <td>-</td> <td>该时间段内总离线时长</td> <td>2023-09-08 14:30:17</td> </tr> <tr> <td>└ recordNumber</td> <td>string</td> <td>否</td> <td>-</td> <td>备案号</td> <td>4qm9js</td> </tr> <tr> <td>└ totals</td> <td>string</td> <td>否</td> <td>-</td> <td>数据总数</td> <td>za44jf</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;: 404, &amp;quot;contentObj&amp;quot;: { &amp;quot;id&amp;quot;: 547, &amp;quot;deviceId&amp;quot;: 980, &amp;quot;startTime&amp;quot;: &amp;quot;2023-09-08 14:30:21&amp;quot;, &amp;quot;endTime&amp;quot;: &amp;quot;2023-09-08 14:30:21&amp;quot;, &amp;quot;onlinetime&amp;quot;: &amp;quot;2023-09-08 14:30:17&amp;quot;, &amp;quot;offlinetime&amp;quot;: &amp;quot;2023-09-08 14:30:17&amp;quot;, &amp;quot;totalOnlinetime&amp;quot;: &amp;quot;2023-09-08 14:30:17&amp;quot;, &amp;quot;totalOfflinetime&amp;quot;: &amp;quot;2023-09-08 14:30:17&amp;quot;, &amp;quot;recordNumber&amp;quot;: &amp;quot;4qm9js&amp;quot;, &amp;quot;totals&amp;quot;: &amp;quot;za44jf&amp;quot; }, &amp;quot;content&amp;quot;: [ { &amp;quot;any object&amp;quot;: {} } ] }</code></pre> <h4>错误码</h4> <p>无</p>

页面列表

ITEM_HTML