API reference

HTS APIs

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

Schema

unprocessable_entity_cfar_exercise_contract_error

Fields

Array of cfar_exercise_contract_error · one of 4
Items ≥ 1
Exactly one of the following, selected by code:
contract_expired (contract_expired) contract_expired
message
string
required

A human-readable message describing the error

code
string
required
invalid_contract_status (invalid_contract_status1) invalid_contract_status1
message
string
required

A human-readable message describing the error

code
string
required
passenger_already_exercised (passenger_already_exercised) passenger_already_exercised
message
string
required

A human-readable message describing the error

code
string
required
passenger_not_found (passenger_not_found) passenger_not_found
message
string
required

A human-readable message describing the error

code
string
required

Used by

PUT/contracts/{id}/exerciseExercise a Contract
Example
[
  {
    "message": "string",
    "code": "string"
  }
]