v1

latestSwagger 2.02026-07-146023.3 KB

XML - Bus Incidents

<h4 class="text-primary">Description</h4> <p>Returns a set of reported bus incidents/delays for a given Route. Omit the Route to return all reported items.</p> <p>Note that the Route parameter accepts only base route names and no variations, i.e.: use 10A instead of 10Av1 and 10Av2.</p> <p>Bus incidents/delays are refreshed once every 20 to 30 seconds approximately.</p> <h4 class="text-primary">Response Elements</h4> <table class="table table-condensed table-hover"> <thead> <tr> <th class="col-md-3">Element</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>BusIncidents</td> <td> Array containing bus incident information (<a href= "#BusIncident">BusIncident</a>). </td> </tr> <tr> <td colspan="2"> <div class="text-primary" style="margin-top: 1em"> <a id="BusIncident" name="BusIncident">BusIncident Elements</a> </div> </td> </tr> <tr> <td>DateUpdated</td> <td>Date and time (Eastern Standard Time) of last update. Will be in YYYY-MM-DDTHH:mm:ss format (e.g.: 2014-10-28T08:13:03).</td> </tr> <tr> <td>Description</td> <td>Free-text description of the delay or incident.</td> </tr> <tr> <td>IncidentID</td> <td>Unique identifier for an incident.</td> </tr> <tr> <td>IncidentType</td> <td>Free-text description of the incident type. Usually <span class="text-info">Delay</span> or <span class= "text-info">Alert</span> but is subject to change at any time.</td> </tr> <tr> <td>RoutesAffected</td> <td>Array containing routes affected. Routes listed are usually identical to base route names (i.e.: not 10Av1 or 10Av2, but 10A), but <em>may</em> differ from what our bus methods return.</td> </tr> </tbody> </table>
get/BusIncidents

Query parameters

Route'90' | 'X1'

Bus route. Use full route code, i.e.: C2 instead of C2v1, C2v2, etc.

Response

Default response code.

All 6 operations