Booking software

Retrieve timetable and capacity

To retrieve the timetable, you need a valid token. The call is made via GET variables and returns the journeys for a specific date, including available fares, prices, features, extras and add-ons. The return is in JSON format.

GET variables:

  • ** action**: Specifies the action (mandatory parameter: schedule).
  • ** appversion**: Version of the API (mandatory parameter: 3).
  • ** right_id**: Authorization of the calling user (mandatory parameter: 1).
  • ** user_id**: ID of the retrieving user or agent (optional, provided by the provider).
  • ** station_id**: Station ID of the call (mandatory parameter, separate multiple stations with ;, max. 10 stations).
  • ** destination_id**: Destination station ID (optional, transfer as INT, only one station per parameter).
  • ** line_id**: Restriction to a specific line (optional, specified as an integer).
  • ** date**: Date for the retrieval (mandatory parameter, specified as Unix timestamp).
  • ** token**: XML token (mandatory parameter, provided by the provider).
  • ** ship_id**: Restriction to a specific resource (optional).