Skip Navigation

Update Trip Proposal

1.1.0
Air
Reservation
SOAP API
Travel Agency

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

The Update Trip Proposal (TP_UpdateRQ) service is used to update a specific Trip Proposal (e.g. change passenger data, add/remove options, change status).

Target Audience
Travel Agency
API Version
1.1.0
Authentication
Session Token
Service Action Code
TP_UpdateRQ

Operation supports only full update, which means that requested version of TripProposal is overwritten by newer version. No Partial updates are supported.

Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<TP_UpdateRQ xmlns="http://services.sabre.com/tripproposal/v1_1" xmlns:orr="http://services.sabre.com/res/or/v1_13" version="1.1.0">
    <ReturnOptions retrieveDocument="true"/>
    <TripProposal proposalID="SZKLA9G1U7" proposalVersion="1">
        <Label>Generated TripProposal label</Label>
        <Passenger>
            <orr:Type>ADT</orr:Type>
            <orr:PersonName>
                <orr:Prefix>MR</orr:Prefix>
                <orr:Given>John</orr:Given>
                <orr:Surname>Smith</orr:Surname>
                <orr:Type>ADT</orr:Type>
            </orr:PersonName>
            <orr:Telephone>
                <orr:PhoneNumber>12345678</orr:PhoneNumber>
            </orr:Telephone>
            <orr:Email>email@sample.com</orr:Email>
        </Passenger>
        <Quote quoteID="QID-1">
            <Label>Quote label</Label>
            <Option optionID="OID-1" status="PROPOSED">
                <Label>Option label</Label>
                <Product>
                    <orr:ProductDetails productType="AIR" vendorCode="VC" startPoint="BCN" startDateTime="2017-09-05T10:30:00" endPoint="AMS" endDateTime="2017-09-05T12:55:00">
                        <orr:ProductName type="AIR"/>
                        <orr:Air>
                            <orr:DepartureAirport>BCN</orr:DepartureAirport>
                            <orr:ArrivalAirport>AMS</orr:ArrivalAirport>
                            <orr:MarketingAirlineCode>BA</orr:MarketingAirlineCode>
                            <orr:Eticket>false</orr:Eticket>
                            <orr:DepartureDateTime>2017-09-05T10:30:00</orr:DepartureDateTime>
                            <orr:ArrivalDateTime>2017-09-05T12:55:00</orr:ArrivalDateTime>
                            <orr:FlightNumber>8147</orr:FlightNumber>
                            <orr:ClassOfService>L</orr:ClassOfService>
                            <orr:ActionCode>YK</orr:ActionCode>
                            <orr:NumberInParty>1</orr:NumberInParty>
                        </orr:Air>
                    </orr:ProductDetails>
                </Product>
            </Option>
            <Option optionID="OID-2" status="PROPOSED">
                <Label>Option label</Label>
                <Product>
                    <orr:ProductDetails productType="AIR" vendorCode="VC" startPoint="AMS" startDateTime="2017-09-12T10:30:00" endPoint="BCN" endDateTime="2017-09-12T13:55:00">
                        <orr:ProductName type="AIR"/>
                        <orr:Air>
                            <orr:DepartureAirport>AMS</orr:DepartureAirport>
                            <orr:ArrivalAirport>BCN</orr:ArrivalAirport>
                            <orr:MarketingAirlineCode>BA</orr:MarketingAirlineCode>
                            <orr:Eticket>false</orr:Eticket>
                            <orr:DepartureDateTime>2017-09-12T10:30:00</orr:DepartureDateTime>
                            <orr:ArrivalDateTime>2017-09-12T13:55:00</orr:ArrivalDateTime>
                            <orr:FlightNumber>8147</orr:FlightNumber>
                            <orr:ClassOfService>L</orr:ClassOfService>
                            <orr:ActionCode>YK</orr:ActionCode>
                            <orr:NumberInParty>1</orr:NumberInParty>
                        </orr:Air>
                    </orr:ProductDetails>
                </Product>
            </Option>
        </Quote>
        <Quote quoteID="QID-2">
            <Label>Quote label</Label>
            <Option optionID="OID-3" status="PROPOSED">
                <Label>Option label</Label>
                <Product>
                    <orr:ProductDetails productType="HHT" vendorCode="VC" startPoint="AMS" startDateTime="2017-09-05T10:00:00" endPoint="AMS" endDateTime="2017-09-12T12:00:00">
                        <orr:ProductName type="HHT"/>
                        <orr:Hotel>
                            <orr:Reservation>
                                <orr:LineNumber>1</orr:LineNumber>
                                <orr:LineType>HHT</orr:LineType>
                                <orr:LineStatus>GK</orr:LineStatus>
                                <orr:SpecialPrefs/>
                                <orr:RoomType>
                                    <orr:RoomTypeCode>B1Q</orr:RoomTypeCode>
                                    <orr:NumberOfUnits>1</orr:NumberOfUnits>
                                    <orr:RateOccupancyPerRoom>1</orr:RateOccupancyPerRoom>
                                    <orr:NumOfBeds>1</orr:NumOfBeds>
                                </orr:RoomType>
                                <orr:TimeSpanStart>2017-09-05T10:00:00</orr:TimeSpanStart>
                                <orr:TimeSpanEnd>2017-09-12T12:00:00</orr:TimeSpanEnd>
                                <orr:ChainCode>VC</orr:ChainCode>
                                <orr:HotelCityCode>AMS</orr:HotelCityCode>
                                <orr:HotelName>Hilton Amsterdam Airport Schiphol</orr:HotelName>
                            </orr:Reservation>
                            <orr:HotelPolicy>
                                <orr:LateDeparturePolicy>No policy</orr:LateDeparturePolicy>
                            </orr:HotelPolicy>
                            <orr:PricingElements>
                                <orr:Deposit amount="23" currencyCode="EUR">
                                    <orr:DueDate>2017-09-05</orr:DueDate>
                                </orr:Deposit>
                                <orr:Discount amount="29" currencyCode="EUR" type="DiscountType">
                                    <orr:DiscountDescription>MXYCKFOANUYNBLJZAXFB</orr:DiscountDescription>
                                </orr:Discount>
                                <orr:Payment>
                                    <orr:SubTotal amount="46" currency="EUR"/>
                                    <orr:Total amount="126" currency="EUR">
                                        <orr:DueDate>2017-09-05</orr:DueDate>
                                    </orr:Total>
                                </orr:Payment>
                            </orr:PricingElements>
                        </orr:Hotel>
                    </orr:ProductDetails>
                </Product>
            </Option>
        </Quote>
    </TripProposal>
</TP_UpdateRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<TP_UpdateRS version="1.1.0" xmlns="http://services.sabre.com/tripproposal/v1_1" xmlns:orr="http://services.sabre.com/res/or/v1_13">
    <stl:ApplicationResults status="Complete" xmlns:stl="http://services.sabre.com/STL_Payload/v02_02">
        <stl:Success timeStamp="2017-09-01T03:35:23.547-05:00"/>
    </stl:ApplicationResults>
    <TripProposal proposalID="SZKLA9G1U7" proposalVersion="2">
        <Label>Generated TripProposal label</Label>
        <Passenger passengerID="TP-1">
            <orr:Type>ADT</orr:Type>
            <orr:PersonName>
                <orr:Prefix>MR</orr:Prefix>
                <orr:Given>John</orr:Given>
                <orr:Surname>Smith</orr:Surname>
                <orr:Type>ADT</orr:Type>
            </orr:PersonName>
            <orr:Telephone>
                <orr:PhoneNumber>12345678</orr:PhoneNumber>
            </orr:Telephone>
            <orr:Email>email@sample.com</orr:Email>
        </Passenger>
        <Quote quoteID="QID-1">
            <Label>Quote label</Label>
            <Option expirationDate="2017-09-05T10:30:00.000" optionID="OID-1" status="PROPOSED">
                <Label>Option label</Label>
                <Product id="TP-2">
                    <orr:ProductDetails endDateTime="2017-09-05T12:55:00" endPoint="AMS" productType="AIR" startDateTime="2017-09-05T10:30:00" startPoint="BCN" vendorCode="VC">
                        <orr:ProductName type="AIR"/>
                        <orr:Air>
                            <orr:DepartureAirport>BCN</orr:DepartureAirport>
                            <orr:ArrivalAirport>AMS</orr:ArrivalAirport>
                            <orr:MarketingAirlineCode>BA</orr:MarketingAirlineCode>
                            <orr:DepartureDateTime>2017-09-05T10:30:00</orr:DepartureDateTime>
                            <orr:ArrivalDateTime>2017-09-05T12:55:00</orr:ArrivalDateTime>
                            <orr:FlightNumber>8147</orr:FlightNumber>
                            <orr:ClassOfService>L</orr:ClassOfService>
                            <orr:ActionCode>YK</orr:ActionCode>
                            <orr:NumberInParty>1</orr:NumberInParty>
                        </orr:Air>
                    </orr:ProductDetails>
                </Product>
            </Option>
            <Option expirationDate="2017-09-12T10:30:00.000" optionID="OID-2" status="PROPOSED">
                <Label>Option label</Label>
                <Product id="TP-3">
                    <orr:ProductDetails endDateTime="2017-09-12T13:55:00" endPoint="BCN" productType="AIR" startDateTime="2017-09-12T10:30:00" startPoint="AMS" vendorCode="VC">
                        <orr:ProductName type="AIR"/>
                        <orr:Air>
                            <orr:DepartureAirport>AMS</orr:DepartureAirport>
                            <orr:ArrivalAirport>BCN</orr:ArrivalAirport>
                            <orr:MarketingAirlineCode>BA</orr:MarketingAirlineCode>
                            <orr:DepartureDateTime>2017-09-12T10:30:00</orr:DepartureDateTime>
                            <orr:ArrivalDateTime>2017-09-12T13:55:00</orr:ArrivalDateTime>
                            <orr:FlightNumber>8147</orr:FlightNumber>
                            <orr:ClassOfService>L</orr:ClassOfService>
                            <orr:ActionCode>YK</orr:ActionCode>
                            <orr:NumberInParty>1</orr:NumberInParty>
                        </orr:Air>
                    </orr:ProductDetails>
                </Product>
            </Option>
        </Quote>
        <Quote quoteID="QID-2">
            <Label>Quote label</Label>
            <Option expirationDate="2017-09-05T10:00:00.000" optionID="OID-3" status="PROPOSED">
                <Label>Option label</Label>
                <Product id="TP-4">
                    <orr:ProductDetails endDateTime="2017-09-12T12:00:00" endPoint="AMS" productType="HHT" startDateTime="2017-09-05T10:00:00" startPoint="AMS" vendorCode="VC">
                        <orr:ProductName type="HHT"/>
                        <orr:Hotel>
                            <orr:Reservation>
                                <orr:LineNumber>1</orr:LineNumber>
                                <orr:LineType>HHT</orr:LineType>
                                <orr:LineStatus>GK</orr:LineStatus>
                                <orr:SpecialPrefs/>
                                <orr:RoomType>
                                    <orr:RoomTypeCode>B1Q</orr:RoomTypeCode>
                                    <orr:NumberOfUnits>1</orr:NumberOfUnits>
                                    <orr:RateOccupancyPerRoom>1</orr:RateOccupancyPerRoom>
                                    <orr:NumOfBeds>1</orr:NumOfBeds>
                                </orr:RoomType>
                                <orr:TimeSpanStart>2017-09-05T10:00:00</orr:TimeSpanStart>
                                <orr:TimeSpanEnd>2017-09-12T12:00:00</orr:TimeSpanEnd>
                                <orr:ChainCode>VC</orr:ChainCode>
                                <orr:HotelCityCode>AMS</orr:HotelCityCode>
                                <orr:HotelName>Hilton Amsterdam Airport Schiphol</orr:HotelName>
                            </orr:Reservation>
                            <orr:HotelPolicy>
                                <orr:LateDeparturePolicy>No policy</orr:LateDeparturePolicy>
                            </orr:HotelPolicy>
                            <orr:PricingElements>
                                <orr:Deposit amount="23" currencyCode="EUR">
                                    <orr:DueDate>2017-09-05</orr:DueDate>
                                </orr:Deposit>
                                <orr:Discount amount="29" currencyCode="EUR" type="DiscountType">
                                    <orr:DiscountDescription>MXYCKFOANUYNBLJZAXFB</orr:DiscountDescription>
                                </orr:Discount>
                                <orr:Payment>
                                    <orr:SubTotal amount="46" currency="EUR"/>
                                    <orr:Total amount="126" currency="EUR">
                                        <orr:DueDate>2017-09-05</orr:DueDate>
                                    </orr:Total>
                                </orr:Payment>
                            </orr:PricingElements>
                        </orr:Hotel>
                    </orr:ProductDetails>
                </Product>
            </Option>
        </Quote>
        <Metadata>
            <SnapshotID>20d62739-d35f-4444-aac5-73a8abcd7377</SnapshotID>
            <Ownership>
                <Owner>
                    <UserID>1212</UserID>
                    <CurrentCity>B4T0</CurrentCity>
                    <PCC>B4T0</PCC>
                    <AaaArea>A</AaaArea>
                    <AgentHomeCity>B4T0</AgentHomeCity>
                    <AgentPrimeHost>1S</AgentPrimeHost>
                    <AgentSign>A6D</AgentSign>
                    <CurrentPartition>AA</CurrentPartition>
                    <Lniata>4372206</Lniata>
                    <DutyCode>*</DutyCode>
                    <Domain>AA</Domain>
                    <Date>2017-09-01T03:31:03.993</Date>
                </Owner>
                <CreatedBy>
                    <UserID>1212</UserID>
                    <CurrentCity>B4T0</CurrentCity>
                    <PCC>B4T0</PCC>
                    <AaaArea>A</AaaArea>
                    <AgentHomeCity>B4T0</AgentHomeCity>
                    <AgentPrimeHost>1S</AgentPrimeHost>
                    <AgentSign>A6D</AgentSign>
                    <CurrentPartition>AA</CurrentPartition>
                    <Lniata>4372206</Lniata>
                    <DutyCode>*</DutyCode>
                    <Domain>AA</Domain>
                    <Date>2017-09-01T03:31:03.993</Date>
                </CreatedBy>
                <UpdatedBy>
                    <UserID>1212</UserID>
                    <CurrentCity>B4T0</CurrentCity>
                    <PCC>B4T0</PCC>
                    <AaaArea>A</AaaArea>
                    <AgentHomeCity>B4T0</AgentHomeCity>
                    <AgentPrimeHost>1S</AgentPrimeHost>
                    <AgentSign>A6D</AgentSign>
                    <CurrentPartition>AA</CurrentPartition>
                    <Lniata>4372206</Lniata>
                    <DutyCode>*</DutyCode>
                    <Domain>AA</Domain>
                    <Date>2017-09-01T03:35:23.055</Date>
                </UpdatedBy>
            </Ownership>
        </Metadata>
    </TripProposal>
</TP_UpdateRS>