GET Carpool Lots

Returns all carpool lots.

Request Information

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

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
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
CrossStreet

The name of the road intersecting the highway closest to the carpool lot.

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
Spaces

The total number of spaces in the carpool lot.

string
BarrierFreeSpaces

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

string
Phone

Yes or no indicating if the availability of a phone 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

Response Formats

JSON

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

XML

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