GET Carpool Lots

Returns all carpool lots.

Request Information

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

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
Highway

The name of the highway closest to the carpool lot.

string
LocationDescription

A description of the location.

string
Interchange

The number of the interchange that is closest to the carpool lot.

string
EnterLotFrom

The name of the street(s) which have entrances to this carpool lot.

string
ParkingSpaces

The total number of spaces in the carpool lot.

string
AccessibleSpaces

The total number of spaces without barriers in the carpool lot.

string
Bike

Yes or no indicating if there is a bike rack in the carpool lot.

string
Lights

Yes or no indicating if they have lights inside the carpool lot.

string
Transit

Yes or no indicating whether or not there is a public transit stop at this carpool lot.

string
Region

the cardinal location of the carpool lot. Examples: Southwestern, Northern, Central

string

Response Formats

JSON

Sample:
[
  {
    "Id":1361264909,
    "Latitude":43.509831,
    "Longitude":-79.749711,
    "Highway":"Hwy 407",
    "LocationDescription":"Trafalgar Rd",
    "Interchange":"21",
    "EnterLotFrom":"Trafalgar Rd or Hwy 407 westbound off-ramp",
    "ParkingSpaces":"106",
    "AccessibleSpaces":"0",
    "Bike":"No",
    "Lights":"No",
    "Transit":"Yes",
    "Region":"Central"
  },
  {
    "Id":268559450,
    "Latitude":43.944143,
    "Longitude":-79.002217,
    "Highway":"Hwy 7",
    "LocationDescription":"East of Halls Road",
    "Interchange":null,
    "EnterLotFrom":"Hwy 7",
    "ParkingSpaces":"160",
    "AccessibleSpaces":"2",
    "Bike":"No",
    "Lights":"Yes",
    "Transit":"No",
    "Region":"Central"
  }
]

XML

Sample:
<CarpoolLotsList>
  <CarpoolLots>
    <Id>1361264909</Id>
    <Latitude>43.509831</Latitude>
    <Longitude>-79.749711</Longitude>
    <Highway>Hwy 407</Highway>
    <LocationDescription>Trafalgar Rd</LocationDescription>
    <Interchange>21</Interchange>
    <EnterLotFrom>Trafalgar Rd or Hwy 407 westbound off-ramp</EnterLotFrom>
    <ParkingSpaces>106</ParkingSpaces>
    <AccessibleSpaces>0</AccessibleSpaces>
    <Bike>No</Bike>
    <Lights>No</Lights>
    <Transit>Yes</Transit>
    <Region>Central</Region>
  </CarpoolLots>
  <CarpoolLots>
    <Id>268559450</Id>
    <Latitude>43.944143</Latitude>
    <Longitude>-79.002217</Longitude>
    <Highway>Hwy 7</Highway>
    <LocationDescription>East of Halls Road</LocationDescription>
    <Interchange/>
    <EnterLotFrom>Hwy 7</EnterLotFrom>
    <Spaces>160</Spaces>
    <ParkingSpaces>2</ParkingSpaces>
    <Bike>No</Bike>
    <Lights>Yes</Lights>
    <Transit>No</Transit>
    <Region>Central</Region>
  </CarpoolLots>
</CarpoolLotsList>