POST api/OpenApi/GetPowerStationWariningInfoByMultiCondition

告警列表接口

Request Information

URI Parameters

None.

Body Parameters

PowerStationWarningSearchParam
NameDescriptionTypeAdditional 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/05/2024 10:11:51",
  "endtime": "12/05/2024 10:11:51",
  "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>2024-12-05T10:11:51.6283445+08:00</endtime>
  <sn>sample string 2</sn>
  <starttime>2024-12-05T10:11:51.6283445+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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.