The Search For Trip Proposal API is used to search within TripProposal documents.
Target Audience
Travel Agency
API Version
1.1.0
Authentication
Session Token
Service Action Code
SearchTripProposalRQ
The SearchTripProposalRQ API provides the capability to search TripProposal documents using the **Trip_SearchRQ** service syntax (request schema is shared).
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>
<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>
<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>