API reference

HTS APIs

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

Schema

events_response

Response for the events request

Fields

events
array of event
required

List of notification events. May be empty if no events match the criteria or if all events have been retrieved.

Show fields
Array of event · one of 2 · List of notification events. May be empty if no events match the criteria or if all events have been retrieved.
Exactly one of the following, selected by type:
reservation_cancelled (reservation_cancelled_event) reservation_cancelled_event
type
string enum
required

Type of the event.

Values reservation_cancelled
reservation_transaction_appended (reservation_transaction_appended_event) reservation_transaction_appended_event
type
string enum
required

Type of the event.

Values reservation_transaction_appended
transaction_id
string
required

Transaction identifier for the newly appended transaction.

next_cursor
string

Opaque cursor for fetching the next page of events. When present, more events are available - use this value in the next request's pagination.cursor field. When absent, no more events are available. Do not attempt to parse or modify this value.

Used by

PUT/api/lodging/v1/notifications/eventsRetrieve a list of notification events.
Example
{
  "events": [
    {
      "type": "reservation_cancelled"
    }
  ],
  "next_cursor": "string"
}