# Fetch seat maps for multiple cabin options in a single call.

Endpoint: POST /v2/air/seat-map-bulk
Version: v2
Security: Bearer

## Security:

  - `Bearer` (unknown)
    http bearer

## Request fields (application/json):

  - `searchId` (string, required)
    Search identifier returned in the air search response.
    Example: searchId123

  - `rateOptionIds` (array, required)
    Cabin rate option IDs to fetch seat maps for.
    Example: ["rateOption1","rateOption2"]

  - `travelerInfos` (array, required)
    Information about the travelers on the itinerary.

  - `travelerInfos.travelerType` (string)
    Type of passenger
    Enum: "UNKNOWN_PASSENGER_TYPE", "ADULT", "CHILD", "INFANT", "INFANT_ON_LAP", "YOUTH", "SENIOR", "TEEN"

  - `travelerInfos.travelerAge` (object)
    Age of the traveler

  - `travelerInfos.travelerAge.numYears` (integer, required)
    Age of the passenger
    Example: 22

  - `travelerInfos.travelerInfo` (object)
    The traveler identifiers. These can be either the Spotnana user IDs of the travelers or information regarding
the adhoc travelers.

  - `travelerInfos.travelerInfo.userId` (object)
    User identifier

  - `travelerInfos.travelerInfo.userId.id` (string, required)

  - `travelerInfos.travelerInfo.adhocTravelerInfo` (object)
    Describes an adhoc traveler.

  - `travelerInfos.travelerInfo.adhocTravelerInfo.externalId` (string)
    External Id of user
    Example: qwert123

  - `travelerInfos.loyaltyInfos` (array)
    Information about the traveler's loyalty program memberships.

  - `travelerInfos.loyaltyInfos.flightId` (string)
    The flight identifier for which this loyalty is being applied.
    Example: flight_0

  - `travelerInfos.loyaltyInfos.loyaltyInfos` (array)

  - `travelerInfos.loyaltyInfos.loyaltyInfos.appliedTo` (array)

  - `travelerInfos.loyaltyInfos.loyaltyInfos.id` (string, required)
    Example: firstId

  - `travelerInfos.loyaltyInfos.loyaltyInfos.issuedBy` (string, required)
    Example: firstIssuedBy

  - `travelerInfos.loyaltyInfos.loyaltyInfos.type` (string, required)
    Enum: "UNKNOWN_TYPE", "AIR", "HOTEL", "CAR", "RAIL"

  - `travelerInfos.loyaltyInfos.loyaltyInfos.linked` (boolean)
    Indicates if this loyalty account is linked to the external provider. Only applicable for certain loyalty types.
    Example: false

  - `travelerInfos.loyaltyInfos.loyaltyInfos.tier` (string)
    Loyalty membership tier name echoed from the supplier.
    Example: GOLD

  - `indexes` (array)
    Leg/flight filters. If not provided, all legs and flights will be considered.

  - `indexes.legIndex` (integer, required)
    The leg index for which the seat map is requested.

  - `indexes.flightIndex` (array)
    The flight index for which the seat map is requested. It is optional and if it not present, then all the flights will be returned for this leg

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `cabinResults` (array)
    Per-cabin seat map results.

  - `cabinResults.seatMapResponseId` (string)
    Unique identifier for this seat map response, which would need to be passed on in subsequent booking APIs.
    Example: seat1234

  - `cabinResults.travelerSeatMaps` (array)
    Seat maps for a flight for each traveler type.

  - `cabinResults.travelerSeatMaps.travelerId` (object)
    User identifier

  - `cabinResults.travelerSeatMaps.travelerId.id` (string, required)

  - `cabinResults.travelerSeatMaps.travelerInfo` (object)
    The traveler identifiers. These can be either the Spotnana user IDs of the travelers or information regarding
the adhoc travelers.

  - `cabinResults.travelerSeatMaps.travelerInfo.adhocTravelerInfo` (object)
    Describes an adhoc traveler.

  - `cabinResults.travelerSeatMaps.travelerInfo.adhocTravelerInfo.externalId` (string)
    External Id of user
    Example: qwert123

  - `cabinResults.travelerSeatMaps.flightSeatMapIds` (array)
    Seat maps for the specified travelerId. Ids refer to the id in AirSeatMapResponse -> seatMaps.

  - `cabinResults.seatMaps` (array)
    The list of seat maps available in the response.

  - `cabinResults.seatMaps.seatMapId` (string)
    Unique identifier for this flight seat map.
    Example: seat_map_0

  - `cabinResults.seatMaps.wingRows` (object)

  - `cabinResults.seatMaps.wingRows.min` (integer)
    Minimum value - inclusive.

  - `cabinResults.seatMaps.wingRows.max` (integer)
    Maximum value - inclusive.

  - `cabinResults.seatMaps.cabinSections` (array)
    Cabin sections available in the flight.

  - `cabinResults.seatMaps.cabinSections.cabin` (string)
    Flight cabin
    Enum: "UNKNOWN_CABIN", "ECONOMY", "PREMIUM_ECONOMY", "BUSINESS", "FIRST"

  - `cabinResults.seatMaps.cabinSections.bookingCode` (string)
    Booking code associated with the cabin section.
    Example: B

  - `cabinResults.seatMaps.cabinSections.locations` (array)
    The list of locations associated with the cabin section.

  - `cabinResults.seatMaps.cabinSections.facilitySections` (array)
    The set of associated facility sections.

  - `cabinResults.seatMaps.cabinSections.facilitySections.facilities` (array)
    List of facilities in this section.

  - `cabinResults.seatMaps.cabinSections.facilitySections.facilities.facilityType` (string)
    Facility type is used to represent row facilities and cabin facilities.
    Enum: "BULKHEAD", "STAIRS", "TABLE", "LAVATORY", "BAR", "CLOSET", "AIR_PHONE", "EXIT_DOOR", "EMERGENCY_EXIT", "GALLEY", "LUGGAGE_STORAGE", "STORAGE_SPACE"

  - `cabinResults.seatMaps.cabinSections.columnSections` (array)
    The columns associated with the cabin section.

  - `cabinResults.seatMaps.cabinSections.columnSections.columns` (array)
    List of columns in this section.

  - `cabinResults.seatMaps.cabinSections.columnSections.columns.columnNumber` (string)
    Column identifier.
    Example: 32

  - `cabinResults.seatMaps.cabinSections.columnSections.columns.position` (string)
    Represents the position of a column in a row.
    Enum: "AISLE", "WINDOW", "WINDOW_AISLE", "CENTER"

  - `cabinResults.seatMaps.cabinSections.rowSections` (array)
    The rows associated with the cabin section.

  - `cabinResults.seatMaps.cabinSections.rowSections.availableSeats` (array)
    Available seats for each row in this Row Section.

  - `cabinResults.seatMaps.cabinSections.rowSections.availableSeats.columnNumber` (array)
    Column identifiers of the available seats.

  - `cabinResults.seatMaps.cabinSections.rowSections.rowTypes` (array)
    Types of the rows in this section.

  - `cabinResults.seatMaps.cabinSections.rowSections.facilitySections` (array)
    Facility sections associated with this row section.

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections` (array)
    Seat sections associated with this row section.

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.columnNumbers` (array)
    The seat columns present in the seat section.

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.type` (string)
    Type of the seat section.
    Enum: "SEAT", "NO_SEAT", "BULKHEAD", "STAIRS", "LAVATORY", "BAR", "CLOSET", "AIR_PHONE", "EXIT_DOOR", "EMERGENCY_EXIT", "GALLEY", "LUGGAGE_STORAGE", "STORAGE_SPACE", "TABLE"

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.limitations` (array)
    Limitations associated with the seat section.

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.facilities` (array)
    Facilities available in the seat section.

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.location` (array)
    Location characteristics of the seat section.

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.commercialName` (string)
    Commercial name for this seat.
    Example: Economy plus

  - `cabinResults.seatMaps.cabinSections.rowSections.seatSections.price` (object)
    Price for a seat.

  - `cabinResults.seatMaps.operatingAirline` (string)
    Operating airline code for this flight.

  - `cabinResults.seatMaps.isLoyaltyUsed` (boolean)
    Whether loyalty program information was used for this seat map.

  - `cabinResults.seatMaps.warnings` (array)
    Warnings related to this seat map.

  - `cabinResults.seatMaps.unavailabilityReason` (string)
    Reason why seat map is unavailable for a specific flight.
    Enum: "SEAT_UNAVAILABILITY_REASON_UNKNOWN", "AIRLINE_NOT_PROVIDED", "ALL_FLIGHTS_REQUIRED_FOR_SEATING", "SUPPLIER_ERROR"

  - `cabinResults.seatMaps.cabinMetadata` (array)
    Cabin-level metadata populated regardless of seat map availability.

  - `cabinResults.seatMaps.cabinMetadata.bookingCode` (string)
    Booking code associated with the cabin.

  - `cabinResults.itinerarySeatInformation` (object)
    Seat information for the whole itinerary.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation` (array)
    Seat information for each flight.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation.flightIndex` (integer)
    Index of the flight.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation.seatType` (array)
    Seat types available for this flight.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation.seatType.commercialName` (string)
    Commercial name of the seat type.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation.seatType.urls` (array)
    URLs associated with the seat type.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation.seatType.description` (string)
    Description of the seat type.

  - `cabinResults.itinerarySeatInformation.flightSeatInformation.seatType.tourUrls` (array)
    360 degree view URL associated with the seat type.

  - `cabinResults.planeFeatures` (array)
    Plane features for each flight in the itinerary.

  - `cabinResults.planeFeatures.flightId` (string)
    Unique flight identifier.

  - `cabinResults.planeFeatures.aircraft` (object)
    Aircraft information.

  - `cabinResults.planeFeatures.aircraft.id` (string)
    Unique identifier of the aircraft.

  - `cabinResults.planeFeatures.aircraft.manufacturer` (string)
    Manufacturer of the aircraft.

  - `cabinResults.planeFeatures.aircraft.model` (string)
    Model of the aircraft.

  - `cabinResults.planeFeatures.aircraft.summary` (string)
    Summary description of the aircraft.

  - `cabinResults.planeFeatures.aircraft.name` (string)
    Name of the aircraft.

  - `cabinResults.planeFeatures.aircraft.windowSize` (string)
    Window size of the aircraft.

  - `cabinResults.planeFeatures.aircraft.isWideBody` (boolean)
    Whether the aircraft is a wide-body aircraft.

  - `cabinResults.planeFeatures.aircraft.seatmapExists` (boolean)
    Whether a seat map exists for this aircraft.

  - `cabinResults.planeFeatures.aircraft.noseType` (string)
    Nose type of the aircraft.

  - `cabinResults.planeFeatures.decks` (array)
    Per-deck layout.

  - `cabinResults.planeFeatures.decks.level` (integer)
    Deck level number.

  - `cabinResults.planeFeatures.decks.rows` (array)
    Rows of seats on this deck.

  - `cabinResults.planeFeatures.decks.rows.classCode` (string)
    Class code of the cabin this row belongs to.

  - `cabinResults.planeFeatures.decks.rows.rowNumber` (integer)
    Row number in the aircraft.

  - `cabinResults.planeFeatures.decks.rows.cabinName` (string)
    Name of the cabin this row belongs to.

  - `cabinResults.planeFeatures.decks.rows.seatScheme` (string)
    Seat arrangement scheme for the row.

  - `cabinResults.planeFeatures.decks.rows.seatType` (integer)
    Type identifier for seats in this row.

  - `cabinResults.planeFeatures.decks.rows.topOffset` (integer)
    Vertical offset of the row in the layout.

  - `cabinResults.planeFeatures.decks.rows.seats` (array)
    List of seats in this row.

  - `cabinResults.planeFeatures.decks.rows.seats.letter` (string)
    Seat letter identifier.

  - `cabinResults.planeFeatures.decks.rows.seats.color` (string)
    Color code for the seat.

  - `cabinResults.planeFeatures.decks.rows.seats.cabinName` (string)
    Name of the cabin this seat belongs to.

  - `cabinResults.planeFeatures.decks.rows.seats.rotation` (string)
    Rotation angle of the seat.

  - `cabinResults.planeFeatures.decks.rows.seats.leftOffset` (integer)
    Horizontal offset of the seat in the layout.

  - `cabinResults.planeFeatures.decks.rows.seats.topOffset` (integer)
    Vertical offset of the seat in the layout.

  - `cabinResults.planeFeatures.decks.rows.seats.seatType` (integer)
    Type identifier for the seat.

  - `cabinResults.planeFeatures.decks.rows.seats.score` (integer)
    Quality score of the seat.

  - `cabinResults.planeFeatures.decks.bulks` (array)
    Non-seat elements on this deck.

  - `cabinResults.planeFeatures.decks.bulks.id` (string)
    Unique identifier of the bulk element.

  - `cabinResults.planeFeatures.decks.bulks.position` (string)
    Position of the element relative to the cabin.

  - `cabinResults.planeFeatures.decks.bulks.iconType` (string)
    Icon type used to render the element.

  - `cabinResults.planeFeatures.decks.bulks.topOffset` (integer)
    Vertical offset of the element in the layout.

  - `cabinResults.planeFeatures.decks.bulks.xOffset` (integer)
    Horizontal offset of the element in the layout.

  - `cabinResults.planeFeatures.decks.bulks.width` (integer)
    Width of the element in the layout.

  - `cabinResults.planeFeatures.decks.bulks.height` (integer)
    Height of the element in the layout.

  - `cabinResults.planeFeatures.decks.bulks.align` (string)
    Alignment of the element in the layout.

  - `cabinResults.planeFeatures.decks.exits` (array)
    Exit positions on this deck.

  - `cabinResults.planeFeatures.decks.exits.side` (string)
    Side of the aircraft where the exit is located.

  - `cabinResults.planeFeatures.decks.exits.topOffset` (integer)
    Vertical offset of the exit in the layout.

  - `cabinResults.planeFeatures.decks.wingsInfo` (object)
    Wings information for the aircraft.

  - `cabinResults.planeFeatures.decks.wingsInfo.deckLevel` (integer)
    Deck level where the wings are located.

  - `cabinResults.planeFeatures.decks.wingsInfo.topOffset` (integer)
    Vertical offset of the wings in the layout.

  - `cabinResults.planeFeatures.decks.wingsInfo.height` (integer)
    Height of the wings in the layout.

  - `cabinResults.planeFeatures.decks.exitRowsLeft` (array)
    Row numbers with exits on the left side.

  - `cabinResults.planeFeatures.decks.exitRowsRight` (array)
    Row numbers with exits on the right side.

  - `cabinResults.planeFeatures.cabinDetails` (array)
    Per-cabin details.

  - `cabinResults.planeFeatures.cabinDetails.classCode` (string)
    Class code of the cabin.

  - `cabinResults.planeFeatures.cabinDetails.pitch` (string)
    Seat pitch measurement.

  - `cabinResults.planeFeatures.cabinDetails.recline` (string)
    Seat recline measurement.

  - `cabinResults.planeFeatures.cabinDetails.width` (string)
    Seat width measurement.

  - `cabinResults.planeFeatures.cabinDetails.flatness` (string)
    Seat flatness level.

  - `cabinResults.planeFeatures.cabinDetails.legroomSummary` (string)
    Summary of legroom available in the cabin.

  - `cabinResults.planeFeatures.cabinDetails.reclineSummary` (string)
    Summary of recline available in the cabin.

  - `cabinResults.planeFeatures.cabinDetails.legroomType` (string)
    Type of legroom in the cabin.

  - `cabinResults.planeFeatures.cabinDetails.rowLayout` (string)
    Seat row layout pattern for the cabin.

  - `cabinResults.planeFeatures.cabinDetails.entertainment` (object)
    Amenity information for a cabin.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.exists` (boolean)
    Whether the amenity is available in the cabin.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.cost` (string)
    Cost associated with the amenity.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.summary` (string)
    Summary description of the amenity.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.deliveryType` (string)
    Delivery type of the amenity.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.type` (string)
    Type of the amenity.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.usbPort` (boolean)
    Whether USB port is available.

  - `cabinResults.planeFeatures.cabinDetails.entertainment.powerOutlet` (boolean)
    Whether power outlet is available.

  - `planeFeatures` (array)
    Per-flight plane features.

  - `resultSummary` (object)
    Summary of seat map data availability across cabins.

  - `resultSummary.isDataAvailable` (boolean)
    Whether seat map data is available for at least one cabin.

  - `resultSummary.unavailabilityMessage` (string)
    Reason when seat map data is unavailable.

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 404:

  - `404` (unknown)
    The specified resource was not found.

## Response 404 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

