Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This request will return all vessel schedule data from all our partner ports.

Code Block
https://api.portconnect.io/v1/scheduled-vessels

This request will return all vessel schedule data for Tauranga.

Code Block
https://api.portconnect.io/v1/scheduled-vessels?portCode=NZTRG

This request will return all commercial vessels (excludes cruise ships) for Auckland that are expected to arrive between 2nd May 12:00am and 31st May 12:00 am:Tauranga that are in port.

Code Block
https://api.portconnect.io/v1/scheduled-vessels?portCode=NZAKLNZTRG&vesselType=COMMERCIAL&vesselStatus=EXPECTED&arrivalDateFrom=2022-05-02&arrivalDateTo=2022-05-31INPORT

This request will return all commercial vessels (excludes cruise ships) for Tauranga that are in port.Auckland that are expected to arrive between 2nd May 12:00am and 31st May 12:00 am:

Code Block
https://api.portconnect.io/v1/scheduled-vessels?portCode=NZTRGNZAKL&vesselType=COMMERCIAL&vesselStatus=INPORTEXPECTED&arrivalDateFrom=2022-05-02&arrivalDateTo=2022-05-31

Example Response:

The response data is the same as that returned via the vessel schedule screen on the PortConnect website, and should be self-explanatory.

...