POST api/{version}/PowerStationMonitor/GetPowerstationStatusForApp
APP获取电站状态统计2:停机,1:发电,0:待机,-1:离线
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
key 电站关键字 qry_type 查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点)
GetPowerstationStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
None. |
|
| condition | string |
None. |
|
| qry_type |
查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点) |
integer |
None. |
| page_index | integer |
None. |
|
| page_size | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"key": "sample string 1",
"condition": "sample string 2",
"qry_type": 3,
"page_index": 4,
"page_size": 5
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |