You can use this endpoint to get the seat map for a certain seat selection. Information about the ShoppingResponseID, OfferID, and the passenger list details is required to get the seat lists. This is an optional service.
Schema
-
Name: Provide the name for the request. This is a String value.
-
ReferenceVersion: Provide the version number. This is a Numeric value.
-
Travel Agency Sender:
-
Name: Provide the name for the request. This is a String value.
-
IATA Number: Provide the IATA number for the request. This is a String value.
-
Agency ID: Provide the agency ID for the request. This is a String value.
-
Contacts: This is an Array.
- EmailContact: Provide the email contact for the request. This is a String value.
-
- Passenger: This is an Array.
Note: This is a required field. The passenger list must have at least one adult. Infant object count should be less than or equal to adult count. Total passenger count should be less than or equal to 9.
-
PassengerID: Provide the passenger ID assigned to you. Valid values are
T1
,T2
, andT3
. The value will be String. -
PTC: Provide the passenger type. Valid values are
ADT
,CHD
, andINF
. The value will be String.
Request URL
curl --location --request POST 'https://newapi.tltid.com/AirSeatMap' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
Request Body Sample
{
"AirSeatMapRQ": {
"Document": {
"Name": "kathir",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "kathir",
"IATA_Number": "",
"AgencyID": "",
"Contacts": {
"Contact": [
{
"EmailContact": "kathir@gmail.com"
}
]
}
}
}
},
"ShoppingResponseId": "1620222081937399839",
"Query": {
"Offer": [
{
"OfferID": "151711620222089401678730"
}
]
},
"DataLists": {
"PassengerList": {
"Passenger": [
{
"PassengerID": "T1",
"PTC": "ADT"
}
]
}
},
"MetaData": {
"TraceId": "161777799749"
}
}
}
Response Sample
{
"AirSeatMapRS": {
"Document": {
"Name": "Clarity NDC GATEWAY",
"ReferenceVersion": "1.2"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "EXTERNAL API TESTING AGENCY",
"IATA_Number": "",
"AgencyID": "EXTERNAL API TESTING AGENCY",
"Contacts": {
"Contact": [
{
"EmailContact": "ba.laqaems@gmail.com"
}
]
}
}
}
},
"ShoppingResponseId": "1620222081937399839",
"SeatResponseId": "1626690283009123217",
"Errors": {
"Error": {
"ShortText": "EXIPRE_SHOPPPING_RES_ID",
"Code": 25,
"Value": "Invalid Shopping Response Id or Shopping Response was expired"
}
}
}
}