Inventory Client
Update all reservation lines
Update all reservation lines on a reservation
path Parameters
reservationIdId of the reservation to update lines on
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
Update all reservation lines › Request Body
List of updated reservation line specifications
idproductIdamountstatusUpdate all reservation lines › Responses
OK
idproductIdamountcreatedchangedstatusAdd reservation line to reservation
Add a reservation line to an existing reservation.
path Parameters
reservationIdId of the reservation to add lines to
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
Add reservation line to reservation › Request Body
productIdamountstatusAdd reservation line to reservation › Responses
Created
idproductIdamountcreatedchangedstatusUpdate reservation line
Update a single reservation line
path Parameters
reservationIdId of the reservation to update a reservation line on.
reservationLineIdId of the reservation line to update.
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
Update reservation line › Request Body
productIdamountstatusUpdate reservation line › Responses
OK
idproductIdamountcreatedchangedstatusGet available stock for a tripPattern
Calculates available stock between a set of stopPlaces on separate DatedServiceJourneys
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 available stock for a tripPattern › Request Body
datedServiceJourneyorigindestinationGet available stock for a tripPattern › Responses
OK
origindestinationspannedDatedServiceJourneysGet reservations
Retrieves all registered reservations for an original dated service journey
query Parameters
datedServiceJourneyThe original dated service journey to find reservations for.
createdAfterCreated after
changedAfterChanged after
originorigin
destinationdestination
productproduct
statusstatus
excludeInactiveReservationsExclude reservations that are not DRAFT nor CONFIRMED, defaults to false
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 reservations › Responses
OK
idorigindestinationdatedServiceJourneycreatedchangedcreatedByorderIdReserve stock
Reserves some amount of stock for use
query Parameters
ownerOrganisationIdNot applicable for Partners/operators. Used to filter between operator organisations
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
Reserve stock › Request Body
origindestinationdatedServiceJourneyIdorderIdReserve stock › Responses
Created
idorigindestinationdatedServiceJourneycreatedchangedcreatedByorderIdReserve stock for multiple legs
Reserves some amount of stock for use
query Parameters
ownerOrganisationIdNot applicable for Partners/operators. Used to filter between operator organisations
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
Reserve stock for multiple legs › Request Body
origindestinationdatedServiceJourneyIdorderIdReserve stock for multiple legs › Responses
Created
idorigindestinationdatedServiceJourneycreatedchangedcreatedByorderIdGet available stock
Calculates available stock between two stops of a dated service journey
query Parameters
datedServiceJourneyorigindestinationHeaders
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 available stock › Responses
OK
datedServiceJourneyorigindestinationorganisationIdGet reservation by id
Retrieves a registered reservation.
path Parameters
idId of the reservation to get
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 reservation by id › Responses
OK
idorigindestinationdatedServiceJourneycreatedchangedcreatedByorderId