post https://api.aerocrs.com/v5/getPassengersByFlight
This method will give you a list of passengers according to a flight number and date
Important
You can search up to 10 flights at a time
Request parameters
Parameter | Type | Description |
---|---|---|
shownonticketed | Boolean | true/false (lowercase), will show the non ticketed bookings if set to true |
flightnumber | String* | The flight number requested |
flightdate | Date* | The flight date requested |
generatetokens | Boolean | If you would like to generate PAX tokens for the check-in system queries API |
showcancelled | Boolean | If you would like to see cancelled bookings in the call |
showinfants | Boolean | Send as true if you want to get infant data along with the adult data |
showbaggages | Boolean | Send as true if you want to get the pieces of baggage |
- Mandatory parameters
Response
The method will response with all the information about the passengers in the requested flights.
Parameter | Type | Description |
---|---|---|
flight | Element | The following parameters are within flight (The element flight will be for each flight) |
flightid | Number | The flight id |
flightnumber | String | Flight number requested |
flightdate | Date | YYYY/MM/DD date of the flight |
serviceload | Number | Will be displayed per flight |
opsremark | String | Flight OPS remark |
paxDetails | Container | All the information regarding the passenger |
firstname | String | First name of the passenger |
lastname | String | Last name of the passenger |
age | Number | Age of the passenger |
paxtitle | Title | The title of the passenger |
paxwithinfant | Boolean | Is the passenger carrying infant |
paxcountry | String | Country of the passenger |
paxcountryiso | String | Passenger ISO country |
fromdestination | String | Destination “from” code |
todestination | String | Destination “To” code |
pnrref | String | The PNR reference |
pnrstatus | String | The PNR status (OK/PN/RQ) |
pnrname | String | PNR name |
servicestatus | String | Service status (Active / Cancelled) |
servicebookingdate | Date | YYYY/MM/DD HH:MM - Service booking date |
servicechangedate | Date | YYYY/MM/DD HH:MM - Service last change date (if cancelled) |
pnrbookingdate | Date | YYYY/MM/DD HH:MM - PNR booking date |
agencyname | String | Agency name (if the booking is from an agency) |
agencycontact | String | The first contact in the agency |
agencyphone | String | Agency phone number |
agencycode | String | Agency code |
agencyaccountingcode | String | Agency accounting code |
classcode | String | Class code |
paxtoken | Unique identifer | PAX token to be used in DCS related queries |
paxunq | String | Identifier of the passenger |
inboundflight | String | Flight number of inbound flight |
inboundflightorigin | String | The origin of the inbound flight |
outboundflight | String | Flight number of outbound flight |
outboundflightdestination | String | The destination of the outbound flight |
accommodationfrom | String | Accommodation from name (if exist) |
accommodationto | String | Accommodation to name (if exist) |
remarks | Container | The container will hold PNR remarks in several variables |
paxtype | String | The title of the passenger |
seat | String | Seat name |
sequencenumber | String | Check-in sequence number |
tailnumber | String | The tail number |
status | String | Passenger check-in status |
ffnumber | Number | Frequent flyer number |
fflevel | String | Frequent Flyer member degree level |
fftotalawarded | Number | Amount of awarded points of the frequent flyer member |
fftotalstatus | Number | Amount of status points of the frequent flyer member |
fftotalbonus | Number | Amount of bonus points of the frequent flyer member |
phonenumber | String | Passenger phone number |
Passenger E-mail | ||
eticketnumber | Number | identifier number of the passenger. |
notes | String | Check-in sequence number |
ssrs | Container | The container will hold PNR SSR's in several variables |
ssr | Container | The SSR name |
allowances | Container | The container will hold a single bag_kg variable |
bag_kg | Number | Allowed baggage weight (according to origin) |
baggagescheckin | Container | The container will hold all the baggages |
baggage | Container | The container will hold the pieces of baggage |
weight | Number | The weight |
massunit | String | The mass unit |
baggagetag | String | The baggage tag |
cow | Boolean | Carry-on weight (true/false) |
ancillaries | Container | The container will hold PNR ancillaries in several variables |
ancillary | Container | The ancillary name |
apisdata | Container | Advance API Information |
nationality | String | ISO code of the passenger |
type | String | Type of identification document (PASSPORT as default) |
passportname | String | Passport holder name |
docnumber | String | Number of document (passport number, I.D. number) |
passportissuer | String | ISO code of the passport issuer |
passportexpiry | Date | Date of expiry |
gender | String | Gender (M-Male, F-Female, C-Child) |
dateofbirth | Date | Passenger date of birth |
visanumber | String | Number of the visa |
visaexpiry | Date | Date of passport/ID expiry |
paxgender | String | Gender (M-Male, F-Female, C-Child) |
error | String | Will show incase the flight searched does not exist. |
infantDetails | Container | An object containing infant data that will be listed below |
firstname | String | First name of infant |
lastname | String | Last name of infant |
dateofbirth | Date | Infant date of birth |
docnumber | String | Infant document number |
passportexpiry | Date | Infant's doc expiry |
country | String | Same as paxcountry |
countryISO | String | Same as paxcountryiso |
passportissuer | String | Same as passportissuer for passengers |
weight | Number | Passenger weight |