/
Marine API

Marine API

Note: This is a work in progress.

Returns a list of Canadian ports using the Marine Cloud Web API.

Important

Requires an API key sent through the http headers.

API

Returns a list of Canadian ports using the Marine Cloud Web API.

GET - /api​/v1​/canadian-ports

Parameters

There are no parameters.

Returns

200 - OK

Note: Response is cached for 60 seconds (subject to change).

Sample response body

[ { "typeId": "string", "valueId": "string", "valueTextEnglish": "string", "valueTextFrench": "string", "isActive": true, "customValue1": "string", "customValue2": "string", "parentList": "string" } ]

401 - Unauthorized

If the API key isn’t part of the http headers.

"An Api key wasn't provided."

If the API key is invalid.

"Unauthorized client."

 

Related content

MTOA Web Service Framework
MTOA Web Service Framework
Read with this
Small Craft Harbour
Small Craft Harbour
More like this
Canada Port
Canada Port
More like this
Air and Marine Programs - Port Overview
Air and Marine Programs - Port Overview
More like this
How to permit access to a web service using a Proxy
How to permit access to a web service using a Proxy
More like this
CPSCS Vessel Tombstone API
CPSCS Vessel Tombstone API
More like this