GET api/Departures

Documentation for 'Get'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Departures": [
    {
      "Line": 1,
      "Destination": "sample string 2",
      "DisplayInfo": "sample string 3",
      "TimeTableDateTime": "2026-02-04T14:48:11.9068485+01:00",
      "ExpectedDateTime": "2026-02-04T14:48:11.9068485+01:00"
    },
    {
      "Line": 1,
      "Destination": "sample string 2",
      "DisplayInfo": "sample string 3",
      "TimeTableDateTime": "2026-02-04T14:48:11.9068485+01:00",
      "ExpectedDateTime": "2026-02-04T14:48:11.9068485+01:00"
    },
    {
      "Line": 1,
      "Destination": "sample string 2",
      "DisplayInfo": "sample string 3",
      "TimeTableDateTime": "2026-02-04T14:48:11.9068485+01:00",
      "ExpectedDateTime": "2026-02-04T14:48:11.9068485+01:00"
    }
  ],
  "CreateDateTime": "2026-02-04T14:48:11.9068485+01:00"
}

application/xml, text/xml

Sample:
<DepartureData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.klaswikstrom.se.Models">
  <CreateDateTime>2026-02-04T14:48:11.9068485+01:00</CreateDateTime>
  <Departures>
    <Departure>
      <Destination>sample string 2</Destination>
      <DisplayInfo>sample string 3</DisplayInfo>
      <ExpectedDateTime>2026-02-04T14:48:11.9068485+01:00</ExpectedDateTime>
      <Line>1</Line>
      <TimeTableDateTime>2026-02-04T14:48:11.9068485+01:00</TimeTableDateTime>
    </Departure>
    <Departure>
      <Destination>sample string 2</Destination>
      <DisplayInfo>sample string 3</DisplayInfo>
      <ExpectedDateTime>2026-02-04T14:48:11.9068485+01:00</ExpectedDateTime>
      <Line>1</Line>
      <TimeTableDateTime>2026-02-04T14:48:11.9068485+01:00</TimeTableDateTime>
    </Departure>
    <Departure>
      <Destination>sample string 2</Destination>
      <DisplayInfo>sample string 3</DisplayInfo>
      <ExpectedDateTime>2026-02-04T14:48:11.9068485+01:00</ExpectedDateTime>
      <Line>1</Line>
      <TimeTableDateTime>2026-02-04T14:48:11.9068485+01:00</TimeTableDateTime>
    </Departure>
  </Departures>
</DepartureData>