Content API Overview
The Content API provides access to static reference data such as hotels, locations, excursions, meal types, and star classifications.
This data is used to populate and synchronize content across systems, ensuring accurate and consistent information for availability and booking operations.
All Content API endpoints require Bearer authentication.
If you are in the development phase, you can use the provided test credentials to obtain an authentication token.
Get started
Get started by visiting the the ContentAPI site.
Available API Methods
Authentication
| Method | Endpoint | Description |
|---------|-----------|-------------|
| **POST** | `/api/login` | Authenticates the user and returns a Bearer token used for all subsequent API calls. |
### Utility
| Method | Endpoint | Description |
|---------|-----------|-------------|
| **GET** | `/api/echo` | Returns a simple response with the username if a valid token is provided (used to verify authentication). |
### Reference Data
| Method | Endpoint | Description |
|---------|-----------|-------------|
| **GET** | `/api/locations` | Retrieves a list of all currently active locations. |
| **GET** | `/api/starclassifications` | Retrieves all currently active hotel star classifications. |
| **GET** | `/api/availableHotelIds` | Returns a list of all currently active hotel IDs. |
### Hotel Content
| Method | Endpoint | Description |
|---------|-----------|-------------|
| **POST** | `/api/hotels` | Returns the static content for the specified hotels. |
| **GET** | `/api/hotels/{locationId}` | Returns the static content for all hotels in the specified location. |
### Additional Content
| Method | Endpoint | Description |
|---------|-----------|-------------|
| **GET** | `/api/excursions` | Retrieves the static content for available excursions. |
| **GET** | `/api/mealtypes` | Retrieves the static content for available meal types. |