v1

latestSwagger 2.02026-07-14160108.2 KB

XML - Lines

<h4 class="text-primary">Description</h4> <p>Returns information about all rail lines.</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>Lines</td> <td> Array containing line information (<a href="#Line">Line</a>). </td> </tr> <tr> <td colspan="2"> <div class="text-primary" style="margin-top: 1em"> <a id="Line" name="Line">Line Elements</a> </div> </td> </tr> <tr> <td>DisplayName</td> <td>Full name of line color.</td> </tr> <tr> <td>EndStationCode</td> <td>End station code. For example, will be E10 (Greenbelt) for the Green Line, B11 (Glenmont) for the Red Line, etc. Use this value in other rail-related APIs to retrieve data about a station.</td> </tr> <tr> <td>InternalDestination1</td> <td>Intermediate terminal station code. During normal service, some trains on some lines might end their trip prior to the StartStationCode or EndStationCode. A good example is on the Red Line where some trains stop at A11 (Grosvenor) or B08 (Silver Spring). Empty string if not defined.</td> </tr> <tr> <td>InternalDestination2</td> <td>Similar to InternalDestination1.</td> </tr> <tr> <td>LineCode</td> <td>Two-letter abbreviation for the line (e.g.: RD, BL, YL, OR, GR, or SV).</td> </tr> <tr> <td>StartStationCode</td> <td>Start station code. For example, will be F11 (Branch Avenue) for the Green Line, A15 (Shady Grove) for the Red Line, etc. Use this value in other rail-related APIs to retrieve data about a station.</td> </tr> </tbody> </table>
get/Lines

Response

Default response code.

All 16 operations