API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
fare_details_response
Fields
slicesarray of slice
required
Slices containing segment-level fare details.
Items ≥ 1
Show fields
Array of slice · Slices containing segment-level fare details.
Items ≥ 1
segmentsarray of segment
required
Segments within this slice, each with fare details.
Items ≥ 1
Show fields
Array of segment · Segments within this slice, each with fare details.
Items ≥ 1
detailsarray of fare_detail
required
Fare details for this segment.
Show fields
Array of fare_detail · one of 4 · Fare details for this segment.
Exactly one of the following, selected by
type:generic (generic) generic
included (included) included
purchasable (purchasable) purchasable
unavailable (unavailable) unavailable
Used by
Example
{
"slices": [
{
"segments": [
{
"details": [
{
"type": "generic"
}
]
}
]
}
]
}