GET api/Region/AllDistricts?city={city}
给定城市所有区(三级)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| city |
给定城市代码 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
给定城市所有区(三级)
Collection of RegionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
地域名称 |
string |
None. |
| Value |
地域代码 |
integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<ArrayOfRegionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Region">
<RegionDto>
<Name>sample string 1</Name>
<Value>2</Value>
</RegionDto>
<RegionDto>
<Name>sample string 1</Name>
<Value>2</Value>
</RegionDto>
</ArrayOfRegionDto>