Back

GET api/V1/Schedule/Line/Stop/{Date}/{LineCode}/{LineDirection}

Displays The line stops in effect for the date, line code and line direction given.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
Date

Date of interest (yyyymmdd)

string

Default value is

LineCode

Line Code of interest

string

Default value is

LineDirection

Line Direction of interest

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Lines and their stops for the date, and line code and direction given.

Response Formats

application/json, text/json

Sample:
{
  "Metadata": {
    "TimeStamp": "sample string 1",
    "ErrorCode": "sample string 2",
    "ErrorMessage": "sample string 3"
  },
  "Lines": {
    "Code": "sample string 1",
    "Direction": "sample string 2",
    "Display": "sample string 3",
    "Stop": [
      {
        "Code": "sample string 1",
        "Order": 2,
        "Name": "sample string 3",
        "Type": "sample string 4",
        "IsMajor": true
      },
      {
        "Code": "sample string 1",
        "Order": 2,
        "Name": "sample string 3",
        "Type": "sample string 4",
        "IsMajor": true
      }
    ]
  }
}

text/xml

Sample:
<Result>
  <Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
  <Lines Code="sample string 1" Direction="sample string 2" Display="sample string 3">
    <Stop Code="sample string 1" Order="2" Name="sample string 3" Type="sample string 4" IsMajor="true" />
    <Stop Code="sample string 1" Order="2" Name="sample string 3" Type="sample string 4" IsMajor="true" />
  </Lines>
</Result>