GET api/City/GetCityList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Region_City
NameDescriptionTypeAdditional information
City_Id

integer

None.

CityName

string

None.

Region_Id

integer

None.

RegionName

string

None.

RegionCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "City_Id": 1,
    "CityName": "sample string 2",
    "Region_Id": 1,
    "RegionName": "sample string 3",
    "RegionCode": "sample string 4"
  },
  {
    "City_Id": 1,
    "CityName": "sample string 2",
    "Region_Id": 1,
    "RegionName": "sample string 3",
    "RegionCode": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRegion_City xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <Region_City>
    <CityName>sample string 2</CityName>
    <City_Id>1</City_Id>
    <RegionCode>sample string 4</RegionCode>
    <RegionName>sample string 3</RegionName>
    <Region_Id>1</Region_Id>
  </Region_City>
  <Region_City>
    <CityName>sample string 2</CityName>
    <City_Id>1</City_Id>
    <RegionCode>sample string 4</RegionCode>
    <RegionName>sample string 3</RegionName>
    <Region_Id>1</Region_Id>
  </Region_City>
</ArrayOfRegion_City>