API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
flight_booking
Fields
idstring
required
Unique identifier for this flight booking.
statusstatus1 · one of 3
required
Current status of the booking.
Show fields
Current status of the booking.
Exactly one of the following, selected by
type:confirmed (confirmed) confirmed
typestring
required
value: confirmed
failed (failed) failed
typestring
required
value: failed
errorstring
required
Error message describing why the booking failed.
Length ≥ 1
pending (pending) pending
typestring
required
value: pending
Used by
Example
{
"id": "bk_abc123",
"status": {
"type": "string"
}
}