GET api/DealerOutlet/GetCity/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetCity_Model
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:
<ArrayOfGetCity_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <GetCity_Model>
    <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>
  </GetCity_Model>
  <GetCity_Model>
    <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>
  </GetCity_Model>
</ArrayOfGetCity_Model>