post https://api.aerocrs.com/v4/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 |
- 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 |
phonenumber | String | Passenger phone number |
Passenger E-mail | ||
eticketnumber | Number | identifier number of the passenger. |
ticketstatus | Boolean | If PNR is ticketed |
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) |
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 |
paxgender | String | Gender (M-Male, F-Female, C-Child) |
error | String | Will show incase the flight searched does not exist. |