Public Transit API v3 Developer's Guide


Res is a root response node and contains response data generated as a result of a request to the Public Transit request resources.

Table 1. Res Type Attributes
Attribute Always Included Type Description
serviceUrl - String URL of the backend server that produced the results.
Table 2. Res Type Elements
Element Always Included Type Description
Message - Message Message specifies a message from the server, pay attention if level is E (Error) or F (fatal).
NextDepartures - NextDepartures Contains a list of subsequent departures.
MultiNextDepartures - MultiNextDepartures Contains a list of multiple next departures at stations.
Connections - Connections Contains a list of possible connections.
Guidance - Guidance Contains a group of maneuvers for one of the journey sections.
Stations - Stations Specifies a list of stations that match the specified search criteria (geo coordinates, station name or station ID).