GET Travel Info Centres

Returns all travel information centers.

Request Information

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

URI Parameters

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


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
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
Name

The name of the information center.

string
Open

The hours of operation of the information center.

string
Address

The address of the information center.

string
PhoneNumber

The phone number that can be used to contact the information center.

string
Email

The email that can be used to contact the information center.

string
Region

The name of the region of the travel info centre.

string

Response Formats

JSON

Sample:
[
    {
        "Id": 593596478,
        "Latitude": 45.180778,
        "Longitude": -74.397759,
        "Name": "Bainsville",
        "Open": "Year-round ",
        "Address": "22064 North Service Road",
        "PhoneNumber": "613-347-3498",
        "Email": "OntarioTravel.Bainsville@ontario.ca",
        "Region": "Eastern"
    },
    {
        "Id": 340962807,
        "Latitude": 44.33552,
        "Longitude": -79.68329,
        "Name": "Barrie",
        "Open": "Year-round",
        "Address": "21 Mapleview Drive East (Hwy 401 & Maple Drive)",
        "PhoneNumber": "705-725-7280",
        "Email": "ontariotravel.barrie@ontario.ca",
        "Region": "Central"
    }
]

XML

Sample:
<InformationCenterList>
  <InformationCenter>
    <Id>593596478</Id>
    <Latitude>45.180778</Latitude>
    <Longitude>-74.397759</Longitude>
    <Name>Bainsville</Name>
    <Open>Year-round </Open>
    <Address>22064 North Service Road</Address>
    <PhoneNumber>613-347-3498</PhoneNumber>
    <Email>OntarioTravel.Bainsville@ontario.ca</Email>
    <Region>Eastern</Region>
  </InformationCenter>
  <InformationCenter>
    <Id>340962807</Id>
    <Latitude>44.33552</Latitude>
    <Longitude>-79.68329</Longitude>
    <Name>Barrie</Name>
    <Open>Year-round</Open>
    <Address>21 Mapleview Drive East (Hwy 401 & Maple Drive)</Address>
    <PhoneNumber>705-725-7280</PhoneNumber>
    <Email>ontariotravel.barrie@ontario.ca</Email>
    <Region>Central</Region>
  </InformationCenter>
</InformationCenterList>