POST api/{version}/District/GetSuperDistrict

获取上级及本级行政区

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

adcode 行政区编码

GetSubDistrictList
NameDescriptionTypeAdditional 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
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.