API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

fare_detail

Fields

Exactly one of the following, selected by type:
generic (generic) generic
type
string
required

value: generic

text
string
required

Description text for this fare detail.

Length ≥ 1
included (included) included
type
string
required

value: included

text
string
required

Description text for this fare detail.

Length ≥ 1
purchasable (purchasable) purchasable
type
string
required

value: purchasable

text
string
required

Description text for this fare detail.

Length ≥ 1
unavailable (unavailable) unavailable
type
string
required

value: unavailable

text
string
required

Description text for this fare detail.

Length ≥ 1
Example
{
  "type": "string",
  "text": "Standard boarding"
}