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"

9 Comments

  1. Agile Media Ventures2 years ago

    What does the "C" and "O" in UnitStatus represent?

  2. Agile Media Ventures2 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.

  3. Kevin Cole2 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...)

  4. Peter Shashkin2 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

  5. christophe2 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.

  6. Peter Shashkin2 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

  7. christophe2 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

  8. Jim Stone2 years ago

    Does an escalator outage indicate that the escalator is blocked off or merely stopped?

  9. Wmata Admin1 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.