Wiki

Case Status
Log In

Wiki

 
List of API Calls»API Call - Version
  • RSS Feed

Last modified on 1/19/2023 11:15 AM by User.

Tags:

API Call - Version

Description:

This call is designed to report an object's version number. The object may be a port, identified by its port_id, or a country, identified by its locode  

Parameters:
format json, xml
port_id The port's unique ID.
  or
country_locode The country's unique locode

Call Format:

For port version information: /api/port/<port_id>/version.<format>
For country information: /api/country/<country_locode>/version.<format>

Example 1:

Input: https://www.findaport.com/api/port/20/version.xml
  or
  http://www.findaport.com/api/country/AU/version.xml
Output: An XML object showing the highest version level of the object

Output Fields:

Port version information

Output Fields Descriptions Examples
resource resource description port, country
resource_id ID of the resource, e.g. Port number or Country locode 20, AU
version_number Highest Version Number of the port or its parts 76178

Output example:

Example Output - <port_id>.xml

Previous API Call: Update List                         Next API Call: Weather - View Forecast                         Return to API Call Summary


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