GET Seasonal Loads

Returns all seasonal loads.

Request Information

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

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
SegmentName

Segment name of the seasonal load.

string
RouteDescription

Route description of the seasonal load.

string
Status

Status of the seasonal load.

string
Date

Start date of restriction in effect.

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:
[
	{
		"SegmentName": "Highway 589",
		"RouteDescription": "9.6 km north of Jct. Hwy 591, north to end of Hwy 589",
		"Status": "Restrictions in effect",
		"Date": "2020-03-20",
		"Latitude": 48.650284,
		"Longitude": -89.325647
	},
	{
		"SegmentName": "Highway 523",
		"RouteDescription": "Jct. Hwy 60 at Madawaska south to Hasting/Nipissing County boundary",
		"Status": "Restrictions in effect",
		"Date": "2020-03-09",
		"Latitude": 45.373778,
		"Longitude": -77.92922
	}
]

XML

Sample:
<SeasonalLoadsList>
    <SeasonalLoads>
        <SegmentName>Highway 589</SegmentName>
        <RouteDescription>9.6 km north of Jct. Hwy 591, north to end of Hwy 589</RouteDescription>
        <Status>Restrictions in effect</Status>
        <Date>2020-03-20</Date>
        <Latitude>48.650284</Latitude>
        <Longitude>-89.325647</Longitude>
    </SeasonalLoads>
    <SeasonalLoads>
        <SegmentName>Highway 523</SegmentName>
        <RouteDescription>Jct. Hwy 60 at Madawaska south to Hasting/Nipissing County boundary</RouteDescription>
        <Status>Restrictions in effect</Status>
        <Date>2020-03-09</Date>
        <Latitude>45.373778</Latitude>
        <Longitude>-77.92922</Longitude>
    </SeasonalLoads>
</SeasonalLoadsList>