latestOpenAPI 3.0.12026-08-102668257.3 KB

8e9a8f8010ab

Other Functions

Extract PNR

This API is used to directly connect to airlines and extract PNR information. The content displayed by this API reflects the current PNR information on the airline side, such as flight schedule and ticket status. Atlas extracts airline information truthfully and will not do any modification.

Endpoint: https://sandbox.atriptech.com/extractPnr.do

post/extractPnr.do

Headers

Acceptstring required
Content-Typestring required
Accept-Encodingstring required
x-atlas-client-idstring required
x-atlas-client-secretstring required

Request body

airlinePnrstring required

The airline PNR

carrierstring required

2-letter IATA code for the airline

timeoutinteger nullable

The maximum response duration, in milliseconds. Note: This time is estimated due to the impact of network transmission.

Response

status99005 | 99006 | 99007 required
msgstring nullable
airlinePnrstring required

Airline PNR(not Atlas)

pnrStatus'OnHold' | 'Ticketed' | 'Cancelled' | 'Unknown' required
pnrUsed'used' | 'unused' nullable required

pnr usage status

currencystring nullable

The currency of fare

totalPricestring nullable