GET api/Region/AllChinaProvinces

中国的所有省份(一级)

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

中国的所有省份(一级)

Collection of RegionDto
NameDescriptionTypeAdditional information
Name

地域名称

string

None.

Value

地域代码

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

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>