Schemas
ReservationLineRequest
typeThe type of reservation line.
referenceThe reference of the reservation line if already existing. Leave blank for new reservation lines.
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
SingleSeatReservationLineRequest
typeThe type of reservation line.
seatNumberThe seat number of the seat being reserved on this reservationLine.
elementCarriageNumberThe carriage number of the element of the seat being reserved on this reservationLine.
referenceThe reference of the reservation line if already existing. Leave blank for new reservation lines.
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageIdentifierThe carriage identifier of the element of the seat being reserved on this reservationLine.
FreeSeatingReservationLineRequest
typeThe type of reservation line.
referenceThe reference of the reservation line if already existing. Leave blank for new reservation lines.
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageIdentifierThe carriage identifier for the free seating being reserved on this reservationLine.
CompartmentReservationLineRequest
typeThe type of reservation line.
compartmentNameLogical name of the compartment.
elementCarriageNumberThe carriage number of the element containing the compartment.
referenceThe reference of the reservation line if already existing. Leave blank for new reservation lines.
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageIdentifierThe carriage identifier of the element containing the compartment.
orderLineIdsOrder line ids for each single seat if the compartment is changed from several single seats. If not, leave empty
FailedRebookingReservationLineRequest
typeThe type of reservation line.
referenceThe reference of the reservation line if already existing. Leave blank for new reservation lines.
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
informationInformation as to why rebooking failed. This field is immutable.
reservedPropertiespreviousTypeThe previous type of reservation line.
previousElementCarriageIdentifierThe carriage number of the carriage of the seat or compartment previously reserved on this reservationLine.
previousSeatNumberThe seat number of the seat previously reserved on this reservationLine if it was a SingleSeatReservationLine.
previousCompartmentNameLogical name of the compartment previously reserved on this reservationLine if it was a CompartmentReservationLine.
previousOrderLineIdsReservationLineResponse
referenceReference for this reservation line`
reservedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
requestedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
typeThe type of reservation line.
orderLineIdOrderLine ID for this reservation line.
numberOfTravellersNumber of travellers on the reservation line.
SingleSeatReservationLineResponse
referenceReference for this reservation line`
reservedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
requestedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
typeThe type of reservation line.
seatNumberSeat number of this seat. This relates to the seat marker on the actual vehicle.
elementCarriageIdentifierCarriage identifier of the corresponding carriage.
orderLineIdOrderLine ID for this reservation line.
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageNumberCarriage number of the corresponding carriage.
CompartmentReservationLineResponse
referenceReference for this reservation line`
reservedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
requestedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
typeThe type of reservation line.
compartmentNameLogical name of the compartment.
elementCarriageIdentifierCarriage number of the element in which the compartment resides.
seatsInCompartmentAll seatNumbers located in compartment.
orderLineIdsList of order line ids for if the compartment was changed from several single seats. If not, it should be empty.
compartmentLabelString of seats in the compartment.
orderLineIdOrderLine ID for this reservation line.
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageNumberCarriage number of the element in which the compartment resides.
FreeSeatingReservationLineResponse
referenceReference for this reservation line`
reservedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
requestedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
typeThe type of reservation line.
orderLineIdOrderLine ID for this reservation line.
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageIdentifierCarriage identifier of the corresponding carriage.
FailedRebookingReservationLineResponse
referenceReference for this reservation line`
reservedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
requestedPropertiesProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
typeThe type of reservation line.
informationInformation about the reservation line.
previousTypeThe previous type of reservation line.
orderLineIdsList of order line ids for the previous reservation, one value if the previous reservation was a single seat or compartment, multiple values if it was several single seat rebooked to one compartment reservation.
orderLineIdOrderLine ID for this reservation line.
numberOfTravellersNumber of travellers on the reservation line.
previousElementCarriageIdentifierThe carriage number of the carriage of the seat or compartment previously reserved on this reservationLine.
previousSeatNumberThe seat number of the seat previously reserved on this reservationLine if it was a SingleSeatReservationLine.
previousCompartmentNameLogical name of the compartment previously reserved on this reservationLine if it was a CompartmentReservationLine.
RebookedReservationLineDataResponse
reservationLineTypeThe type of reservation line.
reservedPropertiesSingleSeatDataResponse
reservationLineTypeThe type of reservation line.
reservedPropertiesseatNumberSeat number of this seat. This relates to the seat marker on the actual vehicle.
elementCarriageIdentifierCarriage identifier of the corresponding carriage.
elementSeriesRolling stock series for the element this seat is reserved in
elementSeriesVersionRolling stock series version for the element this seat is reserved in
elementCarriageNumberCarriage number of the corresponding carriage.
CompartmentDataResponse
reservationLineTypeThe type of reservation line.
reservedPropertiescompartmentNameLogical name of the compartment.
elementCarriageIdentifierCarriage number of the element in which the compartment resides.
seatsInCompartmentAll seatNumbers located in compartment.
elementSeriesRolling stock series for the element this compartment is reserved in
elementSeriesVersionRolling stock series version for the element this compartment is reserved in
numberOfTravellersNumber of travellers on the reservation line.
elementCarriageNumberCarriage number of the element in which the compartment resides.
FreeSeatingDataResponse
reservationLineTypeThe type of reservation line.
reservedPropertieselementCarriageIdentifierCarriage identifier of the corresponding carriage.
elementSeriesRolling stock series for the element this free seat is reserved in, if any
elementSeriesVersionRolling stock series version for the element the free seat is reserved in, if any
FailedRebookingDataResponse
reservationLineTypeThe type of reservation line.
reservedPropertiesinformationInformation about the reservation line that failed to be rebooked and a best effort description of why it failed. This field should include information about what seats or compartment in what element failed to be rebooked.
PatchReservationLineRequest
typeThe type of reservation line.
elementCarriageNumberThe carriage number of the element of the seat being reserved on this reservationLine.
elementCarriageIdentifierThe carriage identifier of the element of the seat being reserved on this reservationLine.
orderLineIdOrderLine ID for this reservation line`
PatchSingleSeatReservationLineRequest
typeThe type of reservation line.
elementCarriageNumberThe carriage number of the element of the seat being reserved on this reservationLine.
elementCarriageIdentifierThe carriage identifier of the element of the seat being reserved on this reservationLine.
orderLineIdOrderLine ID for this reservation line`
seatNumberThe seat number of the seat being reserved on this reservationLine.
PatchCompartmentReservationLineRequest
typeThe type of reservation line.
elementCarriageNumberThe carriage number of the element of the seat being reserved on this reservationLine.
elementCarriageIdentifierThe carriage identifier of the element of the seat being reserved on this reservationLine.
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
compartmentNameLogical name of the compartment.
PatchFreeSeatingReservationLineRequest
typeThe type of reservation line.
elementCarriageNumberThe carriage number of the element of the seat being reserved on this reservationLine.
elementCarriageIdentifierThe carriage identifier of the element of the seat being reserved on this reservationLine.
orderLineIdOrderLine ID for this reservation line`
RebookedReservationLineResponseV1
referenceReference for this reservation line`
reservationLineTypeThe type of reservation line.
reservedPropertiesorderLineIdOrderLine ID for this reservation line`
FailedRebookingDataResponseV1
referenceReference for this reservation line`
reservationLineTypeThe type of reservation line.
reservedPropertiesinformationInformation about the reservation line that failed to be rebooked and a best effort description of why it failed. This field should include information about what seats or compartment in what element failed to be rebooked.
orderLineIdOrderLine ID for this reservation line`
RebookedSingleSeatReservationLineResponseV1
referenceReference for this reservation line`
reservationLineTypeThe type of reservation line.
reservedPropertiesseatNumberSeat number of this seat. This relates to the seat marker on the actual vehicle.
elementCarriageIdentifierCarriage identifier of the corresponding carriage.
elementSeriesRolling stock series for the element this seat is reserved in
elementSeriesVersionRolling stock series version for the element this seat is reserved in
orderLineIdOrderLine ID for this reservation line`
RebookedFreeSeatingReservationLineResponseV1
referenceReference for this reservation line`
reservationLineTypeThe type of reservation line.
reservedPropertiesorderLineIdOrderLine ID for this reservation line`
elementCarriageIdentifierCarriage identifier of the corresponding carriage.
elementSeriesRolling stock series for the element this free seat is reserved in, if any
elementSeriesVersionRolling stock series version for the element the free seat is reserved in, if any
RebookedCompartmentReservationLineResponseV1
referenceReference for this reservation line`
reservationLineTypeThe type of reservation line.
reservedPropertiescompartmentNameLogical name of the compartment.
elementCarriageIdentifierCarriage number of the element in which the compartment resides.
seatsInCompartmentAll seatNumbers located in compartment.
elementSeriesRolling stock series for the element this compartment is reserved in
elementSeriesVersionRolling stock series version for the element this compartment is reserved in
orderLineIdOrderLine ID for this reservation line`
numberOfTravellersNumber of travellers on the reservation line.
ReservationLineResponseV1
orderLineIdsList of order line ids linked to this reservation line. Contains one ID for single seat or compartment, multiple IDs if it was several single seat rebooked to one compartment reservation.
referenceReference for this reservation line
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersNumber of travellers on the reservation line.
typeThe type of reservation line.
SingleSeatReservationLineResponseV1
orderLineIdsList of order line ids linked to this reservation line. Contains one ID for single seat or compartment, multiple IDs if it was several single seat rebooked to one compartment reservation.
referenceReference for this reservation line
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersNumber of travellers on the reservation line.
typeThe type of reservation line.
seatNumberelementCarriageIdentifierProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
CompartmentReservationLineResponseV1
orderLineIdsList of order line ids linked to this reservation line. Contains one ID for single seat or compartment, multiple IDs if it was several single seat rebooked to one compartment reservation.
referenceReference for this reservation line
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersNumber of travellers on the reservation line.
typeThe type of reservation line.
elementCarriageIdentifierCarriage number of the element in which the compartment resides.
compartmentNameLogical name of the compartment.
seatsInCompartmentAll seatNumbers located in compartment.
compartmentLabelString of seats in the compartment.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
FreeSeatingReservationLineResponseV1
orderLineIdsList of order line ids linked to this reservation line. Contains one ID for single seat or compartment, multiple IDs if it was several single seat rebooked to one compartment reservation.
referenceReference for this reservation line
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersNumber of travellers on the reservation line.
typeThe type of reservation line.
elementCarriageIdentifierCarriage identifier of the carriage containing the free seating. Null if the whole departure is available for free seating
FailedRebookingReservationLineResponseV1
orderLineIdsList of order line ids linked to this reservation line. Contains one ID for single seat or compartment, multiple IDs if it was several single seat rebooked to one compartment reservation.
referenceReference for this reservation line
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersNumber of travellers on the reservation line.
typeThe type of reservation line.
informationInformation about the reservation line.
SortingRequestV1
sortingKeySorting key.
sortingValueSorting value.
SortingResponseV1
sortingKeySorting key.
sortingValueSorting value.
MaterialCompositionRequest
existingMaterialCompositionNetexIdThe netex id of the material composition that will be changed.
List of elements in the changed material composition. Each list element corresponds to a carriage.
newMaterialCompositionNetexIdThe new netex id of the material composition that will be changed. If not supplied, an id will be generated.
MaterialElementRequest
logicalElementSeriesThe rolling stock series of the logical element for this element.
carriageIdentifierThe carriage identifier for this element.
sequenceNumberThe sequence number for this element in the material composition. 1-n
directionThe direction for this element.
ElementPartResponseV1
Destination stop place for this element in this material composition.
Destination stop place for this element in this material composition.
materialCompositionNetexIdNetex id for corresponding material composition.
sequenceNumberSequence number of the element in this material composition.
directionDirection of the element in this material composition.
SeatingOfferElementResponse
seriesRolling stock series of the corresponding element.
seriesVersionRolling stock version of the corresponding element.
carriageNumberCarriage number for the element in the train.
carriageIdentifierCarriage identifier for the element in the train.
netexIdNetex id of the element.
seatmapKeySeatmap key of the basic element. This can be used as a lookup in the seatmap service.
SeatingOfferResponse
datedServiceJourneyIdThe netex id of the datedServiceJourney
datedServiceJourneyVersionThe version of the datedServiceJourney
organisationIdThe organisation id this seating offer is operated by.
seatingOfferStatusDescribes the seating offer status
serviceJourneyIdThe netex id of the serviceJourney
operatingDateThe date which the departure belongs to. Might differ from departureDateTime.
departureDateTimeThe time of departure from the first station.
lineIdThe netex id of the line
createdAtWhen this seating offer was initially created
inactiveWhether this seating offer is closed for sale or not
manualMaterialWhether the material for this seating offer was set manually.
transportTypeThe type of transport this seating offer is for.
replacesNetexIdNetex id for the previous material used for this seating offer. If null the material on this dated service journey has never been changed.
updatedAtThe last time this seating offer was updated. If null the seating offer has not been updated
StopPlaceWithTimesResponseV1
nsrCodeStop Place id defined by National StopPlace registry.
departureDateTimeTime of departure from this stop. Set to time of arrival on last stop.
arrivalDateTimeTime of arrival on this stop. Set to time of departure on first stop.
sequenceNrThe ordering of the station in the journey.
ReservationResponse
versionThe version of the reservation. Starts with 1.
Destination StopPlace of the reservation
Destination StopPlace of the reservation
datedServiceJourneyIdId of the dated service journey
statusDescribes the reservation status.
referenceThe reference for this reservation
organisationIdThe organisation id of the order which the reservation belongs to.
createdAtWhen this reservation was initially created
versionedAtWhen this version of this reservation was created
updatedAtWhen this was previously updated. This includes status changes, reservation line changes and so on.
createdByThe organisation id this version of the reservation was created by.This id is determined by the authentication used by the client.
rebookingStatusDescribes the rebooking status of the reservation.
orderIdThe 'id' of the order the reservation belongs to
updatedByThe organisation id of the organisation that last updated this reservation.This id is determined by the authentication used by the client.
infoAdditional free text information about the reservation.
StopPlaceResponseV1
nsrCodeStop Place id defined by National StopPlace registry.
sequenceNrThe ordering of the station in the journey.
CreateThirdPartyReservationsRequest
The third party reservations to create
ThirdPartyReservation
referenceThis id will be used as reference for this reservation.
orderIdAn orderId that can be used for lookup purposes
datedServiceJourneyIdThe id of the dated service journey which the reservation belongs to.
owningSystemThe ID of the system that owns this reservation
CreateThirdPartyReservationsResponse
The third party reservations that were created
ThirdPartyReservationResponse
referenceIf supplied this id will be used as reference for this reservation. If not it will be generated automatically.
orderIdAn orderId that can be used for lookup purposes
owningSystemThe ID of the system that owns this reservation
createdAtWhen this reservation was initially created
CreateReservationRequest
originNsrCodeThe nsrCode of the origin stop place
destinationNsrCodeThe nsrCode of the destination stop place
datedServiceJourneyIdThe id of the dated service journey which the reservation belongs to.
referenceIf supplied this id will be used as reference for this reservation. If not it will be generated automatically.
orderIdAn orderId that can be used for lookup purposes
statusThe status to set for the reservation.
CreateReservationLinesBySeatingPropertiesRequest
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersThe properties required by the traveller(s).
mustReserveWholeCompartmentWhether to reserve a whole compartment to this traveller. If not provided, or set to false, a single seat with the provided properties will be reserved instead.
orderLineIdOrderLine ID to reserve seats for
ReplaceReservationLinesRequest
List of SeatingProperties to allocate for.
reservationLinesToRemoveList of reservationLine-references to remove.
SeatingPropertiesRequestV1
nuisanceFacilitiesSet of possible nuisance factors of the seat. Netex enumerations.
passengerCommsFacilitiesSet of possible communication facilities available for passenger in the seat. Netex enumerations.
sanitaryFacilitiesSet of possible sanitary facilities available for passenger in the seat. Netex enumerations.
mobilityFacilitiesSet of possible mobility facilities available for passenger in the seat. Netex enumerations.
baggageTypeSet of possible baggage types possible for passenger in the seat. Netex enumerations.
fareClassFare class of the seat. Netex enumeration.
groupBookingGroup booking permission of the seat. Netex enumeration.
accommodationFacilityAccommodation property of the seat. Netex enumeration.
seatAttachmentAttachment of the seat. Netex enumeration.
seatPositionPosition of the seat. Netex enumeration.
relativeDirectionRelative direction of the seat. Netex enumeration.
CreateReservationBySeatingPropertiesRequest
originNsrCodeThe nsrCode of the origin stop place
destinationNsrCodeThe nsrCode of the destination stop place
datedServiceJourneyIdThe id of the dated service journey which the reservation belongs to.
statusThe status to set for the reservation.
List of traveler seating properties to reserve seats or compartments for, with optional associated orderLineId.
orderIdThe 'id' of the order the reservation belongs to
CreateTripReservationBySeatingPropertiesRequest
originalDatedServiceJourneyIdOriginal dated service journey ID.
orderIdOrder ID for the reservation.
statusInitial status of the reservation.
CreateTripReservationLinesBySeatingPropertiesRequest
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfTravellersThe number of travellers of this reservation line.
mustReserveWholeCompartmentWhether to reserve a whole compartment to this traveller. If not provided, or set to false, a single seat with the provided properties will be reserved instead.
orderLineIdOrderLine ID to reserve seats for
LegRequest
datedServiceJourneyIdDated service journey ID for the leg.
originNsrCodeNSR code where the traveller leg starts.
destinationNsrCodeNSR code where the traveller leg ends.
RebookToSeatTypeRequest
datedServiceJourneyIdThe datedServiceJourney whose reservations should be rebooked
reservationReferencesReferences of reservations that should be moved
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
mustReserveWholeCompartmentIf accommodation is COUCHETTE or SLEEPER, should the whole compartment be reserved (true) or can strangers be seated together (false)?
PatchSeatingOfferRequest
inactiveIf true, the departure will not be open for sales
manualMaterialIf true, the material on this SeatingOffer has been set manually
ReservationUpdateRequest
checkOrderStatusHistoryA flag to be used by internal clients, if true, check if the order has ever been CONFIRMED, should not change reservation status to CONFIRMED if order has never been CONFIRMED
statusThe new reservation status. Mutually exclusive with rebookingStatus.
rebookingStatusThe new rebooking status. Mutually exclusive with status.
infoOptional information that can be added when patching rebookingStatus to REJECTED.
sendNotificationWhether to send rebooking/replaced notification messages on Kafka when confirming. Defaults to true.
RebookedReservationLineResponse
referenceThe reference for this reservation line, this is a randomly generated UUID
orderLineIdOrderLine ID for this reservation line`
RebookedReservationResponse
referenceThe reference for this reservation, this is a randomly generated UUID
versionThe highest/newest version of this reservation. The initial version number is 1.
Destination StopPlace of the reservation
Destination StopPlace of the reservation
datedServiceJourneyIdId of the dated service journey
organisationIdThe organisation id of the order which the reservation belongs to.This id is determined by the authentication used by the client.
createdAtWhen this reservation was initially created
versionedAtWhen this version of this reservation was created
updatedAtWhen this was previously updated. This includes status changes, reservation line changes and so on.
reservationStatusDescribes the reservation status.
rebookingStatusDescribes the rebooking status of the reservation.
Reservation lines that are rebooked for this reservation, including previous reservation line.
orderIdThe orderId of the connected order where the creating client provided it. There are reservations without a connected order.
previousDatedServiceJourneyIdId of the previous dated service journey if the dated service journey has been changed
infoAdditional free text information about the reservation.
CoachResponse
idThe identifier of the coach
labelThe label of the coach
sequenceNumberThe sequence number in this coach
SeatResponse
idThe identifier of the seat
labelThe label for the seat
TripResponse
tripIdThe unique identifier of the trip (DSJ)
routeMapping of stop place IDs to human-readable station names
RebookedReservationResponseV1
referenceThe reference for this reservation, this is a randomly generated UUID
versionThe highest/newest version of this reservation. The initial version number is 1.
Destination StopPlace of the reservation
Destination StopPlace of the reservation
datedServiceJourneyIdId of the dated service journey
organisationIdThe organisation id of the order which the reservation belongs to.This id is determined by the authentication used by the client.
createdAtWhen this reservation was initially created
versionedAtWhen this version of this reservation was created
updatedAtWhen this was previously updated. This includes status changes, reservation line changes and so on.
reservationStatusDescribes the reservation status.
rebookingStatusDescribes the rebooking status of the reservation.
orderIdThe orderId of the connected order where the creating client provided it. There are reservations without a connected order.
previousDatedServiceJourneyIdId of the previous dated service journey if the dated service journey has been changed
infoAdditional free text information about the reservation.
CommonError
timestampstatuserrorexceptionmessagepathRebookingOverviewResponseV1
originalDatedServiceJourneyIdId of the original dated service journey
replacementsAll replacement dated service journeys
amountOfSuggestedRebookingsNumber of rebookings suggested
amountOfManualRebookingsNumber of rebookings ready for manual handling
amountOfAcceptedRebookingsNumber of rebookings accepted
amountOfNoJourneyRebookingsNumber of no-journey rebookings
amountOfSnoozedRebookingsNumber of rebookings snoozed
SeatingPropertiesResponseV1
fareClassFare class of the seat. Netex enumeration.
groupBookingGroup booking permission of the seat. Netex enumeration.
accommodationFacilityAccommodation property of the seat. Netex enumeration.
seatAttachmentAttachment of the seat. Netex enumeration.
seatPositionPosition of the seat. Netex enumeration.
relativeDirectionRelative direction of the seat. Netex enumeration.
nuisanceFacilitiesSet of possible nuisance factors of the seat. Netex enumerations.
passengerCommsFacilitiesSet of possible communication facilities available for passenger in the seat. Netex enumerations.
sanitaryFacilitiesSet of possible sanitary facilities available for passenger in the seat. Netex enumerations.
mobilityFacilitiesSet of possible mobility facilities available for passenger in the seat. Netex enumerations.
baggageTypeSet of possible baggage types possible for passenger in the seat. Netex enumerations.
TotalCapacityEntryResponseV1
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
numberOfSeatstotalCompartmentsTotalMaterialCompositionCapacityResponseV1
materialCompositionIdfromStopPlaceIduntilStopPlaceIdSeatsAvailabilitiesElementResponseV1
elementNetexIdNetex id of the element.
seriesRolling stock series of the element.
seriesVersionRolling stock version of the element.
elementCarriageNumberNumber of the element.
seatmapKeyNøkkel til seatmap som tilhører elementet.
SeatsReservationsReservationResponseV1
statusStatus of the reservation.
sequenceNrOriginIndex of the origin station of the reservation.
sequenceNrDestinationIndex of the destination station of the reservation.
nsrCodeOriginNsr code of the origin station of the reservation.
nsrCodeDestinationNsr code of the destination station of the reservation.
referenceReference of the reservation holding this seat.
orderIdOptional orderId connected to this reservation
SeatsReservationsResponseV1
statusStatus of the seat offer.
SeatsReservationsSeatResponseV1
seatNumberSeat number.
elementCarriageNumberNumber of the corresponding element.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
seriesRolling stock series of the corresponding element.
seriesVersionRolling stock version of the corresponding element.
compartmentNameA unique identifier of each compartment. If set then every seat with the same compartmentName belongs to the same physical compartment.
CapacitiesOccupancyElementResponseV1
elementCarriageNumberNumber of the corresponding element. The number used by passengers to find the correct carriage.
seriesRolling stock series of the corresponding element.
seriesVersionRolling stock version of the corresponding element.
CapacitiesOccupancySeatUsageResponseV1
nsrCodeId of the StopPlace from which the stretch originates.
availabilityAvailability of the seat.
closedIs the seat closed for this stopPlace. Always true if departure is inactive.
boardingWill the seat be occupied by a new passenger on this stopPlace?
alightingWill a passenger vacate this seat on this stopPlace?
SeatsOccupancyResponseV1
SeatsOccupancySeatResponseV1
seatNumberSeat number.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
List of seat usages between two neighboring stopPlaces.
compartmentNameA unique identifier of each compartment. If set then every seat with the same compartmentName belongs to the same physical compartment.
AvailableCompartmentResponse
compartmentNameUnique name identifying compartment in an element.
Seats in compartment.
compartmentLabelHuman-readable label identifying compartment in an element.
AvailableElementWithCompartmentsResponse
carriageIdentifierCarriage number of the element.
Available compartments in element.
Available single seats in element. These are seats that are not part of a compartment.
AvailableSeatResponse
seatNumberSeat number of seat.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
SeatsAvailabilitiesResponseV1
statusStatus of the seat offer.
SeatsAvailabilitiesSeatResponseV1
seatNumberSeat number.
elementCarriageNumberNumber of the corresponding element.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
seriesRolling stock series of the corresponding element.
seriesVersionRolling stock version of the corresponding element.
availabilityAvailability of the seat.
closedIs the seat closed for this stopPlace. Always true if departure is inactive.
compartmentLabelFor internal use only!! If set then every seat with the same label belongs to the same physical compartment.
compartmentNameA unique identifier of each compartment. If set then every seat with the same compartmentName belongs to the same physical compartment.
AvailableElementResponse
carriageIdentifierCarriage number of the element.
Available seats in element.
ServiceJourneyScheduleResponse
serviceJourneyIdThe netex id of the serviceJourney
firstDepartureDateThe first date and time of departure.
lastDepartureDateThe last date and time of departure.
ElementDebugResponse
seriesRolling stock series of the corresponding element.
seriesVersionRolling stock version of the corresponding element.
carriageIdentifierCarriage identifier for the element in the train.
netexIdNetex id of the element.
seatmapKeySeatmap key of the basic element. This can be used as a lookup in the seatmap service.
SeatDebugResponse
seatNumberThe seat number of the seat.
elementCarriageIdentifierThe carriage identifier of the carriage containing the seat.
rowThe row in the carriage containing the seat.
columnThe column in the carriage containing the seat.
Properties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
SeatGroupDebugResponse
nameThe name of the seat group.
seatGroupTypeThe type of the seat group.
labelThe label of the seat group.
SeatUsageDebugResponse
fromSequenceNumberThe sequence nr of the stop place that this seat usage is from.
toSequenceNumberThe sequence nr of the stop place that this seat usage is to.
elementClosureReferencesThe references of element closures affecting this seat usage.
seatNumberClosureReferencesThe references of seat closures affecting this seat usage.
createdAtWhen this seat usage was initially created.
reservationLineReferenceThe reference of the reservation line that has reserved this seat usage. Null if unreserved.
updatedAtWhen this seat usage was las updated. Null if never updated after creation.
updatedByThe organisation id that last updated this seat usage.
SeatingOfferDebugResponse
datedServiceJourneyIdThe netex id of the datedServiceJourney
datedServiceJourneyVersionThe version of the datedServiceJourney
organisationIdThe organisation id this seating offer is operated by.
seatingOfferStatusDescribes the seating offer status
serviceJourneyIdThe netex id of the serviceJourney
departureDateTimeThe time of departure from the first station.
lineIdThe netex id of the line
createdAtWhen this seating offer was initially created
createdByThe organisation id this seating offer was created by.
updatedByThe organisation id that last updated this seating offer.
inactiveWhether this seating offer is closed for sale or not
manualMaterialWhether the material for this seating offer was set manually.
capactiyOnlyWhether the seating offer has real RollingStock material or is meant for capacity only.
transportTypeThe type of transport this seating offer is for.
replacesNetexIdNetex id for the previous material used for this seating offer. If null the material on this dated service journey has never been changed.
updatedAtThe last time this seating offer was updated. If null the seating offer has not been updated
ReservationResponseV1
referenceThe reference for this reservation
versionThe version of the reservation. Starts with 1.
datedServiceJourneyIdId of the dated service journey
versionedAtDatedServiceJourneyVersionThe version of the datedServiceJouney at the time the reservation was versioned
originNsrCodeOrigin NSR code of the reservation
destinationNsrCodeDestination NSR code of the reservation
organisationIdThe organisation id of the order which the reservation belongs to.
statusDescribes the reservation status.
createdAtWhen this reservation was initially created
createdByThe organisation id this version of the reservation was created by.This id is determined by the authentication used by the client.
versionedAtWhen this version of this reservation was created
updatedAtWhen this was previously updated. This includes status changes, reservation line changes and so on.
orderIdThe 'id' of the order the reservation belongs to
rebookingStatusDescribes the rebooking status of the reservation.
notificationRuleRule for what type of notification is sent to reservation owner on departure closures
infoAdditional free text information about the reservation.
updatedByThe organisation id of the organisation that last updated this reservation.This id is determined by the authentication used by the client.
TravelIntentionResponseV1
travelIntentionReferenceTravelIntentionVersionResponseV1
travelIntentionVersionstatussnoozedoriginalDatedServiceJourneyIdoriginNsrCodedestinationNsrCodeversionedAtinfoRebookingOverviewResponse
datedServiceJourneyIdId of the dated service journey
amountOfSuggestedRebookingsNumber of rebookings suggested
amountOfManualRebookingsNumber of rebookings ready for manual handling
amountOfAcceptedRebookingsNumber of rebookings accepted
RebookingHistoryOverviewResponse
datedServiceJourneyIdId of the dated service journey
amountOfRejectedNumber of rejected rebooked reservations
amountOfConfirmedNumber of confirmed rebooked reservations