Wiki

Case Status
Log In

Wiki

 
List of API Calls»API Call - Locale - List Local…
  • RSS Feed

Last modified on 19/01/2023 08:57 by User.

Tags:

API Call - Locale - List Locales

Description:

This call is designed to produce a list of the locales of all the countries.

See also Country - List Locales Country - List Locales

Parameters:
format json, xml

Call Format:

/api/locales.<format>

Example 1:

Input: https://www.findaport.com/api/locales.xml
Output: An XML output displaying all the locales of all the countries.

Output Fields:

Output fields Descriptions Examples
id Unique identifier 603
locode Country UN/LOCODE AU
state State code Qld
island Island name Phillip Is
zone Zone name West of Thursday Island
full_name Location's full name Qld, Australia - [West of Thursday Island]
parent_id Parent location identifier Parent locale, if available
version Version  

Output example:

Example Output

Previous API Call: Country - View Country Info     Next API Call: News - View News                               Return to API Call Summary


Need an API Key? Click here here for more details.

 

If you would like to find out more about Findaport.com or our Findaport API service, please contact us at info@portinfo.co.uk. Shipping Guides Ltd are recognised industry specialists in publishing port and harbour information for your various port entry requirements. For more information on our products, please visit www.portinfo.co.uk.