GET Ferries

Returns all ferry terminals.

Request Information

https://511on.ca/api/v2/get/ferryterminals

URI Parameters

NameDescriptionTypeAdditional information
format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

lang

Valid values are 'en' or 'fr', default 'en'.

string

Optional

Response Information

Resource Description


NameDescriptionType
Name

The name of the ferry terminal.

string
Address

The address of the ferry terminal.

string
Latitude

The latitude describing the location. Format: double between -90 and 90.

double
Longitude

The longitude describing the location. Format: double between -180 and 180.

double

Response Formats

JSON

Sample:
[
  {
    "Id":7004,
    "Latitude":45.585512,
    "Longitude":-75.241585,
    "Name":"Ecolos Ferry Service",
    "Website":"http://www.ecolos.ca/"
  },
  {
    "Id":7008,
    "Latitude":43.63154,
    "Longitude":-79.35751,
    "Name":"Toronto Ferrydocks",
    "Website":"http://www.toronto.ca/parks/island/ferry-schedule.htm"
  }
]

XML

Sample:
<FerryTerminalsList>
  <FerryTerminals>
    <Id>7004</Id>
    <Latitude>45.585512</Latitude>
    <Longitude>-75.241585</Longitude>
    <Name>Ecolos Ferry Service</Name>
    <Website>http://www.ecolos.ca/</Website>
  </FerryTerminals>
  <FerryTerminals>
    <Id>7008</Id>
    <Latitude>43.63154</Latitude>
    <Longitude>-79.35751</Longitude>
    <Name>Toronto Ferrydocks</Name>
    <Website>
      http://www.toronto.ca/parks/island/ferry-schedule.htm
    </Website>
  </FerryTerminals>
</FerryTerminalsList>