POST api/District/GetSubDistrictListForPowerStation
获取下级行政区列表(按电站)
Request Information
URI Parameters
None.
Body Parameters
adcode 行政区编码 type 1:搜索本组织以及下属组织的电站 2:只搜索当前组织的电站 3:自建的电站和由电站归属分配所得的电站(用来区分页面) qry_type 查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点)(用来区分内容)
GetSubDistrictList| Name | Description | Type | Additional information |
|---|---|---|---|
| adcode | string |
None. |
|
| type | integer |
None. |
|
| qry_type |
查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点) |
integer |
None. |
| inverter_condition |
设备情况 0:全部,1:有设备,2:无设备 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"adcode": "sample string 1",
"type": 2,
"qry_type": 3,
"inverter_condition": 4
}
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. |