Endpoints that are available for generating offers by various means.
Update offer with capped discount alternative.
Update offer with capped discount alternative.
path Parameters
idId of the offer
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> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Accept-LanguageThe language code from IETF BCP 47
Update offer with capped discount alternative. › Request Body
selectableIdSelectable id of the capped discount alternative.
Update offer with capped discount alternative. › Responses
An offer updated with a capped discount alternative.
idThe id of an offer. This id will be referenced in recommendations where there are "offersToBuy". Also, the offerId can be used to obtain the original offer-structure from v1.
nameThe name of the SalesPackage that this OfferSummary represents.
Price with currency and optional VAT information for this element.
descriptionThe description of the offer.
salesPackageIdId of the SalesPackage.
All mandatory products that give the buyer a right to travel is found here.
salesPackageVersionVersion of the SalesPackage.
Describes the geographical validity of a product. Includes information on ServiceJourneys, PointToPointValidity and ZonalValidity. In cases of replacement transport, these fields describe the replacement journey.
availableNumber of this offer available to buy at this point in time.
Mapping of which travellers this offer applies to.
The customer may join the following programs to get points from buying this offer. It is expected that the caller does work to add the customer to the program.
A discount might be given based on previous transactions if CappedDiscountRequest was specified. A cappingSpecification must be specified in the traveller attribute in the request to the search/ endpoints in order to receive a discount. Capping must also be enabled by the operator of the service journey.
Buying this offer may give points in these personalisation programs.
optionalProductsSelectableIdsThis field contains an array of selectableId's to optional products associated with an offer. The optional products are found in the field "optionalProducts" in the search response.
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> for companies, and <personal name>-<application> for individuals.
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.
noticesAdditional information about potentially missing information or functionality due to transient errors.
tripPatternIdSearch 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> for companies, and <personal name>-<application> for individuals.
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.
A configuration of how to group travellers in offers.
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].
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.
noticesAdditional information about potentially missing information or functionality due to transient errors.
tripPatternIdSearch 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> for companies, and <personal name>-<application> for individuals.
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
to^[A-Z]{3}:FareZone:.… · requiredThe id of the destination stop place or zone.
from^[A-Z]{3}:FareZone:.… · requiredThe id of the origin stop place or zone.
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.
via^[A-Z]{3}:FareZone:.…Optional sequence of via locations. Mostly useful for zone based searches.
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.
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.
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.
noticesAdditional information about potentially missing information or functionality due to transient errors.
tripPatternId