Public Transit API Developer's Guide

Res

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.
Alerts - Alerts Contains a list of alerts containing information about possible public transit alerts or other announcements.
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).
Coverage - Coverage Coverage type specifies detailed information about covered cities.
LocalCoverage - LocalCoverage LocalCoverage is a response to a nearby coverage request. Contains information about nearby stops, lines and, in case the user is assumed to be in a city, also about this city.
Logos - Logos Logos is a response type for the Logo Brands API and specifies an ordered list of links to branded logos of agencies.
LineInfos - LineInfos Contains information about one line with a specific direction.
PathSegments - PathSegments Specifies a list of PathSeg or RefPathSeg.