Flight PNR Fares
To retrieve the PNR, you'll need to create a flight PNR retrieve request. An PNR retrieve request describes the supplier locator and supplier account code to identify the supplier.
PNR fares request consists with mainly supplierLocator
, flightSegments
and farePreference
details.
PNR fares response have the fare
, flightSegments
and passengers
information.
To search for PNR Fares, you'll need to create a flight PNR fares request. An PNR fares request describes the flightSegments and passengers to travel (in the form of a list of flight segments). It may also include additional filters (e.g. a deal code and SEA, LBR fare).
Create a flight PNR fares request
The Travlinq will send your pnr fares search to the airline, and return your results back to you with a series of flights.Each result represents a set of flights you can buy from an airline at a particular price that meet your pnr fares criteria.
Inside flight result will include a list of one or more specific flight segments (called segments) that the airline is offering to get the passengers where they want to go.
When presenting result to your customers, you should always show the full name of the operating carrier of each segment (flight[].flightsegments[].operatingAirline
). This must be displayed prominently on the first screen where the flight is presented in order to comply with US regulations.
NOTE :
For PNR Import, you can select multiple flightSegments groups created based on married indicator.
For PNR Sync, you can select only single flightSegments groups created based on stored TST/PQ/FQ.
Flight PNR Fares Request
Tag | Attributes | Description |
---|---|---|
supplierLocator | supplierLocator* (String) |
Supplier Locator/GDS PNR |
offerId | offerId* (String) |
OfferId is a combination of search id and result id.This should be same with selected result offerId from search response. |
flightSegments | flightSegments (List) |
This attribute indicates all the segment related properties |
segmentKey (String) |
An unique identifier will be added as the segment key. a590892f-48d0-4c0b-b552-2f00d394a67c |
|
departureAirportCode (String) |
This attribute indicates IATA code of flight departure. DXB |
|
departureDateTime (String) |
This attribute indicates Flight DepartureDate and Time. 20120417T0940 |
|
departureTerminal (String) |
Terminal of departing airport 1 or 1 or Terminal1 |
|
arrivalAirportCode (String) |
This attribute indicates IATA code of flight arrival. LHR |
|
arrivalDateTime (String) |
This attribute indicates flight arrival date and Time. 20120417T0940 |
|
arrivalTerminal (String) |
Terminal of arrival airport 1 or 1 or Terminal1 |
|
duration (String) |
This attribute indicates onward and return duration in days,hours and minutes 1D5H20M. If duration is less than 24h then format is like 5H20M. If duration is less than 24h then Day component will not be available. |
|
flightNumber (String) |
This attribute indicates your flight number for the particular leg. 0556 |
|
status (String) |
This attribute indicates the status of the segment. HS,HK |
|
resBookDesigCode (String) |
This attribute indicates the booking class C,B |
|
numberInParty (Integer) |
This attribute indicates the number of passengers 2 |
|
operatingAirline (String) |
This attribute indicates the operating airline. BA |
|
marketingAirline (String) |
This attribute indicates the marketing airline GF |
|
fareBasis (String) |
Shows the leg wise fare basis | |
equipmentType (String) |
||
baggageAllowance | baggageAllowance (Object) |
Baggage allowance for the particular flight |
carryOnBaggage | carryOnBaggage (Object) |
Carry on baggage descriptions |
paxType (String) |
Pax type related to the baggage type. |
|
value (String) |
Value of the particular baggaes |
|
unit (String) |
Number of units |
|
description (String) |
Baggage description |
|
checkedInBaggage | checkedInBaggage (Object) |
Checked in baggage description |
paxType (String) |
Pax type related to the baggage type. | |
value (String) |
Value of the particular baggaes | |
unit (String) |
Number of units | |
description (String) |
Baggage description | |
flightServices | flightServices (List) |
|
flightService | flightService (Object) |
|
name (String) |
||
code (String) |
||
flightRatings | noOfObservations (Integer) |
Not released yet |
onTimeObservations (Integer) |
Not released yet | |
late30observations (Integer) |
Not released yet | |
flightsCancelled (Integer) |
Not released yet | |
onTimePercentage (Double) |
Not released yet | |
delayObservations (Integer) |
Not released yet | |
meanDelay (Integer) |
Not released yet | |
onTimePercentile (Integer) |
Not released yet | |
onTimeStars (Integer) |
Not released yet | |
delayStars (Double) |
Not released yet | |
overallStars (Double) |
Not released yet | |
priceClassName (String) |
||
cabinClass (String) |
||
passengers | passengers<span class (Object List) |
Not released yet |
passengerKey* (String) |
This is a unique key for each passenger in the booking.The key should be generate by client and send with request. | |
ptc* (String) |
Pax type code. ADT,CHD,INF |
|
infantRef (String) |
Not released yet In booking create , this attribute is used to associate an infant (not requiring a seat) to an adult. Specify the infant passenger’s Example: INF1 Where INF1 is infant passenger’s booking create, it must be passed if the request includes INF passenger, as the service needs to know which Infant is associated with which Adult However Travlinq API current version, INF associate with Lead Pax. |
|
passengerInfo | passengerInfo (Object) |
This tag includes passenger information |
birthDate* (String) |
This attribute contains the DOB of the passenger. | |
gender* (String) |
This attribute contains the passenger gender. M,F |
|
nameTitle* (String) |
Tile of the passenger's need to be updated in this tag. | |
givenName* (String) |
First name of the passenger should be passed here. | |
middleName (String) |
Middle name of the passenger should be passed here. | |
surname* (String) |
Surname name of the passenger should be passed here. | |
loyaltyProgramAccount | loyaltyProgramAccount (Object) |
The frequent-flyer number (FFN) is simply the number that is used to monitor travelers and the number of points that they have accumulated over time. Travelers can then use that number to use their points when booking flights. |
airlineDesignator (String) |
||
accountNumber (String) |
||
providerName (String) |
||
programName (String) |
||
tierCode (String) |
||
identityDocuments | identityDocuments (String) |
Any document which may be used to identify a person or verify aspects of a person's personal identity. The possible values are: PT - Passport 709 - National ID card AEA - Passenger's Redress Number CR - Known Traveller Number) *But currently API support only for Passport (PT) |
idDocumentNumber (String) |
This attribute contains the Identity document number Ex ; Passport Number. |
|
idType (String) |
This attribute contains the id type. Currently API stamping passport(PT) detail only, All other document types are on future scope . | |
issuingCountryCode (String) |
This attribute contains the issuing country code. | |
residenceCountryCode (String) |
This attribute contains the origin resident code. | |
expiryDate (String) |
Identity document expiry date. Ex ; Passport expiry date. |
|
applicableCountry (String) |
This attribute indicates the doc applicable Country | |
placeOfBirth (String) |
This attribute indicates place Of birth | |
contact | contact * (Object) |
|
postalAddress | postalAddress (Object) |
|
label (String) |
||
street (String) |
||
postalCode (String) |
||
cityName (String) |
||
countryCode (String) |
||
contactsProvided | contactsProvided * (Object) |
|
emailAddress (String) |
||
phone | phone * (Object) |
|
label (String) |
||
areaCode (String) |
||
phoneNumber (String) |
||
airlineRequests | airlineRequests (Object) |
|
ssr | ssr (Object) |
A Special Service Request (SSR) is a message sent directly to suppliers to communicate traveler preferences, special services needed by a traveler, or of a procedural requirement necessary of the carrier |
name (String) |
Ex: Meal ,seat | |
code (String) |
Ex: Meal code is 'AVML' Seat code is 'W' |
|
text (String) |
||
segmentKey (List) |
||
osi | osi (Object) |
Other Service Information (OSI) requests are messages sent directly to the supplier to communicate traveler preferences or requirements. OSIs are used only for air segments. OSIs are typically used to notify a supplier of special circumstances such as a passenger that does not speak the local language. |
name (String) |
Ex: OSI | |
code (String) |
Ex: OSI | |
segmentKey (String) |
Not released yet | |
farePreference | farePreference (String) |
This attribute indicates the fare preference Ex : ("758", PRIVATE), ("70G", CORPORATE), and ("70J", NORMAL) |
supplierAccountCode (String) |
To uniquely identify supplier that will be provided by travlinq. Generally we set PCC as a supplier account code. |
|
preferenceContext (String) |
This attribute indicates the fare preference Context Ex : preferenceContext = SEA - Seaman LBR - Labour ITX - ITX Fare |
|
fareCodes | fareCodes (List) |
Specify the fare codes/deal codes/promo codes. |
fareCode (String) |
Fare code/Deal code/Promo code. EX; fareCode = 'ITX13' |
|
airline (String) |
Fare applicable airline. |
|
currency (String) |
Fare currency Not released yet |
|
platingAirlineCode | platingAirlineCode (String) |
Specify the ticketing airline if not then we will get fares for default airline. |
baggagePreference | baggageOption (Integer) |
Preferred baggage options can be added in this attribute Not released yet |
formOfPayment | formOfPayment* (String) |
This tag consist of Form of Payment Ex: CC = Credit Card, CR = Credit |
travelType | TravelType* (String) |
This tag consist of travel type i.e Business or Personal B or P |
responseParameters | shopResultPreference (String) |
Search options should be added in this attribute. OPTIMIZED,FULL |
responseTimeout (Integer) |
This tag can be used to specify supplier timeout in seconds to get the response. |
Flight PNR Fares Response
Tags | Attribute | Description |
---|---|---|
meta | meta (Object) |
|
success (String) |
Response status will be return Ex: "true" | |
statusCode (Boolean) |
Response statusCode will be return Ex: "1" | |
statusMessage (String) |
Response statusMessage will be return Ex: "SUCCESS" | |
commonData | commonData (String) |
This tag describes common data section in the response |
productCode* (String) |
Product code of the item being booked,Flight -A | |
searchKey* (String) |
A unique search id will be returned in the search response. | |
data | data (Object) |
Common details for the specific flight should be included here |
offerId* (String) |
A unique offer id will be returned in the search response per each resul.This should be used all subsequent API calls for identify user selected result.The offerId is a combination of search id and result id. Ex : offerId= AIR03019045-67. |
|
detail | detail (Object) |
Common details for the specific flight should be included here |
ancillaryDetailsAvailable (Boolean) |
This attribute shows whether ancillary details available | |
fareRuleMandatory (Boolean) |
This flag enables in two scenarios.i.e when additional important notes are available or fare rule call is mandatory from supplier.If this is true then from the fare rule API call relevant notes can be taken and also booking rules validation will be enabled and do the mandatory information validation in provisional book. Hence if this is true then fare rule API call is mandatory*. |
|
lcc (Boolean) |
This attribute shows whether fair is low cost carrier | |
apis (Boolean) |
This attribute indicate whether passenger Passport details are required or not during booking flow for the relevant supplier | |
ndc (Boolean) |
New Distribution Capability(ndc) fare | |
onHoldSupported (Boolean) |
This tag should contain an indicator for whether holding supporting or not . For some suppliers(GDS) this value will be received from master data but for some suppliers(LCC) it will receive from Fare rule call. if fareRuleMandatory is true then check fare rule response onHoldSupported flag for further update. |
|
moreFaresAvailable (Boolean) |
journey | |
supplierLocator * (String) |
Supplier Locator | |
journey | journey ( List) |
Journey information should be included in a list of journey type objects |
flight | flight (List) |
Segment reference and flight related information should be included. |
flightKey * (String) |
An unique identifier will be added as the flight key | |
stopQuantity (String) |
This attribute indicates total number of stops in Journey 2 |
|
flightInfo | flightInfo (Object) |
Duration and distance fields are added as the flight information |
duration (String) |
This attribute indicates onward and return duration in days,hours and minutes 1D5H20M. If duration is less than 24h then format is like 5H20M. If duration is less than 24h then Day component will not be available. |
|
distance | distance (Object) |
This attribute indicates onward and return distance as value and unit pair |
value (Integer) |
value of the distance Not released yet |
|
unit (String) |
unit of the distance Not released yet |
|
segmentReference | segmentReference * (Object) |
This attribute indicates the from to airport details |
onPoint * (String) |
On Point iata code | |
offPoint * (String) |
Off Point iata code | |
flightSegments | flightSegments * (List) |
This attribute indicates all the segment related properties |
segmentKey* (String) |
An unique identifier will be added as the segment key. a590892f-48d0-4c0b-b552-2f00d394a67c |
|
departureAirportCode * (String) |
This attribute indicates IATA code of flight departure. DXB |
|
departureDateTime * (String) |
This attribute indicates Flight DepartureDate and Time. 20120417T0940 |
|
departureTerminal (String) |
Terminal of departing airport 1 or 1 or Terminal1 |
|
arrivalAirportCode * (String) |
This attribute indicates IATA code of flight arrival. LHR |
|
arrivalDateTime * (String) |
This attribute indicates flight arrival date and Time. 20120417T0940 |
|
arrivalTerminal (String) |
Terminal of arrival airport 1 or 1 or Terminal1 |
|
duration (String) |
This attribute indicates onward and return duration in days,hours and minutes 1D5H20M. If duration is less than 24h then format is like 5H20M. If duration is less than 24h then Day component will not be available. |
|
flightNumber* (String) |
This attribute indicates your flight number for the particular leg. 0556 |
|
status (String) |
This attribute indicates the status of the segment. HS,HK |
|
resBookDesigCode (String) |
This attribute indicates the booking class C,B |
|
numberInParty (String) |
This attribute indicates the number of passengers 2 |
|
operatingAirline (String) |
This attribute indicates the operating airline. BA |
|
marketingAirline * (String) |
This attribute indicates the marketing airline GF |
|
fareBasis (String) |
Shows the leg wise fare basis | |
equipmentType (String) |
||
baggageAllowance | baggageAllowance (Object) |
Baggage allowance for the particular flight |
key (String) |
Additional property details need to be added | |
value (String) |
||
description (String) |
||
carryOnBaggage | carryOnBaggage (Object) |
Carry on baggage descriptions. |
paxType (String) |
Pax type related to the baggage type. |
|
value (String) |
Value of the particular baggage |
|
unit (String) |
Number of units |
|
description (String) |
Baggage description |
|
checkedInBaggage | checkedInBaggage (Object) |
Checked in baggage description |
paxType (String) |
Pax type related to the baggage type. Pax type code. ADT,CHD,INF |
|
value (String) |
Value of the particular baggage | |
unit (String) |
Number of units | |
description (String) |
Baggage description | |
flightServices | flightServices (List) |
|
flightService | flightService (Object) |
|
name (String) |
||
code (String) |
||
flightRatings | noOfObservations (Integer) |
Not released yet |
onTimeObservations (Integer) |
Not released yet | |
late30observations (Integer) |
Not released yet | |
flightsCancelled (Integer) |
Not released yet | |
onTimePercentage (Double) |
Not released yet | |
delayObservations (Integer) |
Not released yet | |
meanDelay (Integer) |
Not released yet | |
onTimePercentile (Integer) |
Not released yet | |
onTimeStars (Integer) |
Not released yet | |
delayStars (Double) |
Not released yet | |
overallStars (Double) |
Not released yet | |
financialInfo | financialInfo (Object) |
Financial info related to the particular search result |
tmc | This tag contains supplier owner name. tmc - Travel Management Company. Eg: VE |
|
supplier | This tag contains the supplier name. | |
subSupplierCode | This tag contains the supplier pcc | |
payment | payment (Object) |
|
paymentTypes (List) |
This attribute indicates the payment types.Ex: CARD,CR |
|
paymentNetwork (List) |
This attribute indicates the payment network. "CA","VI", "AX" |
|
passengers | passengers (Object List) |
Traveller information should be updated in this tag and it's attributes. |
passengerKey (String) |
passengerKey need to be passed from the front end integrator. | |
ptc (String) |
Passenger type. ADT,CHD,INF |
|
infantRef (String) |
Not released yet In booking create , this attribute is used to associate an infant (not requiring a seat) to an adult. Specify the infant passenger’s Example: INF1 Where INF1 is infant passenger’s booking create, it must be passed if the request includes INF passenger, as the service needs to know which Infant is associated with which Adult However Travlinq API current version, INF associate with Lead Pax. |
|
passengerInfo | passengerInfo (Object) |
Following attributes describes the passenger dob and name details. |
birthDate (String) |
This attribute indicates the passenger birth date | |
gender (String) |
This attribute indicates the passenger Gender | |
nameTitle (String) |
This attribute indicates the passenger Title | |
givenName (String) |
This attribute indicates the passenger Given name | |
middleName (String) |
This attribute indicates the passenger Middle name | |
surname (String) |
This attribute indicates the passenger Surname | |
loyaltyProgramAccount | loyaltyProgramAccount (Object) |
Loyalty program information can be included here Not released yet |
airlineDesignator (String) |
Not released yet |
|
accountNumber (String) |
Not released yet |
|
providerName (String) |
Not released yet |
|
programName (String) |
Not released yet |
|
tierCode (String) |
Not released yet |
|
identityDocuments | identityDocuments (String) |
Any document which may be used to identify a person or verify aspects of a person's personal identity. The possible values are: PT - Passport 709 - National ID card AEA - Passenger's Redress Number CR - Known Traveller Number) *But currently API support only for Passport (PT) |
idDocumentNumber (String) |
This attribute contains the Identity document number Ex ; Passport Number. |
|
idType (String) |
This attribute contains the id type. Currently API stamping passport(PT) detail only, All other document types are on future scope . | |
issuingCountryCode (String) |
This attribute contains the issuing country code. | |
residenceCountryCode (String) |
This attribute contains the origin resident code. | |
expiryDate (String) |
Identity document expiry date. Ex ; Passport expiry date. |
|
applicableCountry (String) |
This attribute indicates the doc applicable Country | |
placeOfBirth (String) |
This attribute indicates place Of birth | |
contact | contact (Object) |
Passenger contact information need to be updated here. |
postalAddress | postalAddress (Object) |
|
label (String) |
||
street (String) |
||
postalCode (String) |
||
cityName (String) |
||
countryCode (String) |
||
contactsProvided | contactsProvided (Object) |
|
emailAddress (String) |
||
phone | phone (Object) |
|
label (String) |
||
areaCode (String) |
||
phoneNumber (String) |
||
airlineRequests | airlineRequests (Object) |
|
ssr | ssr (Object) |
A Special Service Request (SSR) is a message sent directly to suppliers to communicate traveler preferences, special services needed by a traveler, or of a procedural requirement necessary of the carrier |
name (String) |
Ex; Meal ,seat | |
code (String) |
Ex; Meal code is 'AVML' Seat code is 'W' |
|
text (String) |
||
segmentKey (List) |
||
osi | osi (Object) |
Other Service Information (OSI) requests are messages sent directly to the supplier to communicate traveler preferences or requirements. OSIs are used only for air segments. OSIs are typically used to notify a supplier of special circumstances such as a passenger that does not speak the local language. |
name (String) |
Ex: OSI | |
code (String) |
Ex: OSI | |
segmentKey (String) |
UUID will be generated and added as segment key. | |
fare | fare * (Object) |
Total fare information for the search result |
fareKey * (String) |
An unique identifier will be added as the fare key. a590892f-48d0-4c0b-b552-2f00d394a69c |
|
currencyCode (String) |
Fare currency code | |
fareType | fareType (Object) |
|
fareCode (String) |
||
farePreference (String) |
Fare preference number added as the fare preference 759,70G |
|
oid (String) |
Office id 06FC |
|
refundable (String) |
refundable fare indication | |
baseFare (Double) |
Total fare for all pax types. 20054.45 |
|
totalTax (Double) |
An unique identifier will be added as the segment key. a590892f-48d0-4c0b-b552-2f00d394a67c |
|
totalFare (Double) |
Total fare for the search | |
platingAirlineCode (String) |
||
supplierAdditionalFareInfo | supplierAdditionalFareInfo (Object) |
Supplier fare attributes. Not released yet |
currency (String) |
Not released yet | |
discount (Double) |
Not released yet | |
publishedFare (Double) |
Not released yet | |
commissionEarned (Double) |
Not released yet | |
plbearned (Double) |
Not released yet | |
offeredFare (Double) |
Not released yet | |
tdsOnCommission (Double) |
Not released yet | |
tdsOnPlb (Double) |
Not released yet | |
tdsOnIncentive (Double) |
Not released yet | |
serviceFee (Double) |
Not released yet | |
customerAdditionalFareInfo | customerAdditionalFareInfo (Object) |
Customer Additional Fare Info at a fare level |
transactionFeeEarned (Double) |
||
commissionEarned (Double) |
||
markupEarned (Double) |
||
plbearned (Double) |
||
incentiveEarned (Double) |
||
discount (Double) |
||
tdsOnIncentive (Double) |
Not released yet | |
vat (Double) |
Not released yet | |
cgst (Double) |
Not released yet | |
sgst (Double) |
Not released yet | |
igst (Double) |
Not released yet | |
fareBreakdown | fareBreakdown (Object) |
|
fareBreakdownKey (String) |
An unique identifier is set as fare break down key. | |
passengerKey | passengerKey (List) |
Associated passenger key |
fareType (String) |
Fare type of the result. Normal/Corporate.Private |
|
fareReference | fareReference (String) |
This attribute indicates the Fare basis code |
fareBasis (String) |
FareBasis for the result | |
segmentKey (String) |
An unique identifier is set as fare key. | |
paxType (String) |
||
paxRate | paxRate (String) |
Pax rates of the specific result. |
baseFare (Double) |
pax wise fares are shown here | |
totalTax (Double) |
pax wise fares are shown here | |
totalFare (Double) |
pax wise fares are shown here | |
taxes | taxes (List) |
Passenger type wise tax records list |
taxCode (String) |
This tag indicates the tax code | |
amount (Double) |
This tag indicates the tax amount | |
supplierAdditionalFareInfo | supplierAdditionalFareInfo (Object) |
Not released yet |
discount (Double) |
Not released yet | |
publishedFare (Double) |
Not released yet | |
commissionEarned (Double) |
Not released yet | |
plbearned (Double) |
Not released yet | |
incentiveEarned (Double) |
Not released yet | |
tdsOnCommission (Double) |
Not released yet | |
tdsOnPlb (Double) |
Not released yet | |
tdsOnIncentive (Double) |
Not released yet | |
serviceFee (Double) |
Not released yet | |
customerAdditionalFareInfo | customerAdditionalFareInfo (Object) |
Customer Additional Fare Info at a fare breakdown level |
transactionFeeEarned (Double) |
||
commissionEarned (Double) |
||
markupEarned (Double) |
||
plbearned (Double) |
||
incentiveEarned (Double) |
||
discount (Double) |
||
tdsOnIncentive (Double) |
Not released yet |
|
vat (Double) |
Not released yet |
|
cgst (Double) |
Not released yet |
|
sgst (Double) |
Not released yet |
|
igst (Double) |
Not released yet |
Flight PNR Fares Response | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
|