Interface Address
https://api.example.com/omstation/station/queryStationLatticeDetail
During the development process, please replace api.example.com with the domain name or IP address of your own server.
Request Method
Request Headers
- Content-Type: application/json
- token: A334853698EF49DC98A1C8BA65149351

Request Parameters
Parameter Example
{
"id":"SG240304001",
"startTime":"2024-03-07",
"endTime":"2024-03-15"
}
Parameter Description
Field |
Type |
Description |
Required |
id |
String |
Unique identifier of the management station |
Y |
startTime |
String |
Start time (UTC) |
Y |
endTime |
String |
End time (UTC) |
Y |
Return Result
Result Example
{
"code": 200,
"message": "Operation succeeded",
"data": {
"stationStatistics": {
"sumStationCount": 3,
"sumLowInventoryCount": 0,
"sumInStorageCount": 0,
"sumAvailableCount": 2,
"sumFullChargeCount": 0,
"sumAbnormalCount": 0,
"sumLatticeCount": 0,
"sumEmptyLatticeCount": 1,
"sumInChargeCount": 0
},
"stationLatticeInfoList": [
{
"id": "BD5D853AA3174767B2A5FDEB76D3C0B5",
"index": 2,
"stationId": "SG240304001",
"latticeNo": "A2",
"updateTime": "2024-03-04T02:59:41.564673500Z",
"lockStatus": -1,
"deviceId": "5648974546",
"connectPower": 1,
"isFull": 0,
"isFailure": 1,
"deviceType": 701
},
{
"id": "228A81E14C6C4C6392C6E7AFB8895ADD",
"index": 1,
"stationId": "SG240304001",
"latticeNo": "C1",
"updateTime": "2024-03-04T02:59:41.564673500Z",
"lockStatus": -1,
"deviceId": "",
"connectPower": 0,
"isFull": 0,
"isFailure": 0,
"fileUrl":"https://jointech-705c-bucket.obs.ap-southeast-1.myhuaweicloud.com/omstation_filesSG230101001/_20240321145029/20240321145029.mp4",
"deviceType": 705
},
{
"id": "76FDCF112E064A6880F028D0F226522D",
"index": 1,
"stationId": "SG240304001",
"latticeNo": "A1",
"updateTime": "2024-03-04T02:59:41.564673500Z",
"lockStatus": -1,
"deviceId": "8794654658",
"connectPower": 1,
"isFull": 0,
"isFailure": 1,
"fileUrl":"https://jointech-705c-bucket.obs.ap-southeast-1.myhuaweicloud.com/omstation_filesSG230101001/_20240321145029/20240321145029.mp4",
"deviceType": 701
}
],
"deviceInfoList": [],
"stationLogList": []
}
}
Result Description
Field |
Type |
Description |
code |
int |
Status code; see “Status Code Description” for details |
message |
String |
Request status description |
data |
object |
Return result content |
Data Description
Field |
Type |
Description |
total |
int |
Total number of data entries |
size |
int |
Page number |
data |
object |
Message body of the current page in pagination query |
Data (Root Level) Description
Field |
Type |
Description |
Required |
stationStatistics |
List |
Operation management cabinet statistics objects |
Y |
stationLatticeInfoList |
List |
Operation management cabinet lattice information objects |
Y |
deviceInfoList |
List |
In-cabinet device information objects |
Y |
stationLogList |
List |
Cabinet operation information objects |
Y |
stationStatistics Field Description
Field |
Type |
Description |
Required |
sumStationCount |
int |
Number of operation management cabinets |
Y |
sumLowInventoryCount |
int |
Number of operation management cabinets with low inventory |
Y |
sumInStorageCount |
int |
Number of devices in the cabinet |
Y |
sumAvailableCount |
int |
Number of available devices |
Y |
sumFullChargeCount |
int |
Number of fully charged devices |
Y |
sumAbnormalCount |
int |
Number of abnormal devices |
Y |
sumLatticeCount |
int |
Total number of lattice compartments |
Y |
sumEmptyLatticeCount |
int |
Total number of empty lattice compartments |
Y |
sumInChargeCount |
int |
Number of devices being charged |
Y |
stationLatticeInfoList Field Description
Field |
Type |
Description |
Required |
id |
String |
Unique identifier of the lattice compartment |
Y |
index |
Int |
Lattice compartment serial number |
Y |
stationId |
String |
Operation management cabinet ID |
Y |
deviceId |
String |
Security device ID |
Y |
latticeNo |
String |
Lattice compartment name |
Y |
updateTime |
String |
Last update time |
Y |
latticeInfo |
String |
Details of lattice type quantity correspondence (JSON string) |
Y |
lockStatus |
String |
Cabinet door status (0: Closed; 1: Open; -1: No status) |
Y |
deviceId |
String |
Device number |
Y |
connectPower |
Int |
Whether connected to power (1: Yes; 0: No; -1: No status) |
Y |
isFailure |
Int |
Whether faulty (0: No; 1: Yes) |
Y |
deviceType |
Int |
Device type |
Y |
deviceTypeName |
Int |
Device type name |
Y |
stationName |
String |
Operation management cabinet name |
Y |
deviceInfoList Field Description
Field |
Type |
Description |
Required |
deviceId |
String |
Device number |
Y |
deviceType |
Int |
Device type |
Y |
deviceTypeName |
Int |
Device type name |
Y |
stationId |
String |
Operation management cabinet ID |
Y |
latticeNo |
String |
Lattice compartment name |
Y |
chargeStatus |
Int |
Charging status (0: Not charging; 1: Charging; 2: Fully charged; -1: Unknown) |
Y |
battery |
Int |
Battery level (255 indicates charging) |
Y |
onlineStatus |
Int |
Network status (0: Not connected; 1: Connected; -1: Unknown) |
Y |
gpsSignal |
Int |
Signal value |
Y |
lat |
double |
Latitude |
Y |
lon |
double |
Longitude |
Y |
gpsTime |
String |
Positioning time |
Y |
orgName |
Int |
Organization name |
Y |
stationName |
String |
Operation management cabinet name |
Y |
stationLogList Field Description
Field |
Type |
Description |
Required |
deviceId |
String |
Device number |
Y |
deviceType |
Int |
Device type |
Y |
deviceTypeName |
Int |
Device type name |
Y |
stationId |
String |
Operation management cabinet ID |
Y |
stationName |
String |
Operation management cabinet name |
Y |
orgName |
String |
Organization name |
Y |
latticeNo |
String |
Lattice compartment name |
Y |
userName |
String |
Operator |
Y |
dateTime |
String |
Creation time |
Y |
FFileIndex |
String |
Attachment serial number (non-empty indicates there is an attachment) |
Y |
type |
Int |
Operation type |
Y |
fileUrl |
String |
Attachment path (non-empty indicates there is an attachment) |
Y |
文档更新时间: 2025-07-23 11:20 作者:admin