Location Service
City
Create a new City
1min
POST
PATH PARAMETERS
countryCode
CountryCode
*Unique Country Code
stateCode
StateCode
*Unique State Code
HEADER PARAMETERS
X-COREOS-REQUEST-ID
string
*Unique RequestId
X-COREOS-TID
string
*Tenant id
X-COREOS-USERINFO
string
core-os user info token
X-COREOS-ACCESS
string
*core-os access token
BODY PARAMETERS
body
CityRequest
*Create a City
cityName
string
*county
string
zipCode
string
*geoCodeCity
object
Example: {"lat":"30.3752","long":"76.7821"}
geoCodeZip
object
Example: {"lat":"30.3752","long":"76.7821"}
alias
Alias[]
RESPONSES
201
OK
SuccessCityResponse
[All Of:object]request
Request
data
object
400
Error Occurred
GetErrorResponse
[All Of:ErrorResponse]error
Error
*Error Information
request
Request
*401
Error Occurred
GetErrorResponse
[All Of:ErrorResponse]error
Error
*Error Information
request
Request
*403
Error Occurred
GetErrorResponse
[All Of:ErrorResponse]error
Error
*Error Information
request
Request
*404
Error Occurred
GetErrorResponse
[All Of:ErrorResponse]error
Error
*Error Information
request
Request
*503
Error Occurred
GetErrorResponse
[All Of:ErrorResponse]error
Error
*Error Information
request
Request
*

Updated 27 Sep 2023
Did this page help you?