Create Itinerary

 

Create Itinerary (createReservationRQ) is used to create a Passenger Name Record (PNR) and create an Itinerary with Tour and Rail segments.

API Information

Target Audience
All Sabre APIs Customers
Current Version
1.16.0
Authentication
Session Token
Service Action Code
createReservationRQ

Sample Request

<CreateReservationRQ EchoToken="PXGPG10-PNRSVCPG01" Version="1.16.0" xmlns="http://webservices.sabre.com/pnrbuilder/v1_16" xmlns:or="http://services.sabre.com/res/or/v1_9">
    <RequestType>Stateful</RequestType>
    <ReturnOptions IncludeUpdateDetails="false" RetrievePNR="true">
        <ViewName>Full</ViewName>
        <ResponseFormat>STL</ResponseFormat>
    </ReturnOptions>
    <NewReservation>
        <Itinerary>
            <Product>
                <or:ProductDetails productCategory="AIR">
                    <or:ProductName type="AIR" />
                    <or:Air>
                        <or:DepartureAirport>TXL</or:DepartureAirport>
                        <or:ArrivalAirport>ARN</or:ArrivalAirport>
                        <or:MarketingAirlineCode>AB</or:MarketingAirlineCode>
                        <or:DepartureDateTime>2017-01-10T00:00:00</or:DepartureDateTime>
                        <or:ArrivalDateTime>2017-01-10T00:00:00</or:ArrivalDateTime>
                        <or:FlightNumber>8002</or:FlightNumber>
                        <or:ClassOfService>Y</or:ClassOfService>
                        <or:ActionCode>NN</or:ActionCode>
                        <or:NumberInParty>1</or:NumberInParty>
                        <or:InstantPurchase>false</or:InstantPurchase>
                    </or:Air>
                </or:ProductDetails>
            </Product>
        </Itinerary>
        <PersonName>
            <Given>FERDEK</Given>
            <Surname>KIEPSKI</Surname>
        </PersonName>
        <PhoneNumber id="1" op="C">
            <PhoneText>1234567890</PhoneText>
        </PhoneNumber>
        <TicketingInfo>
            <FutureTicketing op="C" id="1">
                <Code>TAW</Code>
            </FutureTicketing>
        </TicketingInfo>
        <AncillaryCreateRequest>
            <NameAssociationList>
                <NameAssociationTag>
                    <LastName>KIEPSKI</LastName>
                    <FirstName>FERDEK</FirstName>
                    <NameRefNumber>01.01</NameRefNumber>
                </NameAssociationTag>
            </NameAssociationList>
            <CommercialName>SECOND CHECKED BAG</CommercialName>
            <RficCode>C</RficCode>
            <RficSubcode>0FF</RficSubcode>
            <OwningCarrierCode>AB</OwningCarrierCode>
            <SsimCode>C</SsimCode>
            <BookingIndicator>01</BookingIndicator>
            <Vendor>MMGR</Vendor>
            <EMDType>1</EMDType>
            <EquivalentPrice>
                <Price>25.0</Price>
                <Currency>USD</Currency>
            </EquivalentPrice>
            <OriginalBasePrice>
                <Price>25.0</Price>
                <Currency>USD</Currency>
            </OriginalBasePrice>
            <RefundIndicator>Y</RefundIndicator>
            <FeeApplicationIndicator>3</FeeApplicationIndicator>
            <PassengerTypeCode>ADT</PassengerTypeCode>
            <Taxes>
                <Tax>
                    <TaxAmount>11.11</TaxAmount>
                    <TaxCode>IBF</TaxCode>
                </Tax>
            </Taxes>
            <NumberOfItems>1</NumberOfItems>
            <ActionCode>HK</ActionCode>
            <SegmentIndicator>P</SegmentIndicator>
            <GroupCode>BG</GroupCode>
        </AncillaryCreateRequest>
        <ReceivedFrom>
            <Name>RRAETL</Name>
        </ReceivedFrom>
    </NewReservation>
</CreateReservationRQ>

Sample Response

<stl16:CreateReservationRS xmlns:stl16="http://webservices.sabre.com/pnrbuilder/v1_16" xmlns:raw="http://tds.sabre.com/itinerary" xmlns:ns4="http://webservices.sabre.com/pnrconn/ReaccSearch" xmlns:or19="http://services.sabre.com/res/or/v1_9" xmlns:ns6="http://services.sabre.com/res/orr/v0">
    <stl16:Success>OK</stl16:Success>
    <stl16:Errors/>
    <stl16:Reservation numberInParty="0" numberOfInfants="0" NumberInSegment="0">
        <stl16:BookingDetails>
            <stl16:UpdateTimestamp>1899-12-31T18:00:00</stl16:UpdateTimestamp>
            <stl16:PNRSequence>0</stl16:PNRSequence>
            <stl16:FlightsRange Start="2017-01-10T08:20:00" End="2017-01-10T09:50:00" />
            <stl16:DivideSplitDetails/>
            <stl16:UpdateToken>7e604ab0f9d762aa</stl16:UpdateToken>
        </stl16:BookingDetails>
        <stl16:POS>
            <stl16:Source BookingSource="A0A0" PseudoCityCode="xxxx" AirlineVendorID="AB" HomePseudoCityCode="xxxx" />
        </stl16:POS>
        <stl16:PassengerReservation>
            <stl16:Passengers>
                <stl16:Passenger id="4" nameType="S" nameId="01.01" nameAssocId="1" elementId="pnr-4.1">
                    <stl16:LastName>KIEPSKI</stl16:LastName>
                    <stl16:FirstName>FERDEK</stl16:FirstName>
                    <stl16:Seats/>
                    <stl16:AncillaryServices>
                        <stl16:AncillaryService id="8" sequenceNumber="1" elementId="pnr-8">
                            <stl16:CommercialName>SECOND CHECKED BAG</stl16:CommercialName>
                            <stl16:RficCode>C</stl16:RficCode>
                            <stl16:RficSubcode>0FF</stl16:RficSubcode>
                            <stl16:OwningCarrierCode>AB</stl16:OwningCarrierCode>
                            <stl16:SsimCode>C</stl16:SsimCode>
                            <stl16:BookingIndicator>01</stl16:BookingIndicator>
                            <stl16:Vendor>MMGR</stl16:Vendor>
                            <stl16:EMDType>1</stl16:EMDType>
                            <stl16:EquivalentPrice>
                                <stl16:Price>25.0</stl16:Price>
                                <stl16:Currency>USD</stl16:Currency>
                            </stl16:EquivalentPrice>
                            <stl16:TTLPrice>
                                <stl16:Price>361.1</stl16:Price>
                                <stl16:Currency>USD</stl16:Currency>
                            </stl16:TTLPrice>
                            <stl16:OriginalBasePrice>
                                <stl16:Price>25.0</stl16:Price>
                                <stl16:Currency>USD</stl16:Currency>
                            </stl16:OriginalBasePrice>
                            <stl16:RefundIndicator>Y</stl16:RefundIndicator>
                            <stl16:CommisionIndicator>Y</stl16:CommisionIndicator>
                            <stl16:InterlineIndicator>Y</stl16:InterlineIndicator>
                            <stl16:FeeApplicationIndicator>3</stl16:FeeApplicationIndicator>
                            <stl16:PassengerTypeCode>ADT</stl16:PassengerTypeCode>
                            <stl16:Taxes>
                                <stl16:Tax>
                                    <stl16:TaxAmount>111.1</stl16:TaxAmount>
                                    <stl16:TaxCode>IBF</stl16:TaxCode>
                                </stl16:Tax>
                            </stl16:Taxes>
                            <stl16:TotalOriginalBasePrice>
                                <stl16:Price>25.0</stl16:Price>
                                <stl16:Currency>USD</stl16:Currency>
                            </stl16:TotalOriginalBasePrice>
                            <stl16:TotalEquivalentPrice>
                                <stl16:Price>25.0</stl16:Price>
                                <stl16:Currency>USD</stl16:Currency>
                            </stl16:TotalEquivalentPrice>
                            <stl16:TotalTTLPrice>
                                <stl16:Price>361.1</stl16:Price>
                                <stl16:Currency>USD</stl16:Currency>
                            </stl16:TotalTTLPrice>
                            <stl16:TotalTaxes>
                                <stl16:Tax>
                                    <stl16:TaxAmount>111.1</stl16:TaxAmount>
                                    <stl16:TaxCode>IBF</stl16:TaxCode>
                                </stl16:Tax>
                            </stl16:TotalTaxes>
                            <stl16:NumberOfItems>1</stl16:NumberOfItems>
                            <stl16:ActionCode>HK</stl16:ActionCode>
                            <stl16:SegmentIndicator>P</stl16:SegmentIndicator>
                            <stl16:BookingSource>0</stl16:BookingSource>
                            <stl16:TicketingIndicator>0</stl16:TicketingIndicator>
                            <stl16:GroupCode>BG</stl16:GroupCode>
                            <stl16:TicketUsedForEMDPricing>N</stl16:TicketUsedForEMDPricing>
                            <stl16:EMDConsummedAtIssuance/>
                            <stl16:PaperDocRequired>N</stl16:PaperDocRequired>
                            <stl16:TaxExemption>N</stl16:TaxExemption>
                            <stl16:ACSCount>0</stl16:ACSCount>
                        </stl16:AncillaryService>
                    </stl16:AncillaryServices>
                </stl16:Passenger>
            </stl16:Passengers>
            <stl16:Segments>
                <stl16:Poc>
                    <stl16:Airport>TXL</stl16:Airport>
                    <stl16:Departure>2017-01-10T08:20:00</stl16:Departure>
                </stl16:Poc>
                <stl16:Segment sequence="1" id="3">
                    <stl16:Air id="3" sequence="1" segmentAssociationId="2" isPast="false">
                        <stl16:DepartureAirport>TXL</stl16:DepartureAirport>
                        <stl16:DepartureAirportCodeContext>IATA</stl16:DepartureAirportCodeContext>
                        <stl16:ArrivalAirport>ARN</stl16:ArrivalAirport>
                        <stl16:ArrivalAirportCodeContext>IATA</stl16:ArrivalAirportCodeContext>
                        <stl16:OperatingAirlineCode>AB</stl16:OperatingAirlineCode>
                        <stl16:OperatingAirlineShortName>AIR BERLIN PLC AND CO</stl16:OperatingAirlineShortName>
                        <stl16:OperatingFlightNumber>8002</stl16:OperatingFlightNumber>
                        <stl16:EquipmentType>320</stl16:EquipmentType>
                        <stl16:MarketingAirlineCode>AB</stl16:MarketingAirlineCode>
                        <stl16:MarketingFlightNumber>8002</stl16:MarketingFlightNumber>
                        <stl16:OperatingClassOfService>Y</stl16:OperatingClassOfService>
                        <stl16:MarketingClassOfService>Y</stl16:MarketingClassOfService>
                        <stl16:MarriageGrp>
                            <stl16:Ind>0</stl16:Ind>
                            <stl16:Group>0</stl16:Group>
                            <stl16:Sequence>0</stl16:Sequence>
                        </stl16:MarriageGrp>
                        <stl16:Seats/>
                        <stl16:Eticket>true</stl16:Eticket>
                        <stl16:DepartureDateTime>2017-01-10T08:20:00</stl16:DepartureDateTime>
                        <stl16:ArrivalDateTime>2017-01-10T09:50:00</stl16:ArrivalDateTime>
                        <stl16:FlightNumber>8002</stl16:FlightNumber>
                        <stl16:ClassOfService>Y</stl16:ClassOfService>
                        <stl16:ActionCode>SS</stl16:ActionCode>
                        <stl16:NumberInParty>1</stl16:NumberInParty>
                        <stl16:SegmentSpecialRequests/>
                        <stl16:inboundConnection>false</stl16:inboundConnection>
                        <stl16:outboundConnection>false</stl16:outboundConnection>
                        <stl16:ScheduleChangeIndicator>false</stl16:ScheduleChangeIndicator>
                        <stl16:Pos>
                            <stl16:IataNumber>0</stl16:IataNumber>
                            <stl16:AgencyCityCode>TXL</stl16:AgencyCityCode>
                            <stl16:CountryCode>DE</stl16:CountryCode>
                            <stl16:DutyCode>8</stl16:DutyCode>
                        </stl16:Pos>
                    </stl16:Air>
                </stl16:Segment>
            </stl16:Segments>
            <stl16:TicketingInfo>
                <stl16:FutureTicketing id="6" index="1" elementId="pnr-6">
                    <stl16:Code>TAW</stl16:Code>
                </stl16:FutureTicketing>
            </stl16:TicketingInfo>
            <stl16:ItineraryPricing/>
        </stl16:PassengerReservation>
        <stl16:ReceivedFrom>
            <stl16:Name>RRAETL</stl16:Name>
        </stl16:ReceivedFrom>
        <stl16:PhoneNumbers>
            <stl16:PhoneNumber id="5" index="1" elementId="pnr-5">
                <stl16:Number>1234567890</stl16:Number>
            </stl16:PhoneNumber>
        </stl16:PhoneNumbers>
        <stl16:EmailAddresses/>
        <stl16:OpenReservationElements>
            <or19:OpenReservationElement id="1a54df17-7a43-44b6-906d-b658a27bbf23" type="APO" elementId="pnr-or-1a54df17-7a43-44b6-906d-b658a27bbf23">
                <or19:AncillaryProduct Id="1" Operation="CREATE">
                    <or19:XmlData>
                        <or19:AncillaryServiceData id="8" op="C">
                            <or19:NameAssociationList>
                                <or19:NameAssociationTag>
                                    <or19:LastName>KIEPSKI</or19:LastName>
                                    <or19:FirstName>FERDEK</or19:FirstName>
                                    <or19:ReferenceId>1</or19:ReferenceId>
                                </or19:NameAssociationTag>
                            </or19:NameAssociationList>
                            <or19:CommercialName>SECOND CHECKED BAG</or19:CommercialName>
                            <or19:RficCode>C</or19:RficCode>
                            <or19:RficSubcode>0FF</or19:RficSubcode>
                            <or19:OwningCarrierCode>AB</or19:OwningCarrierCode>
                            <or19:SsimCode>C</or19:SsimCode>
                            <or19:BookingIndicator>01</or19:BookingIndicator>
                            <or19:Vendor>MMGR</or19:Vendor>
                            <or19:EMDType>1</or19:EMDType>
                            <or19:EquivalentPrice>
                                <or19:Price>25.0</or19:Price>
                                <or19:Currency>USD</or19:Currency>
                            </or19:EquivalentPrice>
                            <or19:TTLPrice>
                                <or19:Price>36.11</or19:Price>
                                <or19:Currency>USD</or19:Currency>
                            </or19:TTLPrice>
                            <or19:OriginalBasePrice>
                                <or19:Price>25.0</or19:Price>
                                <or19:Currency>USD</or19:Currency>
                            </or19:OriginalBasePrice>
                            <or19:RefundIndicator>Y</or19:RefundIndicator>
                            <or19:CommisionIndicator>Y</or19:CommisionIndicator>
                            <or19:InterlineIndicator>Y</or19:InterlineIndicator>
                            <or19:FeeApplicationIndicator>3</or19:FeeApplicationIndicator>
                            <or19:PassengerTypeCode>ADT</or19:PassengerTypeCode>
                            <or19:Taxes>
                                <or19:Tax>
                                    <or19:TaxAmount>11.11</or19:TaxAmount>
                                    <or19:TaxCode>IBF</or19:TaxCode>
                                </or19:Tax>
                            </or19:Taxes>
                            <or19:TotalOriginalBasePrice>
                                <or19:Price>25.0</or19:Price>
                                <or19:Currency>USD</or19:Currency>
                            </or19:TotalOriginalBasePrice>
                            <or19:TotalEquivalentPrice>
                                <or19:Price>25.0</or19:Price>
                                <or19:Currency>USD</or19:Currency>
                            </or19:TotalEquivalentPrice>
                            <or19:TotalTTLPrice>
                                <or19:Price>36.11</or19:Price>
                                <or19:Currency>USD</or19:Currency>
                            </or19:TotalTTLPrice>
                            <or19:TotalTaxes>
                                <or19:Tax>
                                    <or19:TaxAmount>11.11</or19:TaxAmount>
                                    <or19:TaxCode>IBF</or19:TaxCode>
                                </or19:Tax>
                            </or19:TotalTaxes>
                            <or19:NumberOfItems>1</or19:NumberOfItems>
                            <or19:ActionCode>HK</or19:ActionCode>
                            <or19:SegmentIndicator>P</or19:SegmentIndicator>
                            <or19:BookingSource>0</or19:BookingSource>
                            <or19:TicketingIndicator>0</or19:TicketingIndicator>
                            <or19:GroupCode>BG</or19:GroupCode>
                            <or19:TicketUsedForEMDPricing>N</or19:TicketUsedForEMDPricing>
                            <or19:PaperDocRequired>N</or19:PaperDocRequired>
                            <or19:EMDConsummedAtIssuance/>
                            <or19:TaxExemption>N</or19:TaxExemption>
                            <or19:ACSCount>0</or19:ACSCount>
                        </or19:AncillaryServiceData>
                    </or19:XmlData>
                </or19:AncillaryProduct>
            </or19:OpenReservationElement>
        </stl16:OpenReservationElements>
    </stl16:Reservation>
</stl16:CreateReservationRS>

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

Docs Navigation