API Information

Response Format
XML
Service Action Code
CreatePassengerNameRecordRQ
Current Version
2.2.0
Target Audience
TN
Environment
Production
Documentation
Go to the Create Passenger Name Record documentation

What's New

  • Modified RQ schema to allow for flight segment booking being optional (this allows customer to create PNRs consisting of only Miscellaneous segments)
  • Integrated with EnhancedHotelBookRQ 1.0.0, so as to create PNRs with hotel segments or air hotel segments

Functional Updates And Enhancements

In the Request

Optional

Parameter: AirBook

Type: N/A

Description: Element used to book air segments

Sample Value:

<AirBook> <HaltOnStatus Code="HL"/> <HaltOnStatus Code="KK"/> <HaltOnStatus Code="LL"/> <HaltOnStatus Code="NN"/> <HaltOnStatus Code="NO"/> <HaltOnStatus Code="UC"/> <HaltOnStatus Code="US"/> <OriginDestinationInformation> <FlightSegment ArrivalDateTime="2018-09-05T15:38:00" DepartureDateTime="2019-09-05T12:46:00" FlightNumber="529" NumberInParty="2" ResBookDesigCode="Y" Status="NN" InstantPurchase="true"> <DestinationLocation LocationCode="CLT"/> <MarketingAirline Code="AA" FlightNumber="529"/> <OriginLocation LocationCode="MSY"/> </FlightSegment>
Note: Previously this element was mandatory
Parameter: HotelBook

Type: N/A

Description: element used to book GDS hotel segments

Sample Value:

<CreatePassengerNameRecordRQ xmlns="http://services.sabre.com/sp/reservation/v2_2" version="2.2.0" targetCity="G7HE" haltOnAirPriceError="false"> <TravelItineraryAddInfo> <AgencyInfo> <Address> <AddressLine>SABRE TRAVEL</AddressLine> <CityName>SOUTHLAKE</CityName> <CountryCode>US</CountryCode> <PostalCode>76092</PostalCode> <StateCountyProv StateCode="TX"/> <StreetNmbr>3150 SABRE DRIVE</StreetNmbr> </Address> <Ticketing TicketType="7TAW"/> </AgencyInfo> <CustomerInfo> <ContactNumbers> <ContactNumber NameNumber="1.1" Phone="817-555-1212" PhoneUseType="H"/> </ContactNumbers> <PersonName NameNumber="1.1" NameReference="ABC123" PassengerType="ADT"> <GivenName>MARCIN</GivenName> <Surname>DZIK</Surname> </PersonName> </CustomerInfo> </TravelItineraryAddInfo> <HotelBook> <Booking key="1f74e854-e0df-4e4e-9a07-c02b2f9e0b52"/> <GDS_HotelBook> <Guarantee Type="G"> <CC_Info> <PaymentCard Code="VI" ExpireDate="2020-12" Number="4000000000006"/> <PersonName> <Surname>DZIK</Surname> </PersonName> </CC_Info> </Guarantee>

In the Response

Optional

Parameter: Diagnostic

Type: n/a

Description: Element used to pass diagnostic information related to hotel booking

Sample Value:

<CreatePassengerNameRecordRS version="2.2.0" xmlns="http://services.sabre.com/sp/reservation/v2_2" xmlns:stlp="http://services.sabre.com/STL_Payload/v02_02"> <stlp:ApplicationResults status="Complete"> <stlp:Success timeStamp="2018-11-22T10:00:00-06:00"/> </stlp:ApplicationResults> <ItineraryRef ID="ABC123"/> <TravelItineraryRead/> <Diagnostic type="123"> <DataText>TEST123</DataText> <DataXML> <SomeXML>hoteldiagnosticsinformation</SomeXML> </DataXML> </Diagnostic> </CreatePassengerNameRecordRS>