Get City List
POST/v1/api/Pull/GetCityList
Retrive the city list
Request
- application/json
Body
Possible values: [8
, 4
, 3
, 1
, 2
, 5
, 6
, 7
]
Default value: 8
LanguageCodeEnum:
8=br
| 4=pt
| 3=es
| 1=en
| 2=fr
| 5=da
| 6=it
| 7=de
An arbitrary string returned in the response for tracking/debugging.
The date and time (ISO format) just before the request is sent.
Possible values: [0
, 1
]
The target environment for this request.
TargetEnum:
0=Test
| 1=Production
Default value: 1
The version number of this request format.
The code of country.
State search code.
Not yet implemented.
Zone code. Not yet implemented.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- MOD1
- MOD2
- MOD1
- MOD2
- ]
The same token received in the request.
ErrorsType objectnullable
Errors object[]
Error code associated with the warning.
Possible values: [8
, 4
, 3
, 1
, 2
, 5
, 6
, 7
]
Language of the warning message.
LanguageCodeEnum:
8=br
| 4=pt
| 3=es
| 1=en
| 2=fr
| 5=da
| 6=it
| 7=de
Short description or summary of the warning.
Possible values: [8
, 4
, 3
, 1
, 2
, 5
, 6
, 7
]
Default value: 8
LanguageCodeEnum:
8=br
| 4=pt
| 3=es
| 1=en
| 2=fr
| 5=da
| 6=it
| 7=de
Success objectnullable
Possible values: [0
, 1
]
The environment target. The same value received in the request.
TargetEnum:
0=Test
| 1=Production
The date in ISO format right before the response is sent.
Version of the API being used. The same value received in the request.
WarningsType objectnullable
Warnings object[]
Error code associated with the warning.
Possible values: [8
, 4
, 3
, 1
, 2
, 5
, 6
, 7
]
Language of the warning message.
LanguageCodeEnum:
8=br
| 4=pt
| 3=es
| 1=en
| 2=fr
| 5=da
| 6=it
| 7=de
Short description or summary of the warning.
PositionsType objectrequired
Positions object[]required
List of positions.
The measure of the angular distance on a meridian north or south of the equator.
The measure of the angular distance on a meridian east or west of the prime meridian.
Code object required
Code.
integer
string
The code of country.
Name.
SearchCode object required
Name.
integer
string
Zone code. Not yet implemented.
{
"EchoToken": "string",
"ErrorsType": {
"Errors": [
{
"Code": 0,
"Language": 8,
"ShortText": "string"
}
]
},
"PrimaryLangID": 8,
"Success": {},
"Target": 0,
"TimeStamp": "string",
"Version": 0,
"WarningsType": {
"Warnings": [
{
"Code": 0,
"Language": 8,
"ShortText": "string"
}
]
},
"PositionsType": {
"Positions": [
{
"Latitude": 0,
"Longitude": 0,
"Code": 0,
"CountryUID": 0,
"Name": "string",
"SearchCode": 0,
"SearchZoneCode": "string"
}
]
}
}