Description:
This call is designed to produce a list of the locales of the specified country. A locale is an administrative or other region, island, etc. of the country
Parameters: | |
---|---|
locode | UN Location code of the country |
format | json, xml |
Call Format:
/api/country/<locode>/locales.<format>
Example:
Input: | https://www.findaport.com/api/country/<locode>/locales.xml |
Output: | An XML output displaying all the locales of the specified country. |
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 | not used |
version | Version number of locale record | 425 |
Output example:
Example Output |
---|
Previous API Call: Country - List Countries Next API Call: API Call - Country - List Ports 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.