Public Transit API Developer's Guide

Connections

Connections contains a list of possible connections.

Table 1. Connections Type Attributes
Attribute Always Included Type Description
context Yes String Session key to be used in subsequent calls that require it (deprecated).
allow_direction - String
Note: This attribute is deprecated.

Describes which early/later connections are possible on this area.

The following values wil be returned:

  • F (Forward): implies only later connections can be requested.
  • N (None): Early/Later connections not supported.

If the attribute is not present, normal and later connections requests are allowed.

valid_until - String Datetime which says that dataset has expired but was auto-projected.
sup_changes - Boolean 1 if in this area changing "changes" parameter is supported (response is affected by it), 0 otherwise.

The default is 1.

sup_speed - Boolean 1 if in this area changing the speed is supported (response is affected by it), 0 otherwise.

The default is 1.

sup_max_dist - Boolean 1 if in this area changing the max walking distance is supported (response is affected by it), 0 otherwise.

The default is 1.

sup_prod - Boolean 1 if in this area selecting the feature type is supported (response is affected by it), 0 otherwise.

The default is 1.

Table 2. Connections Type Elements
Element Always Included Type Description
Connection - List of Connection Contains all available information about a complete route between a departure and a destination.
Operators - Operators Contains all available information about operators referenced in the response.
Attributions - Attributions Contains information that the application is required to display to the end user such as operator/provider disclaimers and tariffs. See Copyright Notices for more details.