Interface Address
https://api.example.com/omstation/station/updateStationInfo
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
{
"id":"SG240304002",
"stationName":"HaiGu Cabinet 3",
"deviceId":"4564124564",
"totalCount":"3",
"orgId":"520FF63E384345F4935BF6A1B9095A7C",
"latticeAssetList":[{
"typeId":701,
"stationType":"A",
"index":1
},{
"typeId":701,
"stationType":"A",
"index":2
},{
"typeId":705,
"stationType":"C",
"index":1
}
]
}
Parameter 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 |
| latticeInfo | String | Details of lattice type quantity correspondence, JSON string | Y |
| latticeAssetList | List | List of lattice types | 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 |
Return Result
Result Example
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
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 |
文档更新时间: 2025-07-23 11:14 作者:admin