Return a City by ID
GET
/v{version}/cities/{cityId}Return a City by ID...
Request
Path Params
cityId
integer <int32>
required
version
string
required
The requested API version
Default:
2.0
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Record Not Found(404)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
OK
Data Schema
status_code
integer <int32>
optional
Gets or sets the status_code.
error_message
string
optional
Gets or sets the error_message.
result
object (CityViewModel)
optional
id
integer <int32>
optional
Gets or Sets Id
name
string
required
Gets or Sets Name
country_id
integer <int32>
optional
Gets or Sets CountryId
total_count
integer <int32>
optional
Example
Not configured
Last modified: 25 days ago