智慧工地平台接口文档

智慧工地平台接口文档


获取实时值

<h5>简要描述</h5> <ul> <li>获取实时值</li> </ul> <h5>请求URL</h5> <ul> <li><code>ip:port/unloadingPlatformData/listRealUnloadData?page=1&amp;amp;sort=5h8pak&amp;amp;size=10</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">header</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">authorization</td> <td style="text-align: left;">是</td> <td>string</td> <td>登录token值</td> </tr> </tbody> </table> <h5>请求参数示例</h5> <pre><code>[ &amp;quot;4w4eqt&amp;quot; ] </code></pre> <p><strong>Type:</strong> POST</p> <p><strong>Content-Type:</strong> application/json</p> <p><strong>Description:</strong> 获取实时值</p> <p><strong>Request-headers:</strong></p> <table> <thead> <tr> <th>Header</th> <th>Type</th> <th>Description</th> <th>Required</th> <th>Since</th> </tr> </thead> <tbody> <tr> <td>authorization</td> <td>string</td> <td>登录token值</td> <td>false</td> <td>-</td> </tr> </tbody> </table> <p><em>请求参数:</em></p> <table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Description</th> <th>Required</th> <th>Since</th> </tr> </thead> <tbody> <tr> <td>unloadIdSet</td> <td>array</td> <td>No comments found.,[array of int64]</td> <td>false</td> </tr> <tr> <td>page</td> <td>int32</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>size</td> <td>int32</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>sort</td> <td>string</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> </tbody> </table> <p><strong>Request-example:</strong></p> <pre><code> curl -X POST -H 'Content-Type: application/json' -H 'authorization:Bearer Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyNzExYjRiMWIwODY0YmI2YTU2Y2Y0ZGJlNDE5ZjA5NSIsImF1dGgiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.6j6Q2KFpSfzwKG5nkWQ7gXdNnDbTKqVH-gNU8StmLlGCIpvuKN_2ycPrFcJaY5RPvYzQDjPoBk9J8VtSm0yLYA' -i ip:port/unloadingPlatformData/listRealUnloadData?size=10&amp;amp;page=1&amp;amp;sort=n39xkx --data '[ &amp;quot;zyc20m&amp;quot; ]' **返回值:** Parameter | Type|Description|Required|Since ---|---|---|---|--- id|int64|ID|false|- unloadId|int64|设备ID|false|- awPercentUp|float|No comments found.|false|- alarmWeight|float|报警重量|false|- alarmWeightUp|float|No comments found.|false|- allowAlarm|float|No comments found.|false|- bias|float|偏置值(-100~100,bias&amp;lt;0往左偏,bias&amp;gt;0往右偏)|false|- ewPercentUp|float|No comments found.|false|- earlyWarningWeight|float|预警重量|false|- electricQuantity|float|电量百分比|false|- partialLoadWeightUp|float|No comments found.|false|- upstate|int32|数据状态 0正常 1预警 2报警|false|- weight|float|重量,单位千克|false|-</code></pre>

页面列表

ITEM_HTML