Versions Compared

Key

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

...

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.

...

There are no parameters.

Returns

200 - OK

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

Sample response body

Code Block
[
  {
    "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.

Code Block
"An Api key wasn't provided."

If the API key is invalid.

Code Block
"Unauthorized client."