HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
segment_eligibility
Fields
idStable identifier for this segment within the rebook eligibility. Echo it back as segment_id on the flight shop request to rebook this exact segment. Stable across eligibility calls for the same disruption.
origin_airportIATA code of the origin airport.
[A-Z]{3}destination_airportIATA code of the destination airport.
[A-Z]{3}departure_date_timeScheduled local departure date and time in ISO Local Date Time format.
arrival_date_timeScheduled local arrival date and time in ISO Local Date Time format.
marketing_carrier_codeIATA marketing carrier code.
[A-Z0-9]{2}marketing_flight_numberMarketing flight number.
[0-9]{1,4}cabinCabin class.
economypremium_economybusinessfirstrebook_eligibilityWhether this segment is eligible for rebook, with the search criteria when it is.
Show fields
Whether this segment is eligible for rebook, with the search criteria when it is.
type:eligible (eligible) eligible
typevalue: eligible
search_criteriasThe searches HTS applies before shopping a rebook from this segment. Partners sourcing their own inventory must apply them so their rebook options match the HTS-sourced flow.
Show fields
slice_indexZero-based position in slices of the slice these criteria search for.
origin_airportsOrigin airports to search: the original airport plus any nearby airports HTS would include.
destination_airportsDestination airports to search: the original airport plus any nearby airports HTS would include.
departure_date_windowThe departure date window to search across.
Show fields
startFirst date of the search window (the disrupted departure day), as an ISO local date.
endLast date of the search window (typically the day after the disruption), as an ISO local date.
ineligible (ineligible) ineligible
typevalue: ineligible
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]?$disruptionThe disruption experienced by the segment, if any has occurred.
Show fields
The disruption experienced by the segment, if any has occurred.
type:canceled (canceled) canceled
typevalue: canceled
delayed (delayed) delayed
typevalue: delayed
delay_minutesThe number of minutes the flight was delayed.
missed_connection (missed_connection1) missed_connection1
typevalue: missed_connection
{
"id": "seg_1",
"origin_airport": "YUL",
"destination_airport": "YYZ",
"departure_date_time": "2024-06-15T14:30",
"arrival_date_time": "2024-06-15T16:00",
"marketing_carrier_code": "AC",
"marketing_flight_number": 123,
"cabin": "Economy",
"reservation_booking_designator": "J",
"rebook_eligibility": {
"type": "string",
"search_criterias": [
{
"slice_index": 0,
"origin_airports": [
"string"
],
"destination_airports": [
"string"
],
"departure_date_window": {
"start": "2026-05-11",
"end": "2026-05-12"
}
}
]
},
"disruption": {
"type": "string"
}
}