post https://api.aerocrs.com/v5/getPassengersByFlight
This method will give you a list of passengers according to a flight number and date
ImportantYou 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 Information | ||
| 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 |
| Passenger Details | ||
| 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 | String | 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 |
| PNR Information | ||
| 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 |
| Agency Information | ||
| 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 |
| Class and Seat Information | ||
| classcode | String | Class code |
| seat | String | Seat name |
| sequencenumber | String | Check-in sequence number |
| status | String | Passenger check-in status |
| Passenger Identification | ||
| paxtoken | String | PAX token to be used in DCS related queries |
| paxunq | String | Identifier of the passenger |
| paxtype | String | The title of the passenger |
| Flight Connections | ||
| 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 |
| Accommodation | ||
| accommodationfrom | String | Accommodation from name (if exist) |
| accommodationto | String | Accommodation to name (if exist) |
| Aircraft Information | ||
| tailnumber | String | The tail number |
| Frequent Flyer Program | ||
| 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 |
| Contact Information | ||
| phonenumber | String | Passenger phone number |
| String | Passenger E-mail | |
| Ticketing | ||
| eticketnumber | Number | identifier number of the passenger |
| Notes and Remarks | ||
| notes | String | Check-in sequence number |
| remarks | Container | The container will hold PNR remarks in several <remark> variables |
| Special Service Requests | ||
| ssrs | Container | The container will hold PNR SSR's in several <ssr> variables |
| ssr | Container | The SSR name |
| Baggage Information | ||
| 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) |
| Ancillary Services | ||
| ancillaries | Container | The container will hold PNR ancillaries in several <ancillary> variables |
| ancillary | Container | The ancillary name |
| APIS Data | ||
| 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) |
| Infant Information | ||
| 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 |
| Error Handling | ||
| error | String | Will show incase the flight searched does not exist |
