Wiki

Case Status
Log In

Wiki

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

Last modified on 4/13/2015 2:52 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: http://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.

 

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.