Add the file number obtained for the previous request at the end of the following URL.
URL: http://pannes.hydroquebec.com/pannes/donnees/v3_0/bismarkers{BIS_VERSION}.json
Example :
http://pannes.hydroquebec.com/pannes/donnees/v3_0/bismarkers20180418084019.json
The list of outages specifies the date of the outage, the time at whichservice is expected to be restored and the geographic coordinates (latitude and longitude) of the area affected.
Sample of the data associated with an outage:
{ "messages": {}, "pannes": [
[ 2, "2018-04-19 10:13:03", "2018-04-19 11:15:00", "P", "[-74.03666800098304, 45.63760774828376]", "L", "4", "44", "9001", "" ],
[ 1, "2018-04-19 08:24:30", "2018-04-19 12:15:00", "P", "[-70.69765492300203, 46.50093403672063]", "L", "4", "44", "7509", "" ],
Interpreting the data
messages: Communication messages
pannes: Number of customers affected by the outage
YYYY-MM-DD HH:MM:SS: Date and start time of the outage (24-hour clock)
YYYY-MM-DD HH:MM:SS: Expected end date of the outage and estimated time the outage will end
P: Outage
[-73.00751272875362, 46.19771470407507]: Coordinates of the outage area
Data associated with the outage status
A: Work assigned
L: Crew at work
R: Crew on the way
"defaut": ""
Data to ignore
4
Data associated with the cause of the outage
11, 12, 13, 14,15, 58, 70, 72, 73, 74, 79 or defaut: Equipment failure
21, 22, 24, 25 ou 26: Weather conditions
31, 32, 33, 34, 41, 42, 43, 44, 54, 55, 56 ou 57: Accident or incident
51: Damage due to vegetation
52 ou 53: Damage caused by an animal
1111: Identifier of the municipality affected
"(number)": Identifier of the outage message