GET gtfs/all

Retrieve a list with information for any existing schedule: current, past and future.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of GtfsInfo objects each one containing schedule information.

Collection of GtfsInfo
NameDescriptionTypeAdditional information
BookingId

Booking ID

string

None.

UpdatedDate

The date the GTFS cchedule data was last updated.

date

None.

EarliestServiceDate

The first date serviced by the current schedule

date

None.

LatestServiceDate

The last date seviced by the current schedule

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BookingId": "sample string 1",
    "UpdatedDate": "2024-04-19T06:23:01.2533466-07:00",
    "EarliestServiceDate": "2024-04-19T06:23:01.2533466-07:00",
    "LatestServiceDate": "2024-04-19T06:23:01.2533466-07:00"
  },
  {
    "BookingId": "sample string 1",
    "UpdatedDate": "2024-04-19T06:23:01.2533466-07:00",
    "EarliestServiceDate": "2024-04-19T06:23:01.2533466-07:00",
    "LatestServiceDate": "2024-04-19T06:23:01.2533466-07:00"
  }
]

text/html

Sample:
[{"BookingId":"sample string 1","UpdatedDate":"2024-04-19T06:23:01.2533466-07:00","EarliestServiceDate":"2024-04-19T06:23:01.2533466-07:00","LatestServiceDate":"2024-04-19T06:23:01.2533466-07:00"},{"BookingId":"sample string 1","UpdatedDate":"2024-04-19T06:23:01.2533466-07:00","EarliestServiceDate":"2024-04-19T06:23:01.2533466-07:00","LatestServiceDate":"2024-04-19T06:23:01.2533466-07:00"}]

application/xml, text/xml

Sample:
<ArrayOfGtfsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models">
  <GtfsInfo>
    <BookingId>sample string 1</BookingId>
    <EarliestServiceDate>2024-04-19T06:23:01.2533466-07:00</EarliestServiceDate>
    <LatestServiceDate>2024-04-19T06:23:01.2533466-07:00</LatestServiceDate>
    <UpdatedDate>2024-04-19T06:23:01.2533466-07:00</UpdatedDate>
  </GtfsInfo>
  <GtfsInfo>
    <BookingId>sample string 1</BookingId>
    <EarliestServiceDate>2024-04-19T06:23:01.2533466-07:00</EarliestServiceDate>
    <LatestServiceDate>2024-04-19T06:23:01.2533466-07:00</LatestServiceDate>
    <UpdatedDate>2024-04-19T06:23:01.2533466-07:00</UpdatedDate>
  </GtfsInfo>
</ArrayOfGtfsInfo>