/
6001: Lookup city from zip code
6001: Lookup city from zip code
Returns the correct city name based on country code and zip code
Endpoint ID: | 6001 | |
Method: | GET | |
URL: | /services/lookup/city/{country-code}/{zip-code}
| |
country-code | Country code of the country in which zip code lookup should be made | |
zip-code | Zip code to find name of city for | |
Request body: | None | |
Response body: | JSON data with information about the found city Example – Lookup city name for zip code 4000 in Denmark: { "countryCode": "DK", "zipCode": "4000", "city": "Roskilde" } | |
Status codes: | 200 | City name found successfully |
400 | City lookup for the requested country is not supported | |
404 | The specified zip code was not found in the given country |