Fare Zone
Return zone distance between two stop places
Resolves stop places to coordinates, then determines which overlapping fare zones each stop belongs to. Because a stop place can belong to multiple overlapping fare zones, all zone combinations are evaluated and one result per combination is returned.
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Return zone distance between two stop places › Request Body
stopPlacesOrdered list of stop place IDs (first is origin, last is destination, any in between are via-points) the path must pass through.
organisationIdtimepreOwnedReturn zone distance between two stop places › Responses
OK
distancetoZoneIdfromZoneIdorganisationIdReturn distance between two fare zones
Calculates the shortest-path distance between two fare zones, where 'distance' is the number of fare zone borders crossed. All shortest paths of equal length are returned. Nested zones are transparently mapped to their parent overlapping zone before the path is calculated.
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Return distance between two fare zones › Request Body
tofromorganisationIdviatimepreOwnedReturn distance between two fare zones › Responses
OK
distancetoZoneIdfromZoneIdorganisationIdReturn distance from polyline
Finds all zones that a polyline passes through
query Parameters
organisationIdList of organisations that one might request zones through
timeThe time at which the distance is active. This defaults to now
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Return distance from polyline › Responses
OK
tofromallZonesCrossed