Back

GET api/V1/Schedule/Line/All/{Date}

Displays The lines in effect for the date provided.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
Date

Date of interest (yyyymmdd)

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Lines in effect for the date given.

Response Formats

application/json, text/json

Sample:
{
  "Metadata": {
    "TimeStamp": "sample string 1",
    "ErrorCode": "sample string 2",
    "ErrorMessage": "sample string 3"
  },
  "AllLines": {
    "Line": [
      {
        "Name": "sample string 1",
        "Code": "sample string 2",
        "IsBus": true,
        "IsTrain": true,
        "Variant": [
          {
            "Code": "sample string 1",
            "Display": "sample string 2",
            "Direction": "sample string 3"
          },
          {
            "Code": "sample string 1",
            "Display": "sample string 2",
            "Direction": "sample string 3"
          }
        ]
      },
      {
        "Name": "sample string 1",
        "Code": "sample string 2",
        "IsBus": true,
        "IsTrain": true,
        "Variant": [
          {
            "Code": "sample string 1",
            "Display": "sample string 2",
            "Direction": "sample string 3"
          },
          {
            "Code": "sample string 1",
            "Display": "sample string 2",
            "Direction": "sample string 3"
          }
        ]
      }
    ]
  }
}

text/xml

Sample:
<Result>
  <Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
  <AllLines>
    <Line Name="sample string 1" Code="sample string 2" IsBus="true" IsTrain="true">
      <Variant Code="sample string 1" Display="sample string 2" Direction="sample string 3" />
      <Variant Code="sample string 1" Display="sample string 2" Direction="sample string 3" />
    </Line>
    <Line Name="sample string 1" Code="sample string 2" IsBus="true" IsTrain="true">
      <Variant Code="sample string 1" Display="sample string 2" Direction="sample string 3" />
      <Variant Code="sample string 1" Display="sample string 2" Direction="sample string 3" />
    </Line>
  </AllLines>
</Result>