/departures/byTrip/{tripId}

This query returns a list of departures for the trip identified by the {tripId} URL parameter.

Object type : departure

URL Parameters :

  • tripId the trip's text id to get ETA data for. In GTFS data this is the "trip_id" column of trips.txt, in the RouteMatch schema it is the "FRTripIDName" column.

Query Parameters :

  • time (date) – this is the date of the trip (leave blank for today). Format is YYYY-MM-DD.

  • adherenceEnabled (boolean) – this option allows the calculation of schedule adherence to be disabled. When set to false the schedule adherence fields of the ETA object will not be filled in, they will be set to null. This increases performance and should be used when the consuming application does not need schedule adherence information. The default value is true. Valid values are "true" or "false".