capacities-controller
Get seat reservations for a seating offer.
Get seat reservations for stations in a seating offer.
path Parameters
datedServiceJourneyIdId of dated service journey
query Parameters
originNsr code for first station
destinationNsr code for last station
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>.
X-Correlation-IdCorrelation id
Get seat reservations for a seating offer. › Responses
OK
statusStatus of the seat offer.
Get seat occupancy for a seating offer.
Get seat occupancy for stations in a seating offer.For each station between the origin and destination station, the following information is given:availability: AVAILABLE or OCCUPIED.boarding:true if a new passenger will occupy the seat on tis station.alighting:true if a passenger will vacate the seat on this station.
path Parameters
datedServiceJourneyIdId of dated service journey
query Parameters
originNsr code for first station
destinationNsr code for last station
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>.
X-Correlation-IdCorrelation id
Get seat occupancy for a seating offer. › Responses
OK
Fetch available seats on a departure
The response contains seats that are available for reservation, grouped by their element and compartment (if applicable). If the departure has no available seats or is otherwise unavailable for reservation, an empty list is returned.
path Parameters
datedServiceJourneyIdThe datedServiceJourney the available seats will be fetched for.
query Parameters
originThe origin of the capacity query.
destinationThe destination of the capacity query.
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>.
X-Correlation-IdCorrelation id
Fetch available seats on a departure › Responses
OK
carriageIdentifierCarriage number of the element.
Available compartments in element.
Available single seats in element. These are seats that are not part of a compartment.
Get seats and seat status for a seating offer.
Get seat information for all seats in a seating offer. The information includes seat properties and information about the corresponding carriage.Each seat will classified AVAILABLE or OCCUPIED. To be classified as AVAILABLE, the seat must be available for reservation on the entire distance between the origin and destination station.
path Parameters
datedServiceJourneyIdId of dated service journey
query Parameters
originNsr code for first station
destinationNsr code for last station
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>.
X-Correlation-IdCorrelation id
Get seats and seat status for a seating offer. › Responses
OK
statusStatus of the seat offer.