Search for Trip Proposal

 

Searching within TripProposal documents is facilitated using existing Sabre service, created to find PNRs - Trip_SearchRQ version 4.4.0 or higher.

API Information

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

Trip Proposal Specific criteria:

  • Search in /TripProposal/Label field for string starting with …
  • Search in /TripProposal/Metadata/Ownership/Owner/UsedId for precise userID
  • Search in /TripProposal/@proposalID for exact proposalID
  • Search in /TripProposal/Metadata/Ownership/CreatedBy/Date to find documents created within given time range
  • Search in /TripProposal/Metadata/Ownership/Owner/CurrentCity to find documents belonging to given PCC
  • For complete Criteria reference, please go to Trip_SearchRQ service documentation

Sample Request

<Trip_SearchRQ xmlns="http://webservices.sabre.com/triprecord" Version="1.1.0">
	<ReadRequests>
		<ReservationReadRequest>
			<PosCriteria AnyBranch="false"/>
			<NameCriteria>
				<Name>
					<FirstName MatchMode="EXACT">John</FirstName>
					<LastName MatchMode="EXACT">Smith</LastName>
				</Name>
			</NameCriteria>			
			<ReturnOptions ViewName="TripProposalSearch"/>
		</ReservationReadRequest>
	</ReadRequests>
</Trip_SearchRQ>

Sample Response

<Trip_SearchRS TimeStamp="2017-08-29T04:43:38" Target="Production" Version="1.1.0" xmlns="http://webservices.sabre.com/triprecord" xmlns:tp="http://services.sabre.com/tripproposal/v1_1" xmlns:or="http://services.sabre.com/res/or/v1_13" >
	<Success>Success</Success>
	<ReservationsList NumberResults="0" NumberPages="0" Token="0">
		<Reservations>
			<Reservation>
				<tp:TP_ReadRS version="1.1.0">
					<tp:TripProposal proposalID="UUPZNEQOO0">
						<tp:Label>Generated TripProposal label</tp:Label>
						<tp:Passenger>
							<or:Type>ADT</or:Type>
							<or:PersonName>
								<or:Prefix>MR</or:Prefix>
								<or:Given>John</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>
						</tp:Passenger>
						<tp:Quote quoteID="TP-1">
							<tp:Label>Quote label</tp:Label>
							<tp:Comments/>
							<tp:Option expirationDate="2017-09-15T13:59:15.000" optionID="TP-2" status="PROPOSED">
								<tp:Label>Option label</tp:Label>
								<tp:Comments/>
								<tp:Product id="TP-3">
									<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:Eticket>false</or:Eticket>
											<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:inboundConnection>false</or:inboundConnection>
											<or:outboundConnection>false</or:outboundConnection>
											<or:BSGIndicator>false</or:BSGIndicator>
											<or:PassiveSegmentIndicator>false</or:PassiveSegmentIndicator>
											<or:ScheduleChangeIndicator>false</or:ScheduleChangeIndicator>
											<or:InstantPurchase>false</or:InstantPurchase>
										</or:Air>
									</or:ProductDetails>
								</tp:Product>
							</tp:Option>
						</tp:Quote>
						<tp:Metadata>
							<tp:SnapshotID>c7b32c46-8b6e-4970-858b-e16c07bd11df</tp:SnapshotID>
							<tp:Ownership>
								<tp:Owner>
									<tp:UserID>899831</tp:UserID>
									<tp:CurrentCity>0DG7</tp:CurrentCity>
									<tp:PCC>AAT</tp:PCC>
									<tp:AaaArea>A</tp:AaaArea>
									<tp:AgentHomeCity>HDQ</tp:AgentHomeCity>
									<tp:AgentPrimeHost>1S</tp:AgentPrimeHost>
									<tp:AgentSign>K40</tp:AgentSign>
									<tp:CurrentPartition>AA</tp:CurrentPartition>
									<tp:Lniata>8177015</tp:Lniata>
									<tp:DutyCode>*</tp:DutyCode>
									<tp:Domain>AA</tp:Domain>
									<tp:Date>2017-08-29T04:41:57.256</tp:Date>
								</tp:Owner>
								<tp:CreatedBy>
									<tp:UserID>899831</tp:UserID>
									<tp:CurrentCity>0DG7</tp:CurrentCity>
									<tp:PCC>AAT</tp:PCC>
									<tp:AaaArea>A</tp:AaaArea>
									<tp:AgentHomeCity>HDQ</tp:AgentHomeCity>
									<tp:AgentPrimeHost>1S</tp:AgentPrimeHost>
									<tp:AgentSign>K40</tp:AgentSign>
									<tp:CurrentPartition>AA</tp:CurrentPartition>
									<tp:Lniata>8177015</tp:Lniata>
									<tp:DutyCode>*</tp:DutyCode>
									<tp:Domain>AA</tp:Domain>
									<tp:Date>2017-08-29T04:41:57.256</tp:Date>
								</tp:CreatedBy>
								<tp:UpdatedBy>
									<tp:UserID>899831</tp:UserID>
									<tp:CurrentCity>0DG7</tp:CurrentCity>
									<tp:PCC>AAT</tp:PCC>
									<tp:AaaArea>A</tp:AaaArea>
									<tp:AgentHomeCity>HDQ</tp:AgentHomeCity>
									<tp:AgentPrimeHost>1S</tp:AgentPrimeHost>
									<tp:AgentSign>K40</tp:AgentSign>
									<tp:CurrentPartition>AA</tp:CurrentPartition>
									<tp:Lniata>8177015</tp:Lniata>
									<tp:DutyCode>*</tp:DutyCode>
									<tp:Domain>AA</tp:Domain>
									<tp:Date>2017-08-29T04:41:57.256</tp:Date>
								</tp:UpdatedBy>
							</tp:Ownership>
						</tp:Metadata>
					</tp:TripProposal>
				</tp:TP_ReadRS>
			</Reservation>
		</Reservations>
	</ReservationsList>
</Trip_SearchRS>

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

Docs Navigation