Cities

GET /openapi/MasterData/GetCities — TMS API · Master Data

Returns city codes. The city name in address fields (toLocation) must match the cityCode in this list. If countryCode is provided, only cities of that country are returned; if the country is not found, an empty list is returned.

Parametreler

  • countryCode (query, string): Country code; if empty, cities of all countries are returned.

Yanıtlar

  • 200: Cities
  • 400: List could not be retrieved
  • 401: Token missing, invalid, or expired (response without body).

200 yanıt alanları

  • cityCode (string): City code (city name).
  • countryCode (string): Country code.