Endpoints that are available for generating offers by various means.
Search for Offers using a specific trip pattern.
Request offers for a specific departure between two stop places. At least one Traveller, and a TripPatternRequest is required.
Headers
Entur-Distribution-Channel^[A-Z]{3}:Distributi… · required · style: simpleId of distribution channel requesting offers
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>.
X-Correlation-IdCorrelation id
Accept-LanguageThe language code from IETF BCP 47
Entur-POSPoint-of-sale identifier
Search for Offers using a specific trip pattern. › Request Body
The travellers.
List of legs constituting a suggested sequence of rides and links for a specific trip.
Specify what types of recommendations are returned in the response. For a more in depth explanation of recommendations, see the guide for recommendations at TODO [INSERT NEW LINK].
A configuration of how to group travellers in offers.
includeMultiTripOffersIndicates whether multi-trip offers should be included in the response, such as monthly passes, day passes, and similar options.
Search for Offers using a specific trip pattern. › Responses
A selection of Offers valid on parts or the whole of the given trip pattern.
A set of recommendations matching the provided recommendation configuration.
tripPatternIdnoticesAdditional information about potentially missing information or functionality due to transient errors.
Search for offers by geographical-locations.
Request offers that are not associated with any specific departure. The offers returned are period tickets or single tickets that are valid between stop places or zones for a given duration.
Headers
Entur-Distribution-Channel^[A-Z]{3}:Distributi… · required · style: simpleId of distribution channel requesting offers
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>.
X-Correlation-IdCorrelation id
Accept-LanguageThe language code from IETF BCP 47
Entur-POSPoint-of-sale identifier
Search for offers by geographical-locations. › Request Body
travelDateThe specific time for when the ticket should be activated. For most purposes it is recommended to use the current time as travel date. That is because most period tickets are activated immediately on purchase. If you want to get a period ticket that should be activated some time in the future, specify the future date.
from^[A-Z]{3}:FareZone:.… · requiredThe id of the origin stop place or zone.
to^[A-Z]{3}:FareZone:.… · requiredThe id of the destination stop place or zone.
The travellers the offer should be valid for.
via^[A-Z]{3}:FareZone:.…Optional sequence of via locations. Mostly useful for zone based searches.
Specify what types of recommendations are returned in the response. For a more in depth explanation of recommendations, see the guide for recommendations at TODO [INSERT NEW LINK].
offersForWholeTripOnlySet this flag to true if you only want tickets that are valid all the way between the stop-places specified in the "from" and "to" field. When set to false, you will receive additional offers that are valid for parts of the trip with one of the stop places covered.
authority^[A-Z]{3}:Authority:…Optional authority ID, to further refine search. The returned Offers will only contain products allowing or requiring the provided Authority. In the case of two rail stopPlaces, Authority is set from pre-defined rules and this parameter will be ignored.
transportModeOptional transport mode, to further refine search. Most useful when there is a specific use case where there may be overlapping Offers, for instance high speed ferry or rail.
Search for offers by geographical-locations. › Responses
A selection of offers valid between the two geographical locations.
A set of recommendations matching the provided recommendation configuration.
tripPatternIdnoticesAdditional information about potentially missing information or functionality due to transient errors.
Search for offers by authority id.
Search for offers by authority id, this will only find offers with a flat tariff basis. Only PurchaseWindow, Authority, DistributionChannel and UserProfile constraints are considered.
Headers
Entur-Distribution-Channel^[A-Z]{3}:Distributi… · required · style: simpleId of distribution channel requesting offers
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>.
X-Correlation-IdCorrelation id
Accept-LanguageThe language code from IETF BCP 47
Entur-POSPoint-of-sale identifier
Search for offers by authority id. › Request Body
travelDateThe specific time for when the ticket should be activated. For most purposes it is recommended to use the current time as travel date. That is because most period tickets are activated immediately on purchase. If you want to get a period ticket that should be activated some time in the future, specify the future date.
The travellers the offer should be valid for.
authorityId^[A-Z]{3}:Authority:… · requiredNeTEx-id of Authority. Only offers valid for this Authority will be considered.
Search for offers by authority id. › Responses
A selection of offers valid for the given authority.
A set of recommendations matching the provided recommendation configuration.
tripPatternIdnoticesAdditional information about potentially missing information or functionality due to transient errors.