Back

GET api/V1/Stop/Destinations/{StopCode}/{FromTime}/{ToTime}

Displays Destinations of a stop

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
StopCode

The starting Stop

string

Required

FromTime

string

Required

ToTime

string

Required

Body Parameters

None.

Response Information

Resource Description

The possible destination stops for the given stop code.

Response Formats

application/json, text/json

Sample:
{
  "Metadata": {
    "TimeStamp": "sample string 1",
    "ErrorCode": "sample string 2",
    "ErrorMessage": "sample string 3"
  },
  "Stop": {
    "Code": "sample string 1",
    "Name": "sample string 2",
    "Line": [
      {
        "Code": "sample string 1",
        "Display": "sample string 2",
        "Direction": "sample string 3",
        "DestinationStop": "sample string 4"
      },
      {
        "Code": "sample string 1",
        "Display": "sample string 2",
        "Direction": "sample string 3",
        "DestinationStop": "sample string 4"
      }
    ]
  }
}

text/xml

Sample:
<ResultDestinations>
  <Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
  <Stop Code="sample string 1" Name="sample string 2">
    <Line Code="sample string 1" Display="sample string 2" Direction="sample string 3" DestinationStop="sample string 4" />
    <Line Code="sample string 1" Display="sample string 2" Direction="sample string 3" DestinationStop="sample string 4" />
  </Stop>
</ResultDestinations>