HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
flight_cancellation1
The covered flight was canceled.
Fields
typevalue: flight_cancellation
segmentThe flight segment that was canceled.
Show fields
origin_airportIATA airport code of origin.
[A-Z]{3}destination_airportIATA airport code of destination.
[A-Z]{3}departure_date_timeLocal date and time of departure, in ISO 8601 format.
arrival_date_timeLocal date and time of arrival, in ISO 8601 format.
cabinCabin of the segment.
economypremium_economybusinessfirstmarketing_carrier_codeIATA airline code of the marketing carrier for this segment.
[A-Z0-9]{2}marketing_flight_numberFlight number for the marketing carrier.
[0-9]{1,4}reservation_booking_designatorReservation Booking Designator (RBD) for this segment: the booking code the airline sold the seat under, one uppercase letter and an optional second letter or digit. Also known as booking class, booking code, class of service, or fare class (e.g. Y, B, M, Q, N, J, F, E1). Pass the code exactly as it appears on the ticket/PNR.
^[A-Z][A-Z0-9]?$operating_carrier_codeIATA airline code of the operating carrier for this segment. Assumed to be the same asmarketing_carrier_code if not set.
[A-Z0-9]{2}operating_flight_numberFlight number for the operating carrier. Assumed to be the same asmarketing_flight_number if not set.
[0-9]{1,4}{
"type": "string",
"segment": {
"origin_airport": "BOS",
"destination_airport": "LGA",
"departure_date_time": "2022-04-02T18:34:30",
"arrival_date_time": "2022-04-02T19:12:30",
"cabin": "economy",
"reservation_booking_designator": "Y",
"marketing_carrier_code": "B6",
"marketing_flight_number": "776",
"operating_carrier_code": "B6",
"operating_flight_number": "776"
}
}