latestSwagger 2.02026-08-10201771.8 KB

e0575f41ded3

Real Time Data

Alerts with message.

Returns the travel alerts for a bus or trolley route.Get all the route id from <a href='https://www3.septa.org/api/Alerts'>here</a>

get/Alerts/get_alert_data.php

Query parameters

route_idstring

Ex : bus_route_1 or trolley_route_10 or rr_route_chw

Response

success

route_idstring

Bus/Trolley route id

route_namestring

Bus/trolley route name

current_messagestring

Route alert message

advisory_idstring int32

Unique id for advisory

advisory_messagestring

Advisory to customers during alerts

detour_messagestring

message to customers (ex: details of alternate route to take)

detour_start_locationstring

Location where the detour starts

detour_start_date_timestring

Date and time when the route detour starts

detour_end_date_timestring

Date and time when the route detour ends

detour_reasonstring

reason for detour

last_updatedstring

Time since the alert for the route was updated

isSnow'Y' | 'N'

Determines if there are any snow alerts for the route