AirPostBookingAncillary

AirPostBookingAncillary is an after-booking service provided by airlines that allows to add ancillary services to their existing flight booking, such as baggage allowance and flight meals. To access this service, customers are required to provide their Order ID and GDS Booking Reference, which will enable the airline to retrieve their booking details and display the available ancillary options.

Once have accessed the AirPostBookingAncillary service, they can select from a variety of ancillary services based on their personal preferences and needs. For example, a customer may choose to add extra baggage allowance, pre-order a special meal

The AirPostBookingAncillary service is particularly useful who may have forgotten to add an ancillary service during the initial booking process or wants to make changes in their preBookingAncillary service selection.

Note: GDS-Global Distribution System.

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. This is a String value.

    • Contacts: This is an Array.

      • EmailContact: Provide the email contact for the request. This is a String value.

  • OrderID: This is the unique identifier that is typically provided by the airline at the time of booking. This is the required field, and the value will be String.

  • GdsBookingReference: This is the code that is used by GDS to identify the booking. The GDS booking references are typically provided by the airlines at the time of booking. This is the required field, and the value will be the String.


Request URL

curl --location --request POST 'https://uat-apigateway.voyzantonline.com/AirPostBookingAncillary' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
--header 'x-api-key: <your key here>' \
--header 'Content-Type: application/json'\ 

Request Body Sample

{
    "AirServiceListRQ": {
        "Document": {
            "Name": "

Voyzant API GATEWAY",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Skyroute B2B Portal",
                    "IATA_Number": "1111111111",
                    "AgencyID": "Skyroute B2B Portal",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "skyroute@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "Query": {
            "OrderID": "0POSCFP2",
            "GdsBookingReference": ["YTINUH"]
        }
    }
}

Response Sample

{
    "AirServiceListRS": {
        "Document": {
            "Name": "

Voyzant API GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "kathir",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kathir@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1620935432360360661",
        "ServiceListResponseId": "1620935651122616517",
        "ALaCarteOffer": {
            "Parameters": {
                "TotalItemQuantity": 2
            },
            "TimeLimits": {
                "OfferExpiration": "2021-05-14T01:54:17"
            },
            "ALaCarteOfferItem": [
                {
                    "OfferItemID": "ALaCarteOfferItem-1",
                    "Eligibility": {
                        "PassengerRefs": "ADT1",
                        "SegmentRefs": "Segment1"
                    },
                    "Price": {
                        "Base": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        },
                        "Tax": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "Total": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        }
                    }
                },
                {
                    "OfferItemID": "ALaCarteOfferItem-2",
                    "Eligibility": {
                        "PassengerRefs": "ADT1",
                        "SegmentRefs": "Segment2"
                    },
                    "Price": {
                        "Base": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        },
                        "Tax": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "Total": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        }
                    }
                }
            ]
        },
        "ServiceList": [
            {
                "OfferItemRefs": "ALaCarteOfferItem-1",
                "ServiceID": "1620935657277722278",
                "ServiceDefinitionRef": "SRV-1"
            },
            {
                "OfferItemRefs": "ALaCarteOfferItem-2",
                "ServiceID": "1620935657277489250",
                "ServiceDefinitionRef": "SRV-1"
            }
        ],
        "DataLists": {
            "PassengerList": {
                "Passengers": [
                    {
                        "attributes": {
                            "PassengerID": "ADT1"
                        },
                        "PassengerID": "ADT1",
                        "PTC": "ADT",
                        "BirthDate": "2000-07-21",
                        "NameTitle": "Mr",
                        "FirstName": "downey",
                        "MiddleName": "",
                        "LastName": "Robert",
                        "TravelDocument": {
                            "DocumentNumber": "9658745",
                            "ExpiryDate": "2024-01-01",
                            "IssuingCountry": "CA",
                            "DocumentType": ""
                        },
                        "Preference": {
                            "WheelChairPreference": {
                                "Reason": ""
                            },
                            "SeatPreference": "any"
                        },
                        "LoyaltyProgramAccount": [
                            {
                                "ProgramID": "AA",
                                "AirlineID": "AA",
                                "AccountNumber": "8349843875"
                            }
                        ],
                        "ContactInfoRef": "CTC1"
                    }
                ]
            },
            "ServiceDefinitionList": {
                "ServiceDefinition": [
                    {
                        "ServiceDefinitionID": "SRV-1",
                        "ServiceType": "MEAL",
                        "ServiceCode": "HOT DINNER",
                        "ServiceName": "HOT DINNER"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "MAA",
                            "Date": "2021-11-25",
                            "Time": "09:15:00",
                            "AirportName": "Chennai International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "Arrival": {
                            "AirportCode": "AUH",
                            "Date": "2021-11-25",
                            "Time": "12:20:00",
                            "AirportName": "Abu Dhabi International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "239"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "239"
                        },
                        "Equipment": {
                            "AircraftCode": "32A",
                            "Name": ""
                        },
                        "Code": {},
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "4 Hrs 35 Min"
                            },
                            "Stops": {
                                "Value": 0
                            }
                        },
                        "BrandId": ""
                    },
                    {
                        "SegmentKey": "Segment2",
                        "Departure": {
                            "AirportCode": "AUH",
                            "Date": "2021-11-25",
                            "Time": "13:00:00",
                            "AirportName": "Abu Dhabi International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "Arrival": {
                            "AirportCode": "XNB",
                            "Date": "2021-11-25",
                            "Time": "14:20:00",
                            "AirportName": "United Arab Emirates",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "5422"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "5422"
                        },
                        "Equipment": {
                            "AircraftCode": "BUS",
                            "Name": "Bus"
                        },
                        "Code": {},
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 Hrs 20 Min"
                            },
                            "Stops": {
                                "Value": 0
                            }
                        },
                        "BrandId": ""
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "6 H 35 M",
                            "Stops": 1
                        },
                        "SegmentReferences": "Segment1 Segment2"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "MAA",
                        "ArrivalCode": "XNB",
                        "FlightReferences": "Flight1"
                    }
                ]
            }
        }
    }
}

Try it out!