Skip to main content

Create Passenger Name Record

2.2.0
Air
Reservation
REST API
Try now

What is it?

Create Passenger Name Record main purpose is to create a full reservation for air and hotel content (adding agency or customer details, perform booking, pricing and adding any special requests) all within a single API call.

Why use it?

Create Passenger Name Record :

  • simplifes the booking creation process by creating a Passenger Name Record (PNR) in a single API call (removes the need to use individual/granular API to create a reservation)
  • creates reservations in a stateless way
  • supports creating reservation via session-less (ATK) tokens
  • provides users with the capability to define the API behavior when encountering the most common errors at time of reservation creation (eg. halt creation of reservation if error is returned during price check, retry booking to next available class of service if initial booking attempt fails)
  • eliminates the need to specify Price Quote links (PriceQuoteInfo) when different passenger types and prices are used (as required when using EnhancedAirBookRQ & PassengerDetailsRQ)
  • allows user to specify a different target city (PCC) for the the creation of the PNR
  • introduces error handling to ensure the successful creation of a PNR

How it works

The API performs three main steps to complete reservation:

  • adds general passenger and details (names, contact details, etc)
  • perform booking and pricing (for air segments)
  • perform Sabre GDS or hotel aggregator hotel booking via a booking key
  • adds miscelleaneous segment information, special service details (SSRs, Remarks, TSA related details, etc)
  • finalize the transaction

How to use

To ensure the successful creation of a PNR with air segments, the request should contain the below information:

  • agency and customer information:

/TravelItineraryAddInfo/AgencyInfo/Ticketing/@TicketType /TravelItineraryAddInfo/CustomerInfo/ContactNumbers/ContactNumber/@Phone /TravelItineraryAddInfo/CustomerInfo/PersonName

  • details of the air segments to be booked:

/AirBook/OriginDestinationInformation/FlightSegment

  • request to price the successfully booked segments:

/AirPrice/PriceRequestInformation

  • request to commit the transaction

/PostProcessing/EndTransaction /PostProcessing/EndTransaction/Source/@ReceivedFrom

  • for reservations departing to/from USA, or flying over the US, it is mandatory to pass Secure Flight Passenger Data (required by TSA):

/CreatePassengerNameRecordRQ/SpecialReqDetails/SpecialService/SpecialServiceInfo/SecureFlight

To ensure the successful creation of a PNR with hotel segments, the request should contain the below information:

  • agency and customer information:

/TravelItineraryAddInfo/AgencyInfo/Address /TravelItineraryAddInfo/CustomerInfo/PersonName

  • booking key, which is returned in the Hotel Price Check API response

/HotelBook/BookingInfo/BookingKey

  • details of the rooms to be booked:

/HotelBook/Rooms

  • payment information:

/HotelBook/PaymentInformation

  • request to commit the transaction

/PostProcessing/EndTransaction /PostProcessing/EndTransaction/Source/@ReceivedFrom