AirTicketVoid

This is an after-booking service. It helps you to cancel the ticket.

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 a required field. Provide the order ID for a specific selection. The value will be String.

  • GdsBookingReference: This is a required field. Provide the GDS booking reference for a specific selection. The value will be String.

    • TicketNumber: This is a required field. Provide the ticket number. The value will be String.

    • NeedToCancelBooking: Default value is N. Valid values are Y and N. The value will be String.


Request URL

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

Request Body Sample

{
    "AirTicketVoidRQ": {
        "Document": {
            "Name": "Skyroute B2B Portal",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Skyroute B2B",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "skyroute@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "Query": {
            "OrderID": "6GHBPISN",
            "GdsBookingReference": [
                "WHSSEW"
            ],
            "TicketNumber": [
                "6073737588139"
            ],
            "NeedToCancelBooking": "N"
        }
    }
}

Response Sample

{
    "AirTicketVoidRS": {
        "Document": {
            "Name": "Clarity NDC GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "kathir",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kathir@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1620355940584375141",
        "Success": {},
        "Result": {
            "Status": "SUCCESS",
            "ErrorMessage": "",
            "TicketDetails": [
                {
                    "DocumentNumber": "6073737588139",
                    "Status": "SUCCESS",
                    "Msg": ""
                }
            ],
            "TktRequestId": "JG80II2N",
            "ShoppingResponseId": "1620355940584375141"
        }
    }
}

Try it out!