GET api/City/GetCityByStateId/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of City
NameDescriptionTypeAdditional information
Id

integer

None.

StateId

integer

None.

CityName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "StateId": 2,
    "CityName": "sample string 3"
  },
  {
    "$ref": "1"
  }
]

application/octet-stream

Sample:
[{"$id":"1","Id":1,"StateId":2,"CityName":"sample string 3"},{"$ref":"1"}]