Create a new City
POST
/v{version}/citiesCreate a new City...
Request
Path Params
version
string
required
The requested API version
Default:
2.0
Body Params application/x-www-form-urlencoded
id
integer <int32>
optional
Gets or Sets Id
name
string
required
Gets or Sets Name
country_id
integer <int32>
optional
Gets or Sets CountryId
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Forbidden(403)
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
array[integer <int32>]
optional
Gets or sets the result.
total_count
integer <int32>
optional
Example
Not configured
Last modified: 5 days ago