1.URL
http://124.223.60.234:8080/system/asset/command/queryOfflineCommandList
or Server in US
https://cloud.aovx.com/prod/system/asset/command/queryOfflineCommandList
2.Request parameters
2.1.Request headers
Add token in Headers: After successful login verification, the corresponding tokenId in user login response data
2.2.Parameters example
{
"ids":["1957EE0C69614AB3B3AF2755103B0AB6"],
"pageNum":1,
"pageSize":20
}
2.3.Parameters description
Field | Data type | description | required |
---|---|---|---|
ids | List | Set of unique device identifiers in the system | Y |
pageNum | int | Paging query for current page number, default 1 | Y |
pageSize | int | Paging query displays the number of items per page, default 20 | Y |
3.Response content
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": {
"total": 2,
"size": 1,
"data": [
{
"terminalId": "1957EE0C69614AB3B3AF2755103B0AB6",
"terminalNum": "344050190425",
"msgId": 33027,
"strMsgId": "0x8103",
"msgFlowId": 1,
"timestamp": 1675333359760,
"hexCommand": "7e8103000a34405019042500010100000001040000000a9b7e"
},
{
"terminalId": "1957EE0C69614AB3B3AF2755103B0AB6",
"terminalNum": "344050190425",
"msgId": 33027,
"strMsgId": null,
"msgFlowId": 1,
"timestamp": 1675333230886,
"hexCommand": "7e8103000a34405019042500010100000001040000000a9b7e"
}
]
}
}
3.2.Response description
Field | Data type | description |
---|---|---|
code | int | Return code |
message | String | Return message |
data | object | Response data |
Response data description
Field | Data type | description |
---|---|---|
total | String | Total number of paged queries |
size | String | How many pages are there for pagination query |
data | object | Result set per page |
Per page data description
Field | Data type | description |
---|---|---|
terminalId | String | Unique identification of device in the system |
terminalNum | String | Device number |
msgId | Integer | Command Message ID (decimal value) |
strMsgId | String | Command Message ID |
msgFlowId | Integer | Command serial number |
timestamp | String | send time UNIX timestamp |
hexCommand | String | Command content |
作者:admin 创建时间:2023-04-25 11:51
最后编辑:admin 更新时间:2024-12-27 19:48
最后编辑:admin 更新时间:2024-12-27 19:48