POST api/OpenApi/GetPowerStationWariningInfoByMultiCondition
告警列表接口
Request Information
URI Parameters
None.
Body Parameters
PowerStationWarningSearchParam| Name | Description | Type | Additional information |
|---|---|---|---|
| stationid |
电站id |
string |
None. |
| sn |
设备sn |
string |
None. |
| starttime |
开始时间 |
date |
None. |
| endtime |
结束时间 |
date |
None. |
| page_index | integer |
None. |
|
| page_size | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"stationid": "sample string 1",
"sn": "sample string 2",
"starttime": "12/28/2025 14:48:59",
"endtime": "12/28/2025 14:48:59",
"page_index": 4,
"page_size": 5
}
application/xml, text/xml
Sample:
<PowerStationWarningSearchParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.OpenApi.Models"> <page_index>4</page_index> <page_size>5</page_size> <endtime>2025-12-28T14:48:59.8930477+08:00</endtime> <sn>sample string 2</sn> <starttime>2025-12-28T14:48:59.8930477+08:00</starttime> <stationid>sample string 1</stationid> </PowerStationWarningSearchParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
返回告警列表,包括电站ID\电站名称、设备SN、设备名称、告警名称、级别、状态、发生时间
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |