Skip to main content

Create Passenger Name Record

Air
Reservation
REST API
Airline Carrier
Travel Agency
Try Now
release_note

API Information

Response Format
JSON
Method/Endpoint
/v2.2.0/passenger/records
Current Version
2.3.0
Target Audience
TN
Environment
Production

What's New


Resolved Issues

In the Request

N/A

With the change our users will be able to book vehicles using vouchers without any issues.

Relase note ID: 14850


  • Integrated with EnhancedHotelBookRQ API to book both traditional GDS hotel content as well as lodging aggregator content.
  • Added capability to reserve one or more rental cars.

API Information

Response Format
JSON
Method/Endpoint
POST /v2.3.0/passenger/records?mode=create
Current Version
2.3.0
Target Audience
TN
Environment
Production

What's New

  • Integrated with EnhancedHotelBookRQ API to book both traditional GDS hotel content as well as lodging aggregator content.
  • Added capability to reserve one or more rental cars.

Business Value

  • With the release of Content Services for Lodging (CSL), Sabre has expanded its traditional GDS hotel offering with content from external aggregators. The Create Passenger Name Record facilitates the booking of both traditional GDS hotel content as well as lodging aggregator content.
  • CreatePassengerNameRecord API now allows reserving rental vehicles. You may create reservations for vehicles only or combine air, hotel and vehicle content within a single API call.

Functional Updates And Enhancements

In the Request

Optional

Parameter: haltOnVehicleBookError

Type: boolean

Description: Used to specify whether the service should stop processing upon encountering a vehicle book error

Sample Value:

{
    "CreatePassengerNameRecordRQ": {
        "version": "2.3.0",
        "targetCity": "PCC",
        "haltOnVehicleBookError": true,
Note:

In the Request

Optional

Parameter: bookGDSviaCSL

Type: boolean

Description: Used to indicate whether GDS hotel should be booked using new booking path (CSL) or the legacy path (low level services).

Sample Value:

        "HotelBook": {
            "bookGDSviaCSL": true,
            "BookingInfo": {
                "BookingKey": "{{booking_key}}",
Note:

In the Request

Optional

Parameter: VehicleBook

Type: object

Description: The object is used to book rental vehicles

Sample Value:

       "VehicleBook": {
            "RentalPaymentPrefs": {
                "GuaranteePrepaid": {
                    "Type": "GUARANTEE",
                    "PaymentCard": {
                        "CardCode": "VI",
                        "CardNumber": 4444333322221111,
                        "ExpiryMonth": 11,
                        "ExpiryYear": 2021,
                        "FullCardHolderName": {
                            "LastName": "DZIK"
                        }
                    }
                }
            },
            "VehPrefs": {
                "VehPref": {
                    "VehType": "SCAR"
                }
            },
Note:

Resolved Issues

In the Response

Optional

Corrected mapping from low level service schema for a number of objects under CreatePassengerNameRecordRS.TravelItineraryRead

Relase note ID: 13866


  • Added ability to create reservations for GDS and aggregator hotel chains at …/CreatePassengerNameRecordRQ/HotelBook.
  • Updated internal API EnhancedAirBookRQ to version 3.10.0.
  • Updated internal API PassengerDetailsRQ to version 3.4.0.
  • Modified RQ schema to allow for flight segment booking being optional (this allows customer to create PNRs consisting of only Miscellaneous segments)

API Information

Response Format
JSON
Method/Endpoint
POST /v2.2.0/passenger/records?mode=create
Current Version
2.2.0
Target Audience
TN
Environment
Production

What's New

  • Added ability to create reservations for GDS and aggregator hotel chains at …/CreatePassengerNameRecordRQ/HotelBook.
  • Updated internal API EnhancedAirBookRQ to version 3.10.0.
  • Updated internal API PassengerDetailsRQ to version 3.4.0.
  • Modified RQ schema to allow for flight segment booking being optional (this allows customer to create PNRs consisting of only Miscellaneous segments)

Business Value

  • Starting with version 2.2.0, the API was enhanced with the ability to create reservations for GDS and aggregator hotel chains. The solution integrates multiple sources of content including the Sabre global distribution system (GDS) and non-GDS sources such as re-distributors, agency-sourced hotel content and aggregators including HotelBeds, GTA, Expedia Partner Solutions and Booking.com.

Functional Updates And Enhancements

In the Request

Optional

Parameter: HotelBook

Type: N/A

Description: Used to book GDS or Aggregator type hotel rooms

Sample Value:

      "HotelBook": {
            "BookingInfo": {
                "BookingKey": "12df5516-e633-458c-86d3-67ce6c379081",
                "RequestorID": "SG000000"
            },
            "Rooms": {
                "Room": [
                    {
                        "Guests": {
                            "Guest": [
                                {
                                    "Contact": {
                                        "Phone": "817-555-1212"
                                    },
                                    "FirstName": "MARCIN",
                                    "LastName": "DZIK",
                                    "Index": 1,
                                    "LeadGuest": true,
                                    "Type": 10,
                                    "Email": "Witold.Petriczek@sabre.com"
                                }
                            ]
                        },
                        "RoomIndex": 1
                    }
                ]
            },
            "PaymentInformation": {
                "FormOfPayment": {
                    "PaymentCard": {
                        "PaymentType": "CC",
                        "CardCode": "VI",
                        "CardNumber": "4000000000006",
                        "ExpiryMonth": 3,
                        "ExpiryYear": "2021",
                        "FullCardHolderName": {
                            "FirstName": "MARCIN",
                            "LastName": "DZIK"
                        },
                        "CSC": "123",
                        "Address": {
                            "AddressLine": [
                                "Wadowicka 6"
                            ],
                            "CityName": "Krakow",
                            "StateProvince": {
                                "code": "KR"
                            },
                            "StateProvinceCodes": {
                                "Code": [
                                    {
                                        "content": "KR"
                                    }
                                ]
                            },
                            "PostCode": "30-415",
                            "CountryCodes": {
                                "Code": [
                                    {
                                        "content": "PL"
                                    }
                                ]
                            }
                        }
                    }
                },
                "Type": "GUARANTEE"
            },
            "POS": {
                "Source": {
                    "RequestorID": {
                        "Type": 5,
                        "Id": "12345678"
                    },
                    "AgencyAddress": {
                        "AddressLine1": "3150 SABRE DRIVE",
                        "CityName": {
                           
                        },
                        "CountryName": {
                            "Code": "US"
                        }
                    },
                    "AgencyName": "Really Trustworthy Agency",
                    "ISOCountryCode": "US",
                    "PseudoCityCode": "TM61"
                }
            }
        },
Note:

Relase note ID: 12835


  • Added ability to specify multiple pricing instructions (e.g to provide different commission amounts per PQ).
  • Added ability to pass Credit Card billing information.
  • Added ability to validate airline record locator returned after ending the transaction.
  • Added ability to validate whether HK status for flight segments was modified by the airline after ending transaction.
  • Updated schema based on the latest version of EnhancedAirBookRQv3.9.0

API Information

Response Format
JSON
Method/Endpoint
POST /v2.1.0/passenger/records?mode=create
Current Version
2.1.0
Target Audience
Both TN and AS
Environment
Production

What's New

  • Added ability to specify multiple pricing instructions (e.g to provide different commission amounts per PQ).
  • Added ability to pass Credit Card billing information.
  • Added ability to validate airline record locator returned after ending the transaction.
  • Added ability to validate whether HK status for flight segments was modified by the airline after ending transaction.
  • Updated schema based on the latest version of EnhancedAirBookRQv3.9.0

Functional Updates And Enhancements

In the Request

Optional

Parameter: AirPrice

Type: N/A

Description: Element used to specify pricing instruction

Sample Value:

   "AirPrice" : [ {
      "PriceRequestInformation" : {
        "Retain" : true,
        "OptionalQualifiers" : {
          "PricingQualifiers" : {
            "AlternateCurrencyCode" : "EUR",
            "CurrencyCode" : "USD",
            "AggregatedContentExclude" : false,
            "FareFocusExclude" : false,
            "NoDate" : false,
            "RoundTheWorld" : false,
            "Source" : "v2",
            "PassengerType" : [ {
              "Code" : "ADT",
              "Quantity" : "1"
Note: The repeat factor was changed from "0" to "10"

In the Request

Optional

Parameter: CreditCardData

Type: N/A

Description: used to pass the credit card billing information

Sample Value:

      "CreditCardData" : {
          "BillingInformation" : {
            "cardHolderName" : "SWS TEST",
            "streetAddress" : "TEST Address",
            "city" : "TEST city",
            "PostalCode" : "V9B 0L2"
Note:

In the Request

Optional

Parameter: PostBookingHKValidation

Type: N/A

Description: Used to specify wait interval to validate whether after booking is ended codeshare flights keep the holding confirmed status

Sample Value:

            "PostBookingHKValidation": {
                "waitInterval": 1000,
                "numAttempts": 2
            },
            "WaitForAirlineRecLoc": {
                "waitInterval": 1000,
                "numAttempts": 2
            }
Note:

In the Request

Optional

Parameter: WaitForAirlineRecLoc

Type: N/A

Description: Used to specify wait interval to wait for airline record locators to be returned

Sample Value:

            "PostBookingHKValidation": {
                "waitInterval": 1000,
                "numAttempts": 2
            },
            "WaitForAirlineRecLoc": {
                "waitInterval": 1000,
                "numAttempts": 2
            }
Note:

Relase note ID: 12950


  • Added ability to specify whether the service should stop processing upon encountering a pricing error.
  • Added ability to specify whether service should stop when actual price would be greater than specified amount or percent increase.

API Information

Response Format
JSON
Method/Endpoint
POST /v2.0.0/passenger/records?mode=create HTTP/1.1
Current Version
2.0.0
Target Audience
TN
Environment
Production

What's New

  • Added ability to specify whether the service should stop processing upon encountering a pricing error.
  • Added ability to specify whether service should stop when actual price would be greater than specified amount or percent increase.

Functional Updates And Enhancements

In the Request

Optional

Parameter: haltOnAirPriceError

Type: boolean

Description: used to specify whether the service should stop processing upon encountering a pricing error

Sample Value:

{ "CreatePassengerNameRecordRQ": { "targetCity": "G7HE", "haltOnAirPriceError": true,
Note:

In the Request

Optional

Parameter: HaltOnNonAcceptablePrice

Type: boolean

Description: used to specify whether service should stop when actual price would be greater than "AmountSpecified" percent or amount increase

Sample Value:

 "AirPrice": { "PriceComparison": { "AmountSpecified": 108.2, "AcceptablePriceIncrease": { "HaltOnNonAcceptablePrice": true, "Amount": 10
Note:

Relase note ID: 12965