- Previous: Method 6: Rail Incidents
- Up: Description of Methods
- Next: Method 8: Station Entrances
Method 7: Elevator / Elevator Incidents
Description: Returns elevator and escalator statuses as they appear on the Public Information Displays throughout the transit system.
Examples
url (REST) : http://api.wmata.com/Incidents.svc/ElevatorIncidents?StationCode=A01&api_key=YOUR_API_KEY
url (JSON): http://api.wmata.com/Incidents.svc/json/ElevatorIncidents?StationCode=A01&api_key=YOUR_API_KEY
Response example (REST):
<ElevatorIncidentsResp xmlns="http://www.wmata.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ElevatorIncidents> <ElevatorIncident> <DateOutOfServ>2010-07-27T00:00:00</DateOutOfServ> <DateUpdated>2010-07-28T00:26:27</DateUpdated> <DisplayOrder>9</DisplayOrder> <LocationDescription>Escalator between street and mezzanine</LocationDescription> <StationCode>A01</StationCode> <StationName>METRO CENTER, G and 13th St Entrance</StationName> <SymptomCode>3430</SymptomCode> <SymptomDescription>CALLBACK/REPAIR</SymptomDescription> <TimeOutOfService>1414</TimeOutOfService> <UnitName>A01W01</UnitName> <UnitStatus>C</UnitStatus> <UnitType>ESCALATOR</UnitType> </ElevatorIncident> </ElevatorIncidents> </ElevatorIncidentsResp>
Description of response fields:
- DisplayOrder - display priority
- DateOutOfServ - Date when elevator/escalator was switched off.
- DateUpdated - the time when the information was last received.
- Location Description - Location of elevator/escalator.
- StationCode - ID of the station affected by the escalator/elevator incident. Stations are referenced by codes. See Stations method to find station names.
- StationName - Name of the station affected by the escalator/elevator incident.
- SymptomCode - ID of the reason why elevator/escalator was switched off.
- SymptomDescritpion - Information why elevator/escalator was switched off.
- TimeOutOfService - minutes out of service to the moment of DateUpdated.
- UnitName - ID of the affected elevator/escalator.
- UnitStatus - can be "C" or "O". O = Out of service (has open issues). C = Operational (open issues were closed).
- UnitType - "ESCALATOR" or "ELEVATOR"
- Previous: Method 6: Rail Incidents
- Up: Description of Methods
- Next: Method 8: Station Entrances
Docs Navigation
- Description of Methods
- Method 1: Rail Lines
- Method 2: Rail Stations
- Method 3: Rail Station Info
- Method 4: Rail Paths
- Method 5: Rail Station Prediction
- Method 6: Rail Incidents
- Method 7: Elevator / Elevator Incidents
- Method 8: Station Entrances
- Method 9: Bus Routes
- Method 10: Bus Stops
- Method 11: Bus Schedule by Route
- Method 12: Bus Route Details
- Method 13: Bus Positions
- Method 14: Bus Schedule by Stop
- Method 15: Bus Prediction
9 Comments
Agile Media Ventures – 2 years ago
What does the "C" and "O" in UnitStatus represent?
Agile Media Ventures – 2 years ago
It would be helpful for the response to include the rail station where the customer should ride to pick up a shuttle bus.
Kevin Cole – 2 years ago
"C" = closed, "O" = opened, perhaps?
(Given that "elevator" and "escalator" get spelled out, I'm not sure what the incentive is to abbreviate UnitStatus to a single letter is...)
Peter Shashkin – 2 years ago
Its vise versa actually "C" - issues are <b>closed</b> "O" - has <b>open</b> issues (meaning not working right). We will update docs
christophe – 2 years ago
Because you have a service providing entrances for each station and an ID for each entrance, wouldn't it be possible to provide the entrance ID for an elevator incident.
Peter Shashkin – 2 years ago
we dont have this info available right now, but - considering that most (all?) stations have exactly one elevator how useful would it be to have an id for that elevator
christophe – 2 years ago
I agree for the elevators but you are also providing info for escalators too that's why I was asking about entrance info.
Also, the API does not seem to be returning real data right now
Jim Stone – 2 years ago
Does an escalator outage indicate that the escalator is blocked off or merely stopped?
Wmata Admin – 1 year ago
Jim - Sorry for late response - this means it is not moving, or worse. You can not tell if it is blocked or not, unless you look into description fields, and its says it right there
Please sign in to post a comment.