# API Operations

This section describes all operations supported by the API, organised by theme.

## Availability

| Operation or Endpoint                                                  | Description                                                                                  |
| ---------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [Get availability](hotels#get-availability)                            | Get availability and pricing options for the specified hotel for the specified date interval |
| [Get availability blocks](availability-blocks#get-availability-blocks) | Get details of the availability blocks for the given hotel.                                  |

## Configuration

| Operation or Endpoint                                         | Description                                                                                                                                                                |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Get configuration](configuration#get-configuration)          | Get configuration data for the specified booking engine instances; this operation can be called initially to fetch data which may be important during the booking workflow |
| [Get hotels](hotels#get-hotels)                               | Get hotels data for a single specified hotel; this operation can be called initially to fetch data which may be important during the booking workflow                      |
| [Get payment configuration](hotels#get-payment-configuration) | Fetch payment configuration parameters for the specified hotel                                                                                                             |

## Payment cards

| Operation or Endpoint                                          | Description                                                                         |
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [Get payment cards](payment-cards#get-payment-cards)           | Fetch details about the listed payment cards, in particular the Authorization state |
| [Authorize payment card](payment-cards#authorize-payment-card) | Request authorization of the specified payment card                                 |

## Reservations

| Operation or Endpoint                                                   | Description                                                                               |
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| [Get reservations pricing](reservations#get-reservations-pricing)       | Get a price quotation for a specific hotel, date interval, room category and person count |
| [Get reservation price](reservations#get-reservation-price)             | Get final price of the specified reservations                                             |
| [Create reservation group](reservation-groups#create-reservation-group) | Create a group of one or more reservations, i.e. make a reservation                       |
| [Get reservation group](reservation-groups#get-reservation-group)       | Fetch details of the specified reservation group                                          |

## Services

| Operation or Endpoint                                           | Description                                                                                  |
| --------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [Get services availability](services#get-services-availability) | Get availability for the specified service for each time unit in the specified date interval |
| [Get services pricing](services#get-services-pricing)           | Get pricing for the specified service for each time unit in the specified date interval      |

## Vouchers

| Operation or Endpoint                         | Description                                             |
| --------------------------------------------- | ------------------------------------------------------- |
| [Validate voucher](vouchers#validate-voucher) | Determine if the specified voucher code is valid or not |
