Skip to main content

Create Passenger Name Record

2.2.0
Air
Reservation
REST API
Try now
release_note
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"
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:
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:
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:
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