AirOrderChange

You can use this endpoint to change or upgrade the existing booking. Information about the Shopping Response ID, the Offer ID and the Passenger details are required.

Schema

  • Name: Provide the name for the request. This is a String value.

  • ReferenceVersion: Provide the version number. This is a Numeric value.


This is an optional field.

  • 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.

This is a required field. Provide the shopping response ID for a specific selection. This is a Numeric value.

This is a required field. Provide the offer response ID for a specific selection. This is a Numeric value.

  • OfferID: This is a required field. Provide the offer ID for a specific selection. This is a Numeric value.

Provide the booking type. Valid values are Book and Hold. This is a String value.

  • Payments: This is an Array.

    • Type: Provide the payment type. This is a String value.

    • PassengerID: Provide the passenger ID. This is a String value.

    • Amount: Provide the amount. This is a Numeric value.

    • ChequeNumber: Provide the cheque number. 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 eqaul to 9.

    • PassengerID: Provide the passenger ID for the request. This is a String value.

    • PTC: Provide the passenger type. Valid values are ADT, CHD, and INF. This is a String value.

    • NameTitle: Provide the title of the name. Valid values are Mrs, Miss, Ms, and Mstr. This is a String value.

    • FirstName: Provide the first name. This is a String value.

    • MiddleName: Provide the middle name. This is a String value.

    • LastName: Provide the last name. This is a String value.

    • DocumentNumber: Provide the document number of your passport. This is a String value.

  • ContactInformation: This is an Array.

    • ContactID: Provide the contact ID. This is a String value.

    • AgencyName: Provide the agency name. This is a String value.

    • EmailAddress: Provide the email address. This is a String value.

    • Phone:

      • CountryCode: Provide the country code. This is a Numeric value.

      • AreaCode: Provide the area code. This is a Numeric value.

      • PhoneNumber: Provide the phone number. This is a Numeric value.

    • Mobile:

      • CountryCode: Provide the country code. This is a Numeric value.

      • MobileNumber: Provide the mobile number. This is a Numeric value.

    • Address:

      • Street: This is an Array. Provide the street details.

      • CityName: Provide the city name. This is a String value.

      • StateProv: Provide the state province. This is a String value.

      • PostalCode: Provide the postal code. This is a Numeric value.

      • CountryCode: Provide the country code. This is a String value.


Request URL

curl --location --request POST 'https://newapi.tltid.com/AirOrderChange' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \

Request Body Sample

{
    "OrderChangeRQ": {
        "Document": {
            "Name": "Flight travels",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Flight travels",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kalaiavis@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1621872101595186031",
        "OfferResponseId": "1621872196262889196",
        "MetaData": {},
        "Query": {
            "OrderServicing": {
                "AcceptOffer": {
                    "Offer": [
                        {
                            "OfferID": "151711621872123950663624"
                        }
                    ]
                }
            }
        },
        "BookingType": "BOOK",
        "Payments": {
            "Payment": [
                {
                    "Type": "CHECK",
                    "PassengerID": "ALL",
                    "Amount": 29.76,
                    "ChequeNumber": "9856321"
                }
            ]
        },
        "DataLists": {
            "PassengerList": {
                "Passenger": [
                    {
                        "PassengerID": "T1",
                        "PTC": "ADT",
                        "NameTitle": "Mr",
                        "FirstName": "downey",
                        "MiddleName": "",
                        "LastName": "Robert",
                        "DocumentNumber": "6073737593222"
                    }
                ]
            },
            "ContactList": {
                "ContactInformation": [
                    {
                        "ContactID": "CTC1",
                        "AgencyName": "Flight travels",
                        "EmailAddress": "kalaiavis@gmail.com",
                        "Phone": {
                            "ContryCode": "+1684",
                            "AreaCode": "",
                            "PhoneNumber": null
                        },
                        "Mobile": {
                            "ContryCode": "",
                            "MobileNumber": "7708382004"
                        },
                        "Address": {
                            "Street": [
                                "guindy",
                                null
                            ],
                            "CityName": "chennai",
                            "StateProv": "TN",
                            "PostalCode": "6007001",
                            "CountryCode": "IN"
                        }
                    }
                ]
            }
        }
    }
}


Response Sample

{
    "OrderViewRS": {
        "Document": {
            "Name": "Clarity NDC GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "kathir",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kathir@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1621872101595186031",
        "Success": {},
        "Payments": {
            "Payment": [
                {
                    "Type": "CHECK",
                    "PassengerID": "ALL",
                    "Amount": 128.38,
                    "ChequeNumber": "9856322"
                },
                {
                    "Type": "CHECK",
                    "PassengerID": "ALL",
                    "Amount": 31.16,
                    "ChequeNumber": "985632"
                }
            ]
        },
        "Order": [
            {
                "OrderID": "9HVJQ0YT_A2UK4UJU",
                "GdsBookingReference": "YTEDMT",
                "OrderStatus": "SUCCESS",
                "NeedToTicket": "N",
                "OfferID": "151711621872123950663624",
                "Owner": "EY",
                "OwnerName": "Etihad Airways",
                "Eticket": "true",
                "TimeLimits": {
                    "OfferExpirationDateTime": "2021-05-24T23:42:16",
                    "PaymentExpirationDateTime": "2021-05-24 04:00:00"
                },
                "BookingCurrencyCode": "CAD",
                "EquivCurrencyCode": "CAD",
                "HstPercentage": "",
                "RewardSettings": {
                    "RewardAvailable": "N",
                    "PointTypes": [],
                    "PointValues": {}
                },
                "BookingFeeInfo": {
                    "FeeType": "AOT",
                    "BookingCurrencyPrice": 10,
                    "EquivCurrencyPrice": 10
                },
                "TotalPrice": {
                    "BookingCurrencyPrice": 158.14,
                    "EquivCurrencyPrice": 158.14
                },
                "BasePrice": {
                    "BookingCurrencyPrice": 92,
                    "EquivCurrencyPrice": 92
                },
                "TaxPrice": {
                    "BookingCurrencyPrice": 66.14,
                    "EquivCurrencyPrice": 66.14
                },
                "Commission": {
                    "AgencyCommission": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    },
                    "AgencyYqCommission": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    }
                },
                "PortalCharges": {
                    "Markup": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    },
                    "Surcharge": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    },
                    "Discount": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    }
                },
                "PaxSeatInfo": [],
                "OfferItem": [
                    {
                        "OfferItemID": "OFFERITEMID1",
                        "Refundable": "false",
                        "PassengerType": "ADT",
                        "PassengerQuantity": 1,
                        "TotalPriceDetail": {
                            "TotalAmount": {
                                "BookingCurrencyPrice": 158.14,
                                "EquivCurrencyPrice": 158.14
                            }
                        },
                        "Service": [
                            {
                                "ServiceID": "SV1",
                                "PassengerRefs": "ADT1",
                                "FlightRefs": "Flight1"
                            }
                        ],
                        "FareDetail": {
                            "PassengerRefs": "ADT1",
                            "Price": {
                                "TotalAmount": {
                                    "BookingCurrencyPrice": 158.14,
                                    "EquivCurrencyPrice": 158.14
                                },
                                "BaseAmount": {
                                    "BookingCurrencyPrice": 92,
                                    "EquivCurrencyPrice": 92
                                },
                                "TaxAmount": {
                                    "BookingCurrencyPrice": 66.14,
                                    "EquivCurrencyPrice": 66.14
                                },
                                "Commission": {
                                    "AgencyCommission": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    },
                                    "AgencyYqCommission": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    }
                                },
                                "BookingFee": {
                                    "BookingCurrencyPrice": 10,
                                    "EquivCurrencyPrice": 10
                                },
                                "PortalCharges": {
                                    "Markup": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    },
                                    "Surcharge": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    },
                                    "Discount": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    }
                                },
                                "Taxes": [
                                    {
                                        "TaxCode": "YQ",
                                        "BookingCurrencyPrice": 36.28,
                                        "EquivCurrencyPrice": 36.28
                                    },
                                    {
                                        "TaxCode": "YR",
                                        "BookingCurrencyPrice": 3.63,
                                        "EquivCurrencyPrice": 3.63
                                    },
                                    {
                                        "TaxCode": "K3",
                                        "BookingCurrencyPrice": 6.1,
                                        "EquivCurrencyPrice": 6.1
                                    },
                                    {
                                        "TaxCode": "IN",
                                        "BookingCurrencyPrice": 1.36,
                                        "EquivCurrencyPrice": 1.36
                                    },
                                    {
                                        "TaxCode": "ZR",
                                        "BookingCurrencyPrice": 1.65,
                                        "EquivCurrencyPrice": 1.65
                                    },
                                    {
                                        "TaxCode": "P2",
                                        "BookingCurrencyPrice": 17.12,
                                        "EquivCurrencyPrice": 17.12
                                    }
                                ]
                            }
                        },
                        "FareComponent": [
                            {
                                "PriceClassRef": "PCR_1",
                                "SegmentRefs": "Segment1 Segment2",
                                "FareBasis": {
                                    "FareBasisCode": {
                                        "Refs": "FG_1 FG_1",
                                        "Code": "ERH1EY ERH1EY"
                                    },
                                    "RBD": "E E",
                                    "CabinType": "Y Y",
                                    "SeatLeft": "1 1"
                                }
                            }
                        ]
                    }
                ],
                "BaggageAllowance": [
                    {
                        "SegmentRefs": "Segment1 Segment2",
                        "PassengerRefs": "T1",
                        "BaggageAllowanceRef": "Bag1"
                    }
                ],
                "BookingToEquivExRate": 1,
                "FopRef": "FOP_5_5_17_0_ALL"
            }
        ],
        "DataLists": {
            "PassengerList": {
                "Passengers": [
                    {
                        "PassengerID": "T1",
                        "PTC": "ADT",
                        "NameTitle": "Mr",
                        "FirstName": "downey",
                        "MiddleName": "",
                        "LastName": "Robert",
                        "DocumentNumber": "6073737593222",
                        "PassengerRefID": "ADT1"
                    }
                ]
            },
            "DisclosureList": {
                "Disclosures": []
            },
            "FareList": {
                "FareGroup": [
                    {
                        "FareGroupRef": "FG_1",
                        "FareCode": "70J",
                        "FareBasisCode": "ERH1EY"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "MAA",
                            "Date": "2021-11-28",
                            "Time": "09:15:00",
                            "AirportName": "Chennai International Airport",
                            "Terminal": {
                                "Name": "4"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "AUH",
                            "Date": "2021-11-28",
                            "Time": "12:20:00",
                            "AirportName": "Abu Dhabi International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "239"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "239"
                        },
                        "Equipment": {
                            "AircraftCode": "32A",
                            "Name": "32A"
                        },
                        "Code": {
                            "MarriageGroup": "O"
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "4 H 35 M"
                            },
                            "Stops": {
                                "Value": "0"
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": ""
                    },
                    {
                        "SegmentKey": "Segment2",
                        "Departure": {
                            "AirportCode": "AUH",
                            "Date": "2021-11-28",
                            "Time": "13:00:00",
                            "AirportName": "Abu Dhabi International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "XNB",
                            "Date": "2021-11-28",
                            "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": {
                            "MarriageGroup": "I"
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 H 20 M"
                            },
                            "Stops": {
                                "Value": "0"
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 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"
                    }
                ]
            },
            "PriceClassList": {
                "PriceClass": [
                    {
                        "PriceClassID": "PCR_1",
                        "Descriptions": {
                            "Description": []
                        }
                    }
                ]
            },
            "BaggageAllowanceList": {
                "BaggageAllowance": [
                    {
                        "BaggageAllowanceID": "Bag1",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "0",
                            "Unit": "Kg"
                        }
                    }
                ]
            },
            "FopList": [
                {
                    "CC": {
                        "Allowed": "Y",
                        "Types": {
                            "AX": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "MC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "VI": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            }
                        }
                    },
                    "DC": {
                        "Allowed": "Y",
                        "Types": {
                            "MC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "VI": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            }
                        }
                    },
                    "CASH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "CHEQUE": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "ACH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "PG": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "FopKey": "FOP_5_5_17_0_ALL"
                }
            ]
        },
        "TicketDocInfos": {
            "TicketDocInfo": [
                {
                    "TicketDocument": {
                        "TicketDocNbr": "6073737593222",
                        "Type": "TKT"
                    },
                    "PassengerReference": "T1"
                }
            ]
        },
        "MetaData": {}
    }
}

Try it out!