AirOrderChange

To use this endpoint, the payment method which could be a card or check. Once the payment method has been selected, the appropriate payment information must be entered, such as the credit card number, expiration date, and require fields

In addition to the payment information, must provide contact information, such as the name and email address of the person making the booking. This information is necessary to confirm the payment and complete the booking process.

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.

  • 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

    Note: GDS- Global Distribution System.


  • Payments: This is an Array.

    • Type: This is a required field. Provide the payment type. Valid values are Card and Cheque. This is a String value.

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

    • ChequeNumber: This is a required field. Provide the cheque number. This is a String value.


  • ContactInformation: This is an Array and a required field. Provide all the contact information here.
    • ContactID: Provide the contact ID.

    • AgencyName: Provide the agency name.

    • EmailAddress: Provide the email address.

    • Phone:

      • ContryCode: Provide the country code.
      • AreaCode: Provide the area code.
      • PhoneNumber: Provide the phone number.
    • Mobile:

      • CountryCode: Provide the country code.
      • MobileNumber: Provide the mobile number.
    • Address:

      • Street: This is an Array. Provide the street details.
      • CityName: Provide the city name.
      • StateProv: Provide the state province.
      • PostalCode: Provide the postal code.
      • CountryCode: Provide the country code.
    • PassengerContact: Provide the contact details.

      • EmailAddress: Provide you email ID. This is a String value.

      • Phone: Provide your phone details.

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


Request URL

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

Request Body Sample

{
    "OrderChangeRQ": {
        "Document": {
            "Name": "API GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Diva Travels",
                    "IATA_Number": "",
                    "AgencyID": "Diva Travels",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "pst@claritytts.com"
                            }
                        ]
                    }
                }
            }
        },
        "Query": {
            "OrderID": "K1SK3ZQ8",
            "GdsBookingReference": [
                "NHMUQG"
            ]
        },
        "Payments": {
            "Payment": [
                {
                    "Type": "CHECK",
                    "Amount": 3551.93,
                    "ChequeNumber": "985632"
                }
            ]
        },
        "DataLists": {
            "ContactList": {
                "ContactInformation": [
                    {
                        "ContactID": "CTC1",
                        "AgencyName": "kathir",
                        "EmailAddress": "Test@test.com",
                        "Phone": {
                            "ContryCode": "+91",
                            "AreaCode": "",
                            "PhoneNumber": "1234567890"
                        },
                        "Mobile": {
                            "ContryCode": "+91",
                            "MobileNumber": "1234567890"
                        },
                        "Address": {
                            "Street": [
                                "CA"
                            ],
                            "CityName": "chennai",
                            "StateProv": "AX",
                            "PostalCode": "600028",
                            "CountryCode": "kovil Street"
                        },
                        "PassengerContact": {
                            "EmailAddress": "Test@test.com",
                            "Phone": {
                                "ContryCode": "+91",
                                "AreaCode": "",
                                "PhoneNumber": "1234567890"
                            }
                        }
                    }
                ]
            }
        }
    }
}

Response Sample

{
    "OrderViewRS": {
        "Document": {
            "Name": "API GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Mahesh Tours And Travels",
                    "IATA_Number": "",
                    "AgencyID": "Mahesh Tours And Travels",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "pst@claritytts.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1678336675347680024",
        "Success": {},
        "Payments": {
            "Payment": [
                {
                    "Type": "CHECK",
                    "Amount": 3551.93,
                    "ChequeNumber": "985632"
                }
            ]
        },
        "Order": [
            {
                "OrderID": "K1SK3ZQ8",
                "GdsBookingReference": "NHMUQG",
                "OrderStatus": "BOOKED",
                "PaymentStatus": "PAID",
                "TicketStatus": "NOT TICKETED",
                "NeedToTicket": "N",
                "OfferID": "77061721678336683626866636",
                "Owner": "AC",
                "OwnerName": "Air Canada",
                "IsBrandedFare": "Y",
                "BrandedFareOptions": [],
                "CabinOptions": [],
                "IsAdditionalCabinType": "N",
                "Eticket": "",
                "TimeLimits": {
                    "OfferExpirationDateTime": "2023-03-09T12:27:41"
                },
                "BookingCurrencyCode": "CAD",
                "EquivCurrencyCode": "CAD",
                "HstPercentage": "",
                "RewardSettings": {
                    "RewardAvailable": "N",
                    "PointTypes": [],
                    "PointValues": {}
                },
                "BookingFeeInfo": {
                    "FeeType": "",
                    "BookingCurrencyPrice": 0,
                    "EquivCurrencyPrice": 0
                },
                "TotalPrice": {
                    "BookingCurrencyPrice": 3551.93,
                    "EquivCurrencyPrice": 3551.93
                },
                "BasePrice": {
                    "BookingCurrencyPrice": 2735,
                    "EquivCurrencyPrice": 2735
                },
                "TaxPrice": {
                    "BookingCurrencyPrice": 816.93,
                    "EquivCurrencyPrice": 816.93
                },
                "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
                    }
                },
                "AgentMarkupInfo": {
                    "OnflyMarkup": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    },
                    "OnflyDiscount": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    },
                    "OnflyHst": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0
                    },
                    "PromoDiscount": {
                        "BookingCurrencyPrice": 0,
                        "EquivCurrencyPrice": 0,
                        "PromoCode": ""
                    }
                },
                "Penalty": {
                    "ChangeFee": {
                        "Before": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "After": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        }
                    },
                    "CancelationFee": {
                        "Before": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "After": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        }
                    }
                },
                "PaxSeatInfo": [],
                "OfferItem": [
                    {
                        "OfferItemID": "OFFERITEMID1",
                        "Refundable": "true",
                        "PassengerType": "ADT",
                        "PassengerQuantity": 1,
                        "TotalPriceDetail": {
                            "TotalAmount": {
                                "BookingCurrencyPrice": 3551.93,
                                "EquivCurrencyPrice": 3551.93
                            }
                        },
                        "Service": [
                            {
                                "ServiceID": "SV1",
                                "PassengerRefs": "ADT1",
                                "FlightRefs": "Flight1"
                            },
                            {
                                "ServiceID": "SV2",
                                "PassengerRefs": "ADT1",
                                "FlightRefs": "Flight2"
                            }
                        ],
                        "FareDetail": {
                            "PassengerRefs": "ADT1",
                            "Price": {
                                "TotalAmount": {
                                    "BookingCurrencyPrice": 3551.93,
                                    "EquivCurrencyPrice": 3551.93
                                },
                                "BaseAmount": {
                                    "BookingCurrencyPrice": 2735,
                                    "EquivCurrencyPrice": 2735
                                },
                                "TaxAmount": {
                                    "BookingCurrencyPrice": 816.93,
                                    "EquivCurrencyPrice": 816.93
                                },
                                "Commission": {
                                    "AgencyCommission": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    },
                                    "AgencyYqCommission": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    }
                                },
                                "BookingFee": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "PortalCharges": {
                                    "Markup": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    },
                                    "Surcharge": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    },
                                    "Discount": {
                                        "BookingCurrencyPrice": 0,
                                        "EquivCurrencyPrice": 0
                                    }
                                },
                                "Taxes": [
                                    {
                                        "TaxCode": "RC",
                                        "BookingCurrencyPrice": 4.55,
                                        "EquivCurrencyPrice": 4.55
                                    },
                                    {
                                        "TaxCode": "SQ",
                                        "BookingCurrencyPrice": 35,
                                        "EquivCurrencyPrice": 35
                                    },
                                    {
                                        "TaxCode": "CA",
                                        "BookingCurrencyPrice": 25.91,
                                        "EquivCurrencyPrice": 25.91
                                    },
                                    {
                                        "TaxCode": "YQ",
                                        "BookingCurrencyPrice": 675,
                                        "EquivCurrencyPrice": 675
                                    },
                                    {
                                        "TaxCode": "ZR",
                                        "BookingCurrencyPrice": 3.7,
                                        "EquivCurrencyPrice": 3.7
                                    },
                                    {
                                        "TaxCode": "F6",
                                        "BookingCurrencyPrice": 25.94,
                                        "EquivCurrencyPrice": 25.94
                                    },
                                    {
                                        "TaxCode": "I2",
                                        "BookingCurrencyPrice": 3.55,
                                        "EquivCurrencyPrice": 3.55
                                    },
                                    {
                                        "TaxCode": "OM",
                                        "BookingCurrencyPrice": 35.48,
                                        "EquivCurrencyPrice": 35.48
                                    },
                                    {
                                        "TaxCode": "S6",
                                        "BookingCurrencyPrice": 7.8,
                                        "EquivCurrencyPrice": 7.8
                                    }
                                ]
                            }
                        },
                        "FareComponent": [
                            {
                                "PriceClassRef": "PCR_1",
                                "SegmentRefs": "Segment1 Segment2",
                                "FareBasis": {
                                    "FareBasisCode": {
                                        "Refs": "FG_1 FG_1",
                                        "Code": "BFFE/CS00 BFFE/CS00"
                                    },
                                    "RBD": "B B",
                                    "CabinType": "Y Y",
                                    "SeatLeft": "9 4"
                                }
                            },
                            {
                                "PriceClassRef": "PCR_1",
                                "SegmentRefs": "Segment3 Segment4",
                                "FareBasis": {
                                    "FareBasisCode": {
                                        "Refs": "FG_1 FG_1",
                                        "Code": "BFFE/CS00 BFFE/CS00"
                                    },
                                    "RBD": "B B",
                                    "CabinType": "Y Y",
                                    "SeatLeft": "9 4"
                                }
                            }
                        ]
                    }
                ],
                "BaggageAllowance": [
                    {
                        "SegmentRefs": "Segment1 Segment2 Segment3 Segment4",
                        "PassengerRefs": "ADT1",
                        "BaggageAllowanceRef": "Bag1"
                    }
                ],
                "SplitPaymentInfo": [
                    {
                        "AirItineraryId": "77061721678336683626866636",
                        "MultipleFop": "N",
                        "MaxCardsPerPax": 0,
                        "MaxCardsPerPaxInMFOP": 0
                    }
                ],
                "BookingToEquivExRate": 1,
                "FopRef": "FOP_196_0_617_0_ALL_PRI"
            }
        ],
        "DataLists": {
            "PassengerList": {
                "Passengers": [
                    {
                        "attributes": {
                            "PassengerID": "ADT1"
                        },
                        "PassengerID": "ADT1",
                        "PTC": "ADT",
                        "BirthDate": "2000-07-21",
                        "NameTitle": "Mr",
                        "FirstName": "downey",
                        "MiddleName": "",
                        "LastName": "Robert",
                        "Gender": "Male",
                        "TravelDocument": {
                            "DocumentNumber": "9658745",
                            "ExpiryDate": "2024-01-01",
                            "IssuingCountry": "CA",
                            "DocumentType": "P"
                        },
                        "Preference": {
                            "WheelChairPreference": {
                                "Reason": ""
                            },
                            "SeatPreference": "any"
                        },
                        "LoyaltyProgramAccount": [],
                        "ContactInfoRef": "CTC1"
                    }
                ]
            },
            "DisclosureList": {
                "Disclosures": []
            },
            "contactEmail": [
                "kathir@gmail.com"
            ],
            "contactNumber": [
                "9854785465"
            ],
            "ContactAddress": [
                "kovil Street"
            ],
            "FareList": {
                "FareGroup": [
                    {
                        "FareGroupRef": "FG_1",
                        "FareCode": "749",
                        "FareBasisCode": "BFFE/CS00"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "YYZ",
                            "Date": "2023-04-14",
                            "Time": "22:35:00",
                            "AirportName": "Lester B. Pearson International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "DXB",
                            "Date": "2023-04-15",
                            "Time": "19:45:00",
                            "AirportName": "Dubai International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "56"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "56"
                        },
                        "Equipment": {
                            "AircraftCode": "",
                            "Name": ""
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "13 Hrs 10 Min"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": "6899"
                        },
                        "BrandId": "LT"
                    },
                    {
                        "SegmentKey": "Segment2",
                        "Departure": {
                            "AirportCode": "DXB",
                            "Date": "2023-04-16",
                            "Time": "02:15:00",
                            "AirportName": "Dubai International Airport",
                            "Terminal": {
                                "Name": "3"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "MCT",
                            "Date": "2023-04-16",
                            "Time": "03:30:00",
                            "AirportName": "Muscat International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "7590"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "EK",
                            "Name": "Emirates",
                            "FlightNumber": "866"
                        },
                        "Equipment": {
                            "AircraftCode": "Boeing 777-300ER",
                            "Name": "Boeing 777-300ER"
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 Hrs 15 Min"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": "217"
                        },
                        "BrandId": "LT"
                    },
                    {
                        "SegmentKey": "Segment3",
                        "Departure": {
                            "AirportCode": "MCT",
                            "Date": "2023-04-22",
                            "Time": "11:20:00",
                            "AirportName": "Muscat International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "Arrival": {
                            "AirportCode": "DXB",
                            "Date": "2023-04-22",
                            "Time": "12:25:00",
                            "AirportName": "Dubai International Airport",
                            "Terminal": {
                                "Name": "3"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "7591"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "EK",
                            "Name": "Emirates",
                            "FlightNumber": "863"
                        },
                        "Equipment": {
                            "AircraftCode": "Boeing 777-300ER",
                            "Name": "Boeing 777-300ER"
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 Hrs 5 Min"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": "217"
                        },
                        "BrandId": "LT"
                    },
                    {
                        "SegmentKey": "Segment4",
                        "Departure": {
                            "AirportCode": "DXB",
                            "Date": "2023-04-23",
                            "Time": "02:00:00",
                            "AirportName": "Dubai International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "YYZ",
                            "Date": "2023-04-23",
                            "Time": "08:05:00",
                            "AirportName": "Lester B. Pearson International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "57"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "57"
                        },
                        "Equipment": {
                            "AircraftCode": "",
                            "Name": ""
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "14 Hrs 5 Min"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": "6899"
                        },
                        "BrandId": "LT"
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "20 H 55 M",
                            "Stops": 1
                        },
                        "SegmentReferences": "Segment1 Segment2"
                    },
                    {
                        "FlightKey": "Flight2",
                        "Journey": {
                            "Time": "28 H 45 M",
                            "Stops": 1
                        },
                        "SegmentReferences": "Segment3 Segment4"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "YYZ",
                        "ArrivalCode": "MCT",
                        "FlightReferences": "Flight1"
                    },
                    {
                        "OriginDestinationKey": "OD2",
                        "DepartureCode": "MCT",
                        "ArrivalCode": "YYZ",
                        "FlightReferences": "Flight2"
                    }
                ]
            },
            "PriceClassList": {
                "PriceClass": [
                    {
                        "PriceClassID": "PCR_1",
                        "Name": "Latitude",
                        "Code": "Latitude",
                        "Descriptions": {
                            "Description": []
                        }
                    }
                ]
            },
            "BaggageAllowanceList": {
                "BaggageAllowance": [
                    {
                        "BaggageAllowanceID": "Bag1",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "2",
                            "Unit": "Pieces"
                        }
                    }
                ]
            },
            "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
                                }
                            },
                            "JC": {
                                "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
                                }
                            },
                            "RU": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            }
                        }
                    },
                    "CASH": {
                        "Allowed": "N",
                        "Types": {}
                    },
                    "CHEQUE": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "ACH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "PG": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "FopKey": "FOP_196_0_617_0_ALL_PRI"
                }
            ]
        },
        "MetaData": {}
    }
}

Try it out!