GET api/Route?fromStation={fromStation}&toStation={toStation}&date={date}&startTime={startTime}&endTime={endTime}

Documentation for 'Get'.

Request Information

Parameters

NameDescriptionAdditional information
fromStation
Documentation for 'fromStation'.

Define this parameter in the request URI.

toStation
Documentation for 'toStation'.

Define this parameter in the request URI.

date
Documentation for 'date'.

Define this parameter in the request URI.

startTime
Documentation for 'startTime'.

Define this parameter in the request URI.

endTime
Documentation for 'endTime'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "imageURL": "sample string 1",
    "sessionID": "sample string 2",
    "routes": [
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      },
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      },
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      }
    ]
  },
  {
    "imageURL": "sample string 1",
    "sessionID": "sample string 2",
    "routes": [
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      },
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      },
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      }
    ]
  },
  {
    "imageURL": "sample string 1",
    "sessionID": "sample string 2",
    "routes": [
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      },
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      },
      {
        "firstStation": "sample string 1",
        "secondStation": "sample string 2",
        "train": "sample string 3",
        "trainNumber": "sample string 4",
        "options": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "departs": "sample string 5",
        "arrives": "sample string 6"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfRouteDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BdzWebsiteUtilities">
  <RouteDTO>
    <imageURL>sample string 1</imageURL>
    <routes>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
    </routes>
    <sessionID>sample string 2</sessionID>
  </RouteDTO>
  <RouteDTO>
    <imageURL>sample string 1</imageURL>
    <routes>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
    </routes>
    <sessionID>sample string 2</sessionID>
  </RouteDTO>
  <RouteDTO>
    <imageURL>sample string 1</imageURL>
    <routes>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
      <SimpleRouteDTO>
        <arrives>sample string 6</arrives>
        <departs>sample string 5</departs>
        <firstStation>sample string 1</firstStation>
        <options xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </options>
        <secondStation>sample string 2</secondStation>
        <train>sample string 3</train>
        <trainNumber>sample string 4</trainNumber>
      </SimpleRouteDTO>
    </routes>
    <sessionID>sample string 2</sessionID>
  </RouteDTO>
</ArrayOfRouteDTO>