Interface Address

https://api.example.com/omstation/station/queryStationInfoListByOrgId

During the development process, please replace api.example.com with the domain name or IP address of your own server.

Request Method

  • Post

Request Headers

  • Content-Type: application/json
  • token: A334853698EF49DC98A1C8BA65149351

Request Parameters

Parameter Example

{
"orgId":"520FF63E384345F4935BF6A1B9095A7C"
}

Parameter Description

Field Type Description Required
orgId String Unique organization identifier Y

Return Result

Result Example

{
    "code": 200,
    "message": "Operation succeeded",
    "data": {
        "stationInfoList": [
            {
                "id": "SG240304001",
                "stationName": "HaiGu Cabinet 2",
                "deviceId":"4564124564",
                "totalCount": 3,
                "orgId": "520FF63E384345F4935BF6A1B9095A7C",
                "orgName": "Jiutong Software Department",
                "createTime": "2024-03-04 02:59:42",
                "creatorId": "620FF63E384345F4935BF6A1B9095A7B",
                "iconType": null,
                "formType": null,
                "centerLat": 0.0,
                "centerLon": 0.0,
                "radius": null,
                "path": null,
                "latticeAssetList": [
                    {
                        "typeId": 701,
                        "stationType": "A",
                        "index": 2
                    },
                    {
                        "typeId": 705,
                        "stationType": "C",
                        "index": 1
                    },
                    {
                        "typeId": 701,
                        "stationType": "A",
                        "index": 1
                    }
                ]
            },
            {
                "id": "SG240304002",
                "stationName": "HaiGu Cabinet 3",
                "totalCount": 3,
                "orgId": "520FF63E384345F4935BF6A1B9095A7C",
                "orgName": "Jiutong Software Department",
                "createTime": "2024-03-07 07:34:23",
                "creatorId": "620FF63E384345F4935BF6A1B9095A7B",
                "latticeAssetList": [
                    {
                        "typeId": 701,
                        "stationType": "A",
                        "index": 1
                    },
                    {
                        "typeId": 701,
                        "stationType": "A",
                        "index": 2
                    },
                    {
                        "typeId": 705,
                        "stationType": "C",
                        "index": 1
                    }
                ]
            }
        ],
        "stationStatistics": {
            "sumStationCount": 2,
            "sumLowInventoryCount": 1,
            "sumInStorageCount": 2,
            "sumAvailableCount": 2,
            "sumFullChargeCount": 0,
            "sumAbnormalCount": 0,
            "sumLatticeCount": 0,
            "sumEmptyLatticeCount": 0,
            "sumInChargeCount": 0
        }
    }
}

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
stationInfoList List Operation management cabinet information objects Y
stationStatistics List Operation management cabinet statistics objects Y

stationInfoList Field Description

Field Type Description Required
id String Operation management cabinet ID Y
stationName String Operation management cabinet name Y
deviceId String Security device ID Y
totalCount String Total number of lattice compartments Y
orgId String Unique organization identifier Y
orgName String Organization name Y
createTime String Creation time Y
creatorId String Unique creator identifier (can be ignored) Y
iconType String Site map icon (only valid when adding a new site) -
formType int Site area style (0: Circular; 1: Polygonal; only valid when adding a new site) -
centerLat double If it is a circular area, it represents the central point latitude -
centerLon double If it is a circular area, it represents the central point longitude -
radius int If it is a circular area, it represents the radius (unit: m) -
path String If it is a polygonal area, it represents the set of polygonal points (the first point needs to be used as the last point to form a closed polygon) -
address String Location description -
latticeAssetList List List of lattice types Y
storageCount int Number of devices in the cabinet Y
availableCount int Number of available devices Y
fullChargeCount int Number of fully charged devices Y
abnormalCount int Number of abnormal devices Y
receiveCount int Collection quantity Y
returnCount int Return quantity Y
trend int Trend (1: Rising; 2: Falling; 0: Stable) Y

latticeAssetList Field Description

Field Type Description Required
typeId int Device type Y
stationType String Control panel identifier (A-B-C) Y
index int Lattice compartment serial number corresponding to the control panel 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 Number of empty lattice compartments Y
sumInChargeCount int Number of devices being charged Y
faultRptCount int Number of unhandled fault reports Y
文档更新时间: 2025-07-23 11:16   作者:admin