GET api/City/GetAllCity

Request Information

URI Parameters

None.

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"}]