GET api/Cities/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of InsCompCityModels
NameDescriptionTypeAdditional information
code

string

None.

city

string

None.

country

string

None.

countrycode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "code": "sample string 1",
    "city": "sample string 2",
    "country": "sample string 3",
    "countrycode": "sample string 4"
  },
  {
    "code": "sample string 1",
    "city": "sample string 2",
    "country": "sample string 3",
    "countrycode": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInsCompCityModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiPromenna.Models">
  <InsCompCityModels>
    <city>sample string 2</city>
    <code>sample string 1</code>
    <country>sample string 3</country>
    <countrycode>sample string 4</countrycode>
  </InsCompCityModels>
  <InsCompCityModels>
    <city>sample string 2</city>
    <code>sample string 1</code>
    <country>sample string 3</country>
    <countrycode>sample string 4</countrycode>
  </InsCompCityModels>
</ArrayOfInsCompCityModels>