HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
rebook_eligibility_response
Fields
slicesSlice-grouped eligibility for the contract's itinerary. Each slice carries its segments' eligibility for rebook.
Show fields
segmentsThe ordered list of segments that make up this slice.
Show 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
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
Used by
{
"slices": [
{
"segments": [
{
"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": []
},
"disruption": {
"type": "string"
}
}
]
}
]
}