Read Passengers

Read Passenger List & Tickets

Using the flightID is possible to read the passenger assigned to a specific flight and the passenger will be assigned a ticket for that flight. This allows you to track seat availability, which corresponds to the total number of tickets issued for a given flight.

If you already possess the paxUserID or the internalID for a passenger (also referred to as FL3XX Person), you can retrieve their comprehensive data, including name, email, and other relevant information. To accomplish this, simply follow the instructions provided in this document.

This endpoint will retrieve the complete list of passengers for a flight

GET api/external/flight/{flightId}/passengers

Examples Response Of Passenger ticket

with passenger assigned

[  
    {
        "ticketId": 421791,  
        "paxUserId": 61190,  
        "paxType": "MALE",  
        "isMain": true,  
        "links": \[]  
    },
...

without passenger assigned

		{
        "ticketId": 421792,  
        "paxType": "MALE",  
        "isMain": false,  
        "links": \[]  
    },

Payloads

Passenger assigned to a specific ticket

GET /api/external/flight/{flightId}/passenger/{ticketId}

{
  "comment": "string",
  "externalReference": "string",
  "internalId": 0,
  "isMain": true,
  "links": {
    "empty": true
  },
  "paxExternalReference": "string",
  "paxIdCardId": 0,
  "paxType": "NONE",
  "paxUserId": 0,
  "seatOnLap": true,
  "ticketId": 0
}

Complete payload for /passengers endpoint

GET /api/external/flight/{flightId}/passengers

[
  {
    "comment": "string",
    "externalReference": "string",
    "internalId": 0,
    "isMain": true,
    "links": {
      "empty": true
    },
    "paxExternalReference": "string",
    "paxIdCardId": 0,
    "paxType": "NONE",
    "paxUserId": 0,
    "seatOnLap": true,
    "ticketId": 0
  }
]