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.15.0
Authentication
Session Token
Service Action Code
createReservationRQ

Sample Request

<CreateReservationRQ EchoToken="" Version="1.15.0" xmlns="http://webservices.sabre.com/pnrbuilder/v1_15" xmlns:v11="http://services.sabre.com/res/or/v1_8">
    <!--<EchoToken></EchoToken>-->
    <RequestType>Stateful</RequestType>
    <ReturnOptions IncludeUpdateDetails="false" RetrievePNR="true">
        <ViewName>Full</ViewName>
        <ResponseFormat>STL</ResponseFormat>
    </ReturnOptions>
    <NewReservation>
        <Itinerary/>
        <PersonName>
            <Given>JOHN</Given>
            <Surname>DEPP</Surname>
        </PersonName>
        <PhoneNumber id="1" op="C">
            <PhoneText>1234567890</PhoneText>
        </PhoneNumber>
        <DkNumber>123456</DkNumber>
        <TicketingInfo>
            <AlreadyTicketed op="C" id="1">
                <Code>T-A</Code>
                <Comment>TICKETING COMMENT</Comment>
            </AlreadyTicketed>
        </TicketingInfo>
        <ReceivedFrom>
            <Name>RR</Name>
            <AgentName/>
            <TourWholesalerPCC/>
            <NewControllingPCC/>
        </ReceivedFrom>
        <CustomEntry>0OTHB6GK2JFK26DEC-FREE TEXT</CustomEntry>
        <EmailAddress>
            <Address>TDSGA@SABRE.COM</Address>
        </EmailAddress>
        <OpenReservationElement type="FP">
            <v11:FormOfPayment>
                <v11:PaymentCard>
                    <v11:PaymentType>CC</v11:PaymentType>
                    <v11:CardCode>VI</v11:CardCode>
                    <v11:CardNumber tokenized="false">4444333322221111</v11:CardNumber>
                    <v11:ExpiryMonth>--08</v11:ExpiryMonth>
                    <v11:ExpiryYear>2018</v11:ExpiryYear>
                </v11:PaymentCard>
            </v11:FormOfPayment>
        </OpenReservationElement>
        <OpenReservationElement type="FP">
            <v11:FormOfPayment>
                <v11:Cash>
                    <v11:Text>CASH</v11:Text>
                </v11:Cash>
            </v11:FormOfPayment>
        </OpenReservationElement>
        <OpenReservationElement type="FP">
            <v11:FormOfPayment>
                <v11:Check>
                    <v11:Text>CHECK</v11:Text>
                </v11:Check>
            </v11:FormOfPayment>
        </OpenReservationElement>
    </NewReservation>
</CreateReservationRQ>

Sample Response

<stl15:CreateReservationRS xmlns:raw="http://tds.sabre.com/itinerary" xmlns:ns4="http://webservices.sabre.com/pnrconn/ReaccSearch" xmlns:or18="http://services.sabre.com/res/or/v1_8" xmlns:stl15="http://webservices.sabre.com/pnrbuilder/v1_15" xmlns:ns6="http://services.sabre.com/res/orr/v0">
    <stl15:Success>OK</stl15:Success>
    <stl15:Errors/>
    <stl15:Reservation numberInParty="0" numberOfInfants="0" NumberInSegment="0">
        <stl15:BookingDetails>
            <stl15:UpdateTimestamp>1899-12-31T18:00:00</stl15:UpdateTimestamp>
            <stl15:PNRSequence>0</stl15:PNRSequence>
            <stl15:DivideSplitDetails/>
            <stl15:UpdateToken>7e604ab0f9d762aa</stl15:UpdateToken>
        </stl15:BookingDetails>
        <stl15:POS>
            <stl15:Source BookingSource="A0A0" PseudoCityCode="xxxx" AirlineVendorID="AA" HomePseudoCityCode="xxxx" />
        </stl15:POS>
        <stl15:PassengerReservation>
            <stl15:Passengers>
                <stl15:Passenger id="4" nameType="S" passengerType="ADT" nameId="01.01" nameAssocId="1" elementId="pnr-4.1">
                    <stl15:LastName>DEPP</stl15:LastName>
                    <stl15:FirstName>JOHN</stl15:FirstName>
                    <stl15:Seats/>
                </stl15:Passenger>
            </stl15:Passengers>
            <stl15:Segments>
                <stl15:Segment sequence="1" id="3">
                    <stl15:General isPast="false">
                        <stl15:Line Number="1" Type="OTH" Status="GK" />
                        <stl15:Vendor Code="B6" />
                        <stl15:NumberInParty>2</stl15:NumberInParty>
                        <stl15:Location LocationCode="JFK" />
                        <stl15:DateTime>2016-12-26T00:00:00</stl15:DateTime>
                        <stl15:Text>FREE TEXT</stl15:Text>
                    </stl15:General>
                </stl15:Segment>
            </stl15:Segments>
            <stl15:TicketingInfo>
                <stl15:AlreadyTicketed id="8" index="1" elementId="pnr-8">
                    <stl15:Code>T-A</stl15:Code>
                    <stl15:Comment>TICKETING COMMENT</stl15:Comment>
                </stl15:AlreadyTicketed>
            </stl15:TicketingInfo>
            <stl15:ItineraryPricing/>
        </stl15:PassengerReservation>
        <stl15:DKNumbers>
            <stl15:DKNumber>123456</stl15:DKNumber>
        </stl15:DKNumbers>
        <stl15:ReceivedFrom>
            <stl15:Name>RR</stl15:Name>
        </stl15:ReceivedFrom>
        <stl15:PhoneNumbers>
            <stl15:PhoneNumber id="6" index="1" elementId="pnr-6">
                <stl15:CityCode>LON</stl15:CityCode>
                <stl15:Number>1234567890</stl15:Number>
            </stl15:PhoneNumber>
        </stl15:PhoneNumbers>
        <stl15:Remarks>
            <stl15:Remark index="1" id="11" type="FOP" elementId="pnr-11">
                <stl15:RemarkLines>
                    <stl15:RemarkLine>
                        <stl15:Text>VI4XXXXXXXXXXX111108/18</stl15:Text>
                    </stl15:RemarkLine>
                </stl15:RemarkLines>
            </stl15:Remark>
            <stl15:Remark index="2" id="12" type="FOP" elementId="pnr-12">
                <stl15:RemarkLines>
                    <stl15:RemarkLine>
                        <stl15:Text>CASH</stl15:Text>
                    </stl15:RemarkLine>
                </stl15:RemarkLines>
            </stl15:Remark>
            <stl15:Remark index="3" id="13" type="FOP" elementId="pnr-13">
                <stl15:RemarkLines>
                    <stl15:RemarkLine>
                        <stl15:Text>CHECK</stl15:Text>
                    </stl15:RemarkLine>
                </stl15:RemarkLines>
            </stl15:Remark>
        </stl15:Remarks>
        <stl15:EmailAddresses>
            <stl15:EmailAddress id="10">
                <stl15:Address>TDSGA@SABRE.COM</stl15:Address>
                <stl15:Comment/>
            </stl15:EmailAddress>
        </stl15:EmailAddresses>
    </stl15:Reservation>
</stl15:CreateReservationRS>
</sample>

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

Docs Navigation