Interface Address
https://api.example.com/omstation/station/queryFaultReportList
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
{
"startTime":"2024-03-06",
"endTime":"2024-03-08",
"status":-1,
"key":"",
"pageNum":"1",
"pageSize":20,
"orgId":"520FF63E384345F4935BF6A1B9095A7B"
}
Parameter Description
| Field | Type | Description | Required |
|---|---|---|---|
| orgId | String | Unique organization identifier | Y |
| status | String | Status (0: Unhandled; 1: Handled; -1: All) | Y |
| startTime | String | Start time | Y |
| endTime | String | End time | Y |
| pageNum | int | Pagination query: page number | Y |
| pageSize | int | Pagination query: number of items displayed per page | Y |
Return Result
Result Example
{
"code": 200,
"message": "Operation succeeded",
"data": {
"total": 2,
"size": 0,
"data": [
{
"id": "0231124A8679409D847FBBFED030F705",
"stationId": "SG230101001",
"latticeNo": "A2",
"deviceId": null,
"status": 1,
"type": 1,
"contacts": "Ss",
"phoneNum": "15625215199",
"email": null,
"descInfo": "Maintenance",
"createTime": "2024-03-25 02:36:32",
"fileIndex": null,
"fileUrl":"https://jointech-705c-bucket.obs.ap-southeast-1.myhuaweicloud.com/omstation_filesSG230101001/_20240321145029/20240321145029.mp4",
"handler": null,
"handlingTime": null,
"handleDesc": null
},
{
"id": "5817F511C75E443E9B003A1D0886A3F3",
"stationId": "SG230101001",
"latticeNo": "A1",
"deviceId": null,
"status": 1,
"type": 1,
"contacts": "Bu Ke Kai Jiao",
"phoneNum": "155665555",
"email": null,
"descInfo": "Maintenance",
"createTime": "2024-03-25 02:42:00",
"fileIndex": null,
"fileUrl":"https://jointech-705c-bucket.obs.ap-southeast-1.myhuaweicloud.com/omstation_filesSG230101001/_20240321145029/20240321145029.mp4",
"handler": null,
"handlingTime": null,
"handleDesc": 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 |
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 (List Item) Description
| Field | Type | Description | Required |
|---|---|---|---|
| id | String | Unique ID of the fault report record | Y |
| stationId | String | Operation management cabinet ID | Y |
| deviceId | String | Device number (assigned for device fault reports) | Y |
| fileIndex | String | Attachment serial number (non-empty indicates there is an attachment) | Y |
| latticeNo | String | Lattice compartment name (assigned for lattice compartment faults and cabinet full fault reports) | Y |
| contacts | String | Contact person | Y |
| phoneNum | String | Contact phone number | Y |
| descInfo | String | Description | Y |
| type | String | Fault type (1: Lattice compartment fault; 2: Device fault report; 3: Cabinet full fault report) | Y |
| status | String | Status (0: Unhandled; 1: Handled) | Y |
| handler | String | Handler | Y |
| handleDesc | String | Handling description | Y |
| handlingTime | String | Handling time | Y |
| fileUrl | String | Attachment path (non-empty indicates there is an attachment) | Y |
文档更新时间: 2025-07-23 11:24 作者:admin