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."