POST api/{version}/PowerStationMonitor/QueryPowerStationMonitorForAppNew
新APP获取电站列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
status 3:全部,2:停机,1:发电,0:待机,-1:离线,-2:无设备 condition “SN”则搜索SN号 qry_type 查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点)
QueryPowerStation| Name | Description | Type | Additional information |
|---|---|---|---|
| powerstation_id | string |
None. |
|
| key | string |
None. |
|
| status | string |
None. |
|
| adcode | string |
None. |
|
| org_id | string |
None. |
|
| orderby | string |
None. |
|
| condition | string |
None. |
|
| powerstation_type | string |
None. |
|
| powerstation_status |
查询类型 1:发电中 0:待机中 -1:离线中 2:停机中 -2:无设备 |
string |
None. |
| qry_type |
查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点) |
integer |
None. |
| page_index | integer |
None. |
|
| page_size | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"powerstation_id": "sample string 1",
"key": "sample string 2",
"status": "sample string 3",
"adcode": "sample string 4",
"org_id": "sample string 5",
"orderby": "sample string 6",
"condition": "sample string 7",
"powerstation_type": "sample string 8",
"powerstation_status": "sample string 9",
"qry_type": 10,
"page_index": 11,
"page_size": 12
}
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. |