Read Trip Proposal

 

Read Trip Proposal Service is used to Read a specific Trip Proposal from storage.

API Information

Target Audience
All Sabre APIs Customers
Current Version
1.1.0
Authentication
Session Token
Service Action Code
TP_ReadRQ

Read Trip Proposal Service returns whole Trip Proposal document. Most recent version of the Trip Proposal document is returned by default however User can specify which version to retrieve.

Sample Request

<?xml version="1.0" encoding="UTF-8"?>
<TP_ReadRQ xmlns="http://services.sabre.com/tripproposal/v1_1" proposalID="QV4MVGCYXC" version="1.1.0"/>

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<TP_ReadRS xmlns="http://services.sabre.com/tripproposal/v1_1" xmlns:or="http://services.sabre.com/res/or/v1_13" version ="1.1.0">
	<stl:ApplicationResults xmlns:stl="http://services.sabre.com/STL_Payload/v02_02" status="Complete">
		<stl:Success timeStamp="2017-08-29T02:02:53.609-05:00"/>
	</stl:ApplicationResults>
	<TripProposal proposalID="QV4MVGCYXC" proposalVersion="2">
		<Passenger passengerID="TP-1">
			<or:Type>ADT</or:Type>
			<or:PersonName>
				<or:Prefix>MR</or:Prefix>
				<or:Given>Jack</or:Given>
				<or:Surname>Smith</or:Surname>
				<or:Type>ADT</or:Type>
			</or:PersonName>
			<or:Telephone>
				<or:PhoneNumber>12345678</or:PhoneNumber>
			</or:Telephone>
			<or:Email>email@sample.com</or:Email>
		</Passenger>
		<Quote quoteID="QID-1">
			<Label>Quote label</Label>
			<Option expirationDate="2017-09-28T00:00:00.000" optionID="OID-1" status="BOOKED">
				<Label>Option label</Label>
				<Product id="TP-2">
					<or:ProductDetails productCategory="AIR">
						<or:ProductName type="AIR"/>
						<or:Air>
							<or:DepartureAirport>BCN</or:DepartureAirport>
							<or:ArrivalAirport>AMS</or:ArrivalAirport>
							<or:MarketingAirlineCode>BA</or:MarketingAirlineCode>
							<or:DepartureDateTime>2017-09-05T10:30:00</or:DepartureDateTime>
							<or:ArrivalDateTime>2017-09-05T12:55:00</or:ArrivalDateTime>
							<or:FlightNumber>8147</or:FlightNumber>
							<or:ClassOfService>L</or:ClassOfService>
							<or:ActionCode>YK</or:ActionCode>
							<or:NumberInParty>1</or:NumberInParty>
						</or:Air>
					</or:ProductDetails>
				</Product>
			</Option>
			<Option expirationDate="2017-09-28T00:00:00.000" optionID="OID-2" status="BOOKED">
				<Label>Option label</Label>
				<Product id="TP-3">
					<or:ProductDetails productCategory="AIR">
						<or:ProductName type="AIR"/>
						<or:Air>
							<or:DepartureAirport>AMS</or:DepartureAirport>
							<or:ArrivalAirport>BCN</or:ArrivalAirport>
							<or:MarketingAirlineCode>BA</or:MarketingAirlineCode>
							<or:DepartureDateTime>2017-09-15T10:30:00</or:DepartureDateTime>
							<or:ArrivalDateTime>2017-09-15T12:55:00</or:ArrivalDateTime>
							<or:FlightNumber>2447</or:FlightNumber>
							<or:ClassOfService>L</or:ClassOfService>
							<or:ActionCode>YK</or:ActionCode>
							<or:NumberInParty>1</or:NumberInParty>
						</or:Air>
					</or:ProductDetails>
				</Product>
			</Option>
		</Quote>
		<Quote quoteID="QID-2">
			<Label>Quote label</Label>
			<Comments/>
			<Option expirationDate="2017-08-30T09:02:32.000" optionID="OID-3" status="BOOKED">
				<Label>Option label</Label>
				<Product id="TP-4">
					<or:ProductDetails endDateTime="2017-09-15T12:00:00" endPoint="AMS" productType="HHT" startDateTime="2017-09-05T10:00:00" startPoint="AMS" statusCode="GK" vendorCode="VC">
						<or:ProductName type="HHT"/>
						<or:Hotel>
							<or:Reservation>
								<or:LineNumber>1</or:LineNumber>
								<or:LineType>HHT</or:LineType>
								<or:LineStatus>GK</or:LineStatus>
								<or:SpecialPrefs/>
								<or:RoomType>
									<or:RoomTypeCode>B1Q</or:RoomTypeCode>
									<or:NumberOfUnits>1</or:NumberOfUnits>
									<or:RateOccupancyPerRoom>1</or:RateOccupancyPerRoom>
									<or:NumOfBeds>1</or:NumOfBeds>
								</or:RoomType>				
								<or:TimeSpanStart>2017-09-05T10:00:00</or:TimeSpanStart>
								<or:TimeSpanEnd>2017-09-15T12:00:00</or:TimeSpanEnd>
								<or:ChainCode>VC</or:ChainCode>
								<or:HotelCityCode>AMS</or:HotelCityCode>
								<or:HotelName>Hilton Amsterdam Airport Schiphol</or:HotelName>
							</or:Reservation>
							<or:HotelPolicy>
								<or:LateDeparturePolicy>No policy</or:LateDeparturePolicy>
							</or:HotelPolicy>
							<or:PricingElements>
								<or:Deposit amount="23" currencyCode="EUR">
									<or:DueDate>2017-09-05</or:DueDate>
								</or:Deposit>
								<or:Discount amount="29" currencyCode="EUR" type="DiscountType">
									<or:DiscountDescription>MXYCKFOANUYNBLJZAXFB</or:DiscountDescription>
								</or:Discount>
								<or:Payment>
									<or:SubTotal amount="46" currency="EUR"/>
									<or:Total amount="126" currency="EUR">
										<or:DueDate>2017-09-05</or:DueDate>
									</or:Total>
								</or:Payment>
							</or:PricingElements>
						</or:Hotel>
					</or:ProductDetails>
				</Product>
			</Option>
		</Quote>
		<BookedPnrReference pnrCreateDate="2017-08-29">EDRJTA</BookedPnrReference>
		<Metadata>
			<SnapshotID>5d3d1ae0-7c2e-48b6-adef-401e6fe774b9</SnapshotID>
			<Ownership>
				<Owner>
					<UserID>899831</UserID>
					<CurrentCity>0DG7</CurrentCity>
					<PCC>AAT</PCC>
					<AaaArea>A</AaaArea>
					<AgentHomeCity>HDQ</AgentHomeCity>
					<AgentPrimeHost>1S</AgentPrimeHost>
					<AgentSign>K40</AgentSign>
					<CurrentPartition>AA</CurrentPartition>
					<Lniata>4721138</Lniata>
					<DutyCode>*</DutyCode>
					<Domain>AA</Domain>
					<Date>2017-08-29T02:02:40.070</Date>
				</Owner>
				<CreatedBy>
					<UserID>899831</UserID>
					<CurrentCity>0DG7</CurrentCity>
					<PCC>AAT</PCC>
					<AaaArea>A</AaaArea>
					<AgentHomeCity>HDQ</AgentHomeCity>
					<AgentPrimeHost>1S</AgentPrimeHost>
					<AgentSign>K40</AgentSign>
					<CurrentPartition>AA</CurrentPartition>
					<Lniata>4721138</Lniata>
					<DutyCode>*</DutyCode>
					<Domain>AA</Domain>
					<Date>2017-08-29T02:02:40.070</Date>
				</CreatedBy>
				<UpdatedBy>
					<UserID>899831</UserID>
					<CurrentCity>0DG7</CurrentCity>
					<PCC>AAT</PCC>
					<AaaArea>A</AaaArea>
					<AgentHomeCity>HDQ</AgentHomeCity>
					<AgentPrimeHost>1S</AgentPrimeHost>
					<AgentSign>K40</AgentSign>
					<CurrentPartition>AA</CurrentPartition>
					<Lniata>4721138</Lniata>
					<DutyCode>*</DutyCode>
					<Domain>AA</Domain>
					<Date>2017-08-29T02:02:49.719</Date>
				</UpdatedBy>
			</Ownership>
		</Metadata>
	</TripProposal>
</TP_ReadRS>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation