Skip to main content

Get DB Rail Reservation

1.0.0
Rail
Reservation
SOAP API

The Get DB Rail Reservation (RailResRetrieveRQ) service provides XML with back office data available per Deutsche Bahn (NVS) order on the web service request.

Target Audience
Travel Agency
Current Version
1.0.0
Authentication
Session Token
Service Action Code
RailResRetrieveRQ

It is possible to request for one NVS order by NVS order identifier.

Sample Request
<rcp:RailResRetrieveRQ TargetSystem="2A" Version="1" xsi:schemaLocation="http://webservices.sabre.com/sabreXML/RCP RailResRetrieveRQ.xsd" xmlns:rcp="http://webservices.sabre.com/sabreXML/RCP">
	<rcp:ResRetrieveDetails>
		<rcp:BookingRef ID="704657381"/>
	</rcp:ResRetrieveDetails>
</rcp:RailResRetrieveRQ>
Sample Response
<rcp:RailResRetrieveRS SourceSystem="2A" Version="1.0" PrimaryLangID="en-us" xsi:schemaLocation="http://webservices.sabre.com/sabreXML/RCP ../RailResRetrieveRS.xsd" xmlns:rcp="http://webservices.sabre.com/sabreXML/RCP" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<rcp:Success/>
	<rcp:RailReservation>
		<rcp:BookingRef Type="14" ID_Context="2A" ID="12798711"/>
		<rcp:Travelers>
			<rcp:Traveler ID="1">
				<rcp:PersonName>
					<ota:GivenName>TEST</ota:GivenName>
					<ota:Surname>JOHN</ota:Surname>
				</rcp:PersonName>
			</rcp:Traveler>
		</rcp:Travelers>
		<rcp:Itinerary>
			<rcp:OrginAndDestinations>
				<rcp:OrginAndDestination DepartureDateTime="2010-10-28T10:45:00" ArrivalDateTime="2010-10-28T17:10:00">
					<rcp:Origin LocationCode="8000013" CodeContext="2A">Augsburg Hbf</rcp:Origin>
					<rcp:Destination LocationCode="8011160" CodeContext="2A">Berlin Hbf</rcp:Destination>
					<rcp:Segments>
						<rcp:Segment ID="1.1.1" Status="Booked" NumberOfTravelers="1" DepartureDateTime="2010-10-28T10:45:00" ArrivalDateTime="2010-10-28T11:46:00" ClassOfService="2" TrainCode="DPN" TrainNumber="86542">
							<rcp:Origin LocationCode="8000013" CodeContext="2A">Augsburg Hbf</rcp:Origin>
							<rcp:Destination LocationCode="8000183" CodeContext="2A">Ingolstadt Hbf</rcp:Destination>
						</rcp:Segment>
						<rcp:Segment ID="1.1.2" Status="Booked" NumberOfTravelers="1" DepartureDateTime="2010-10-28T11:58:00" ArrivalDateTime="2010-10-28T17:10:00" ClassOfService="2" TrainCode="ICE" TrainNumber="1208">
							<rcp:Origin LocationCode="8000183" CodeContext="2A">Ingolstadt Hbf</rcp:Origin>
							<rcp:Destination LocationCode="8098160" CodeContext="2A">Berlin Hbf (tief)</rcp:Destination>
						</rcp:Segment>
					</rcp:Segments>
				</rcp:OrginAndDestination>
				<rcp:OrginAndDestination DepartureDateTime="2010-11-02T12:58:00" ArrivalDateTime="2010-11-02T18:42:00">
					<rcp:Origin LocationCode="8011160" CodeContext="2A">Berlin Hbf</rcp:Origin>
					<rcp:Destination LocationCode="8000013" CodeContext="2A">Augsburg Hbf</rcp:Destination>
					<rcp:Segments>
						<rcp:Segment ID="1.1.3" Status="Booked" NumberOfTravelers="1" DepartureDateTime="2010-11-02T12:58:00" ArrivalDateTime="2010-11-02T17:25:00" ClassOfService="2" TrainCode="ICE" TrainNumber="109">
							<rcp:Origin LocationCode="8098160" CodeContext="2A">Berlin Hbf (tief)</rcp:Origin>
							<rcp:Destination LocationCode="8000284" CodeContext="2A">Neurnberg Hbf</rcp:Destination>
						</rcp:Segment>
						<rcp:Segment ID="1.1.4" Status="Booked" NumberOfTravelers="1" DepartureDateTime="2010-11-02T17:34:00" ArrivalDateTime="2010-11-02T18:42:00" ClassOfService="2" TrainCode="RE" TrainNumber="3393">
							<rcp:Origin LocationCode="8000284" CodeContext="2A">Neurnberg Hbf</rcp:Origin>
							<rcp:Destination LocationCode="8000013" CodeContext="2A">Augsburg Hbf</rcp:Destination>
						</rcp:Segment>
					</rcp:Segments>
				</rcp:OrginAndDestination>
				<rcp:OrginAndDestination DepartureDateTime="2010-10-28T11:58:00" ArrivalDateTime="2010-10-28T17:10:00">
					<rcp:Origin LocationCode="8000183" CodeContext="2A">Ingolstadt Hbf</rcp:Origin>
					<rcp:Destination LocationCode="8098160" CodeContext="2A">Berlin  Hbf</rcp:Destination>
					<rcp:Segments>
						<rcp:Segment ID="2.1" Status="Booked" NumberOfTravelers="1" DepartureDateTime="2010-10-28T11:58:00" ArrivalDateTime="2010-10-28T17:10:00" ClassOfService="2" ReservationOnly="true" TrainCode="ICE" TrainNumber="1208">
							<rcp:Origin LocationCode="8000183" CodeContext="2A">Ingolstadt Hbf</rcp:Origin>
							<rcp:Destination LocationCode="8098160" CodeContext="2A">Berlin Hbf</rcp:Destination>
							<rcp:Reservations>
								<rcp:Reservation PlaceType="Sitzplatz" NumberOfPlaces="1">
									<rcp:Places>
										<rcp:Place PlaceNbr="72" CoachNbr="21"/>
									</rcp:Places>
								</rcp:Reservation>
							</rcp:Reservations>
						</rcp:Segment>
					</rcp:Segments>
				</rcp:OrginAndDestination>
				<rcp:OrginAndDestination DepartureDateTime="2010-11-02T12:58:00" ArrivalDateTime="2010-11-02T17:25:00">
					<rcp:Origin LocationCode="8098160" CodeContext="2A">Berlin Hbf</rcp:Origin>
					<rcp:Destination LocationCode="8000284" CodeContext="2A">Neurnberg Hbf</rcp:Destination>
					<rcp:Segments>
						<rcp:Segment ID="2.2" Status="Booked" NumberOfTravelers="1" DepartureDateTime="2010-11-02T12:58:00" ArrivalDateTime="2010-11-02T17:25:00" ClassOfService="2" ReservationOnly="true" TrainCode="ICE" TrainNumber="109">
							<rcp:Origin LocationCode="8098160" CodeContext="2A">Berlin Hbf</rcp:Origin>
							<rcp:Destination LocationCode="8000284" CodeContext="2A">Neurnberg Hbf</rcp:Destination>
							<rcp:Reservations>
								<rcp:Reservation PlaceType="Sitzplatz" NumberOfPlaces="1">
									<rcp:Places>
										<rcp:Place PlaceNbr="51" CoachNbr="21"/>
									</rcp:Places>
								</rcp:Reservation>
							</rcp:Reservations>
						</rcp:Segment>
					</rcp:Segments>
				</rcp:OrginAndDestination>
			</rcp:OrginAndDestinations>
		</rcp:Itinerary>
		<rcp:FareGroups>
			<rcp:FareGroup>
				<rcp:Fares>
					<rcp:Fare Name="Fahrkarte" ClassOfService="2">
						<rcp:SegmentRefs>
							<rcp:SegmentRef ID="1.1.1"/>
							<rcp:SegmentRef ID="1.1.2"/>
							<rcp:SegmentRef ID="1.1.3"/>
							<rcp:SegmentRef ID="1.1.4"/>
						</rcp:SegmentRefs>
						<rcp:Details>
							<rcp:Detail Type="DBFareCategory" Code="Normalpreis"/>
							<rcp:Detail Type="DBReductionName" Code="-------"/>
						</rcp:Details>
					</rcp:Fare>
				</rcp:Fares>
			</rcp:FareGroup>
			<rcp:FareGroup>
				<rcp:Fares>
					<rcp:Fare Name="Reservierung" ClassOfService="2">
						<rcp:SegmentRefs>
							<rcp:SegmentRef ID="2.1"/>
						</rcp:SegmentRefs>
					</rcp:Fare>
				</rcp:Fares>
			</rcp:FareGroup>
			<rcp:FareGroup>
				<rcp:Fares>
					<rcp:Fare Name="Reservierung" ClassOfService="2">
						<rcp:SegmentRefs>
							<rcp:SegmentRef ID="2.2"/>
						</rcp:SegmentRefs>
					</rcp:Fare>
				</rcp:Fares>
			</rcp:FareGroup>
		</rcp:FareGroups>
		<rcp:Tickets>
			<rcp:Ticket TicketDocumentNbr="1233927" TicketStatus="Ticketed" PaymentStatus="NotPaid">
				<rcp:SegmentRefs>
					<rcp:SegmentRef ID="1.1.1"/>
					<rcp:SegmentRef ID="1.1.2"/>
					<rcp:SegmentRef ID="1.1.3"/>
					<rcp:SegmentRef ID="1.1.4"/>
				</rcp:SegmentRefs>
				<rcp:Price CurrencyCode="EUR" Amount="212.00" TaxInclusive="true">
					<ota:Taxes>
						<ota:Tax Code="36" CurrencyCode="EUR" Amount="33.85"/>
					</ota:Taxes>
				</rcp:Price>
			</rcp:Ticket>
			<rcp:Ticket TicketDocumentNbr="1233930" TicketStatus="Ticketed" PaymentStatus="NotPaid">
				<rcp:SegmentRefs>
					<rcp:SegmentRef ID="2.1"/>
				</rcp:SegmentRefs>
				<rcp:Price CurrencyCode="EUR" Amount="4.50" TaxInclusive="true">
					<ota:Taxes>
						<ota:Tax Code="36" CurrencyCode="EUR" Amount="0.72"/>
					</ota:Taxes>
				</rcp:Price>
			</rcp:Ticket>
			<rcp:Ticket TicketDocumentNbr="1233933" TicketStatus="Ticketed" PaymentStatus="NotPaid">
				<rcp:SegmentRefs>
					<rcp:SegmentRef ID="2.2"/>
				</rcp:SegmentRefs>
				<rcp:Price CurrencyCode="EUR" Amount="4.50" TaxInclusive="true">
					<ota:Taxes>
						<ota:Tax Code="36" CurrencyCode="EUR" Amount="0.72"/>
					</ota:Taxes>
				</rcp:Price>
			</rcp:Ticket>
		</rcp:Tickets>
	</rcp:RailReservation>
	<rcp:TPA_Extensions>
		<rcp:DB_Extensions>
			<rcp:Attachements>
				<rcp:Attachment/>
				<rcp:Attachment/>
			</rcp:Attachements>
		</rcp:DB_Extensions>
	</rcp:TPA_Extensions>
</rcp:RailResRetrieveRS>