Wiki

Case Status
Log In

Wiki

 
List of API Calls»API Call - Port - Section - Vi…
  • RSS Feed

Last modified on 19/01/2023 10:30 by User.

Tags:

API Call - Port - Section - View Section

Description:

This call is designed to produce a particular section of a port based on an input of the section's name and the port's ID.

Parameters:
format json, xml
port_id The port's unique ID.
section_name The name of a section.

Call Format:

/api/port/<port_id>/section/<section_name>.<format>

    See Reference Data for a list of the sections

 Example 1:

Input: https://www.findaport.com/api/port/216/section/intro.xml
Output: An XML output displaying the introduction section (section name = intro) for the port of Barcelona (port ID = 216).

Example 2:

Input: https://www.findaport.com/api/port/216/section/fuel.json
Output: A JSON output displaying the fuel section (section name = fuel) for the port of Barcelona (port ID = 216).

Output example:

Example Output

(Any references to "gttp" can be ignored)

Also see

Previous API Call: Port - List Sections                     Next API Call: Port - View Port                     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.