The Refresh Trip Proposal API (TP_RefreshRQ) is used to refresh the pricing and availability status of offers stored in Trip Proposal documents.
Target Audience
Travel Agency
API Version
1.1.0
Authentication
Session Token
Service Action Code
TP_RefreshRQ
Refresh Trip Proposal Services currently supports the following content:
- Active Sabre GDS Air products
- Active Sabre GDS Hotel products
- Active Sabre GDS CAR products
Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<TP_RefreshRQ xmlns="http://services.sabre.com/tripproposal/v1_1" version="1.1.0">
<RefreshOptions companyName="OTAQA"/>
<TripProposalReference>
<TripProposalID>YPJ8AVIDWX</TripProposalID>
</TripProposalReference>
</TP_RefreshRQ>
<TP_RefreshRQ xmlns="http://services.sabre.com/tripproposal/v1_1" version="1.1.0">
<RefreshOptions companyName="OTAQA"/>
<TripProposalReference>
<TripProposalID>YPJ8AVIDWX</TripProposalID>
</TripProposalReference>
</TP_RefreshRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<TP_RefreshRS xmlns="http://services.sabre.com/tripproposal/v1_1" xmlns:or="http://services.sabre.com/res/or/v1_13">
<ns9:ApplicationResults xmlns:ns9="http://services.sabre.com/STL_Payload/v02_02" status="Complete">
<ns9:Success timeStamp="2018-04-05T04:36:40.976-05:00"/>
</ns9:ApplicationResults>
<TripProposal proposalID="L36QNMBUHC" proposalVersion="2">
<Passenger passengerID="TP-1">
<or:Type code="ADT">ADT</or:Type>
<or:PersonName>
<or:Prefix>MS</or:Prefix>
<or:Given>FIRSTNAME</or:Given>
<or:Surname>BB</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>
<Passenger passengerID="TP-2">
<or:Type code="INF">INF</or:Type>
<or:PersonName>
<or:Given>THISISLONGFIRSTNAME</or:Given>
<or:Surname>BB</or:Surname>
<or:Type>INF</or:Type>
</or:PersonName>
</Passenger>
<Quote quoteID="TP-3">
<Label>Quote label</Label>
<Option expirationDate="2018-05-05T00:00:00" optionID="TP-4" status="ACTIVE">
<Label>Option label</Label>
<Comments/>
<Product id="TP-5">
<or:ProductDetails productCategory="AIR">
<or:ProductName type="AIR"/>
<or:Air>
<or:DepartureAirport>AUH</or:DepartureAirport>
<or:ArrivalAirport>MUC</or:ArrivalAirport>
<or:MarketingAirlineCode>EY</or:MarketingAirlineCode>
<or:Eticket>false</or:Eticket>
<or:DepartureDateTime>2018-04-07T02:40:00</or:DepartureDateTime>
<or:ArrivalDateTime>2018-04-07T07:00:00</or:ArrivalDateTime>
<or:FlightNumber>5</or:FlightNumber>
<or:ClassOfService>Y</or:ClassOfService>
<or:ActionCode>NN</or:ActionCode>
<or:NumberInParty>1</or:NumberInParty>
</or:Air>
</or:ProductDetails>
</Product>
<Price>
<or:PriceSummary id="1" refreshTimestamp="2018-04-05T04:36:40">
<or:BasePrice currencyCode="AED">4830</or:BasePrice>
<or:EquivPrice currencyCode="USD">1316.00</or:EquivPrice>
<or:TotalTaxes>
<or:Tax>
<or:TaxAmount currencyCode="USD">209.30</or:TaxAmount>
<or:TaxCode>TOTALTAX</or:TaxCode>
</or:Tax>
<or:TotalTaxAmount currencyCode="USD">209.30</or:TotalTaxAmount>
</or:TotalTaxes>
<or:TotalPrice currencyCode="USD">1525.30</or:TotalPrice>
<or:PriceBreakDown>
<or:PassengerType code="ADT"/>
<or:NumberOfPassengers>1</or:NumberOfPassengers>
<or:BasePrice currencyCode="AED">4380</or:BasePrice>
<or:EquivPrice currencyCode="USD">1193.00</or:EquivPrice>
<or:Taxes>
<or:Tax>
<or:TaxAmount currencyCode="USD">156.60</or:TaxAmount>
<or:TaxCode>YQF</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">20.40</or:TaxAmount>
<or:TaxCode>AE4</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">9.50</or:TaxAmount>
<or:TaxCode>F62</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">1.40</or:TaxAmount>
<or:TaxCode>TP</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">1.40</or:TaxAmount>
<or:TaxCode>ZR2</or:TaxCode>
</or:Tax>
<or:TotalTaxAmount currencyCode="USD">189.30</or:TotalTaxAmount>
</or:Taxes>
<or:Price currencyCode="USD">1382.30</or:Price>
</or:PriceBreakDown>
<or:PriceBreakDown>
<or:PassengerType code="INF"/>
<or:NumberOfPassengers>1</or:NumberOfPassengers>
<or:BasePrice currencyCode="AED">450</or:BasePrice>
<or:EquivPrice currencyCode="USD">123.00</or:EquivPrice>
<or:Taxes>
<or:Tax>
<or:TaxAmount currencyCode="USD">20.00</or:TaxAmount>
<or:TaxCode>YQF</or:TaxCode>
</or:Tax>
<or:TotalTaxAmount currencyCode="USD">20.00</or:TotalTaxAmount>
</or:Taxes>
<or:Price currencyCode="USD">143.00</or:Price>
</or:PriceBreakDown>
</or:PriceSummary>
<or:PriceProvider>
<or:ProviderName>RevalidateItinRQ</or:ProviderName>
</or:PriceProvider>
</Price>
</Option>
</Quote>
<Metadata>
<SnapshotID>25ffb539-1965-481d-81dc-de51f8495978</SnapshotID>
<Ownership>
<Owner>
<UserID>2212</UserID>
<CurrentCity>B4T0</CurrentCity>
<PCC>B4T0</PCC>
<AaaArea>A</AaaArea>
<AgentHomeCity>B4T0</AgentHomeCity>
<AgentPrimeHost>1S</AgentPrimeHost>
<AgentSign>A6E</AgentSign>
<CurrentPartition>AA</CurrentPartition>
<Lniata>2054954</Lniata>
<DutyCode>*</DutyCode>
<Domain>AA</Domain>
<Date>2018-04-05T04:36:33</Date>
</Owner>
<CreatedBy>
<UserID>2212</UserID>
<CurrentCity>B4T0</CurrentCity>
<PCC>B4T0</PCC>
<AaaArea>A</AaaArea>
<AgentHomeCity>B4T0</AgentHomeCity>
<AgentPrimeHost>1S</AgentPrimeHost>
<AgentSign>A6E</AgentSign>
<CurrentPartition>AA</CurrentPartition>
<Lniata>2054954</Lniata>
<DutyCode>*</DutyCode>
<Domain>AA</Domain>
<Date>2018-04-05T04:36:33</Date>
</CreatedBy>
<UpdatedBy>
<UserID>2212</UserID>
<CurrentCity>B4T0</CurrentCity>
<PCC>B4T0</PCC>
<AaaArea>A</AaaArea>
<AgentHomeCity>B4T0</AgentHomeCity>
<AgentPrimeHost>1S</AgentPrimeHost>
<AgentSign>A6E</AgentSign>
<CurrentPartition>AA</CurrentPartition>
<Lniata>2054954</Lniata>
<DutyCode>*</DutyCode>
<Domain>AA</Domain>
<Date>2018-04-05T04:36:40</Date>
</UpdatedBy>
</Ownership>
</Metadata>
</TripProposal>
</TP_RefreshRS>
<TP_RefreshRS xmlns="http://services.sabre.com/tripproposal/v1_1" xmlns:or="http://services.sabre.com/res/or/v1_13">
<ns9:ApplicationResults xmlns:ns9="http://services.sabre.com/STL_Payload/v02_02" status="Complete">
<ns9:Success timeStamp="2018-04-05T04:36:40.976-05:00"/>
</ns9:ApplicationResults>
<TripProposal proposalID="L36QNMBUHC" proposalVersion="2">
<Passenger passengerID="TP-1">
<or:Type code="ADT">ADT</or:Type>
<or:PersonName>
<or:Prefix>MS</or:Prefix>
<or:Given>FIRSTNAME</or:Given>
<or:Surname>BB</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>
<Passenger passengerID="TP-2">
<or:Type code="INF">INF</or:Type>
<or:PersonName>
<or:Given>THISISLONGFIRSTNAME</or:Given>
<or:Surname>BB</or:Surname>
<or:Type>INF</or:Type>
</or:PersonName>
</Passenger>
<Quote quoteID="TP-3">
<Label>Quote label</Label>
<Option expirationDate="2018-05-05T00:00:00" optionID="TP-4" status="ACTIVE">
<Label>Option label</Label>
<Comments/>
<Product id="TP-5">
<or:ProductDetails productCategory="AIR">
<or:ProductName type="AIR"/>
<or:Air>
<or:DepartureAirport>AUH</or:DepartureAirport>
<or:ArrivalAirport>MUC</or:ArrivalAirport>
<or:MarketingAirlineCode>EY</or:MarketingAirlineCode>
<or:Eticket>false</or:Eticket>
<or:DepartureDateTime>2018-04-07T02:40:00</or:DepartureDateTime>
<or:ArrivalDateTime>2018-04-07T07:00:00</or:ArrivalDateTime>
<or:FlightNumber>5</or:FlightNumber>
<or:ClassOfService>Y</or:ClassOfService>
<or:ActionCode>NN</or:ActionCode>
<or:NumberInParty>1</or:NumberInParty>
</or:Air>
</or:ProductDetails>
</Product>
<Price>
<or:PriceSummary id="1" refreshTimestamp="2018-04-05T04:36:40">
<or:BasePrice currencyCode="AED">4830</or:BasePrice>
<or:EquivPrice currencyCode="USD">1316.00</or:EquivPrice>
<or:TotalTaxes>
<or:Tax>
<or:TaxAmount currencyCode="USD">209.30</or:TaxAmount>
<or:TaxCode>TOTALTAX</or:TaxCode>
</or:Tax>
<or:TotalTaxAmount currencyCode="USD">209.30</or:TotalTaxAmount>
</or:TotalTaxes>
<or:TotalPrice currencyCode="USD">1525.30</or:TotalPrice>
<or:PriceBreakDown>
<or:PassengerType code="ADT"/>
<or:NumberOfPassengers>1</or:NumberOfPassengers>
<or:BasePrice currencyCode="AED">4380</or:BasePrice>
<or:EquivPrice currencyCode="USD">1193.00</or:EquivPrice>
<or:Taxes>
<or:Tax>
<or:TaxAmount currencyCode="USD">156.60</or:TaxAmount>
<or:TaxCode>YQF</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">20.40</or:TaxAmount>
<or:TaxCode>AE4</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">9.50</or:TaxAmount>
<or:TaxCode>F62</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">1.40</or:TaxAmount>
<or:TaxCode>TP</or:TaxCode>
</or:Tax>
<or:Tax>
<or:TaxAmount currencyCode="USD">1.40</or:TaxAmount>
<or:TaxCode>ZR2</or:TaxCode>
</or:Tax>
<or:TotalTaxAmount currencyCode="USD">189.30</or:TotalTaxAmount>
</or:Taxes>
<or:Price currencyCode="USD">1382.30</or:Price>
</or:PriceBreakDown>
<or:PriceBreakDown>
<or:PassengerType code="INF"/>
<or:NumberOfPassengers>1</or:NumberOfPassengers>
<or:BasePrice currencyCode="AED">450</or:BasePrice>
<or:EquivPrice currencyCode="USD">123.00</or:EquivPrice>
<or:Taxes>
<or:Tax>
<or:TaxAmount currencyCode="USD">20.00</or:TaxAmount>
<or:TaxCode>YQF</or:TaxCode>
</or:Tax>
<or:TotalTaxAmount currencyCode="USD">20.00</or:TotalTaxAmount>
</or:Taxes>
<or:Price currencyCode="USD">143.00</or:Price>
</or:PriceBreakDown>
</or:PriceSummary>
<or:PriceProvider>
<or:ProviderName>RevalidateItinRQ</or:ProviderName>
</or:PriceProvider>
</Price>
</Option>
</Quote>
<Metadata>
<SnapshotID>25ffb539-1965-481d-81dc-de51f8495978</SnapshotID>
<Ownership>
<Owner>
<UserID>2212</UserID>
<CurrentCity>B4T0</CurrentCity>
<PCC>B4T0</PCC>
<AaaArea>A</AaaArea>
<AgentHomeCity>B4T0</AgentHomeCity>
<AgentPrimeHost>1S</AgentPrimeHost>
<AgentSign>A6E</AgentSign>
<CurrentPartition>AA</CurrentPartition>
<Lniata>2054954</Lniata>
<DutyCode>*</DutyCode>
<Domain>AA</Domain>
<Date>2018-04-05T04:36:33</Date>
</Owner>
<CreatedBy>
<UserID>2212</UserID>
<CurrentCity>B4T0</CurrentCity>
<PCC>B4T0</PCC>
<AaaArea>A</AaaArea>
<AgentHomeCity>B4T0</AgentHomeCity>
<AgentPrimeHost>1S</AgentPrimeHost>
<AgentSign>A6E</AgentSign>
<CurrentPartition>AA</CurrentPartition>
<Lniata>2054954</Lniata>
<DutyCode>*</DutyCode>
<Domain>AA</Domain>
<Date>2018-04-05T04:36:33</Date>
</CreatedBy>
<UpdatedBy>
<UserID>2212</UserID>
<CurrentCity>B4T0</CurrentCity>
<PCC>B4T0</PCC>
<AaaArea>A</AaaArea>
<AgentHomeCity>B4T0</AgentHomeCity>
<AgentPrimeHost>1S</AgentPrimeHost>
<AgentSign>A6E</AgentSign>
<CurrentPartition>AA</CurrentPartition>
<Lniata>2054954</Lniata>
<DutyCode>*</DutyCode>
<Domain>AA</Domain>
<Date>2018-04-05T04:36:40</Date>
</UpdatedBy>
</Ownership>
</Metadata>
</TripProposal>
</TP_RefreshRS>