SeatMap
SeatMap is used to display the seating layout of a flight, showing all available and booked seats in a structured format. It provides details such as seat numbers, seat positions (like aisle or extra legroom), and the price for selecting each seat. This helps users easily view the seating arrangement and choose their preferred seats before completing the booking.
Service URL (REST) to be used:
SeatMap Request
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | EndUserIp | String | IP Address of the End User | Mandatory |
| 2 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
| 3 | UserName | String | Username provided to the agency at registration | Mandatory |
| 4 | Password | String | Password provided to the agency at registration | Mandatory |
| 5 | SrdvType | String | Simple result data version | Mandatory |
| 6 | TraceId | Integer | Trace Id (Trace Id to be echoed back from search response. This can be used to trace particular search/ book at SRDV's end) | Mandatory |
| 7 | SrdvIndex | String | Simple result data version index | Mandatory |
| 8 | ResultIndex | String | Result index | Mandatory |
SeatMap Response
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | Error{} | Object | Error | Mandatory |
| 1.1 | ErrorCode | Integer | ErrorCode | Mandatory |
| 1.2 | ErrorMessage | String | Error Message | Mandatory |
| 2 | TraceId | Integer | Trace Id | Mandatory |
| 3 | SrdvType | String | Simple result data version | Mandatory |
| 4 | ResultIndex | String | Result Index | Mandatory |
| 5 | Results[] | Array | Array Of Results | Mandatory |
| 5.1 | FromAirportCode | String | From Airport Code | Mandatory |
| 5.2 | FromCity | String | From City Name | Mandatory |
| 5.3 | ToAirportCode | String | To Airport Code | Mandatory |
| 5.4 | ToCity | String | To City Name | Mandatory |
| 5.5 | AirlineName | String | Airline Name | Mandatory |
| 5.6 | AirlineCode | String | Airline Code | Mandatory |
| 5.7 | AirlineNumber | String | Airline Number | Mandatory |
| 5.8 | TotalRow | Integer | Total Rows | Mandatory |
| 5.9 | TotalColumn | Integer | Total Columns | Mandatory |
| 6 | Seats{} | Object | Seat Object | Mandatory |
| 6.1 | Row1 | Object | Row | Mandatory |
| 6.1.1 | Column1 | Object | Column | Mandatory |
| 6.1.1.1 | SeatNumber | String | Seat Number | Mandatory |
| 6.1.1.2 | IsBooked | Boolean | is already booked for a seat or not. | Mandatory |
| 6.1.1.3 | IsLegroom | Boolean | Leg Space (attribute will present only if available) | Mandatory |
| 6.1.1.4 | IsAisle | Boolean | Aisle seat | Mandatory |
| 6.1.1.5 | Amount | Decimal | Seat Chargeable Amount. | Mandatory |
| 6.1.1.6 | Code | String | Seat Code | Mandatory |