Actions30
- Accommodations API Actions
- Administrations API Actions
- Contacts API Actions
- Invoices API Actions
- Price Calculation API Actions
- Rates API Actions
- Reservations API Actions
- Timezones API Actions
Overview
This node interacts with the Starfish API for CampingCare and HotelCare, specifically focusing on the Accommodations API to retrieve accommodation data. It supports fetching a list of accommodations with options to include meta information, media, services, and translations. Users can filter results by status, channel, and control pagination with limit and offset parameters. This node is useful for applications needing to integrate accommodation data from CampingCare/HotelCare systems, such as booking platforms, property management systems, or travel websites.
Use Case Examples
- Retrieve a list of active accommodations with media and services included for display on a travel booking site.
- Fetch only the total count of accommodations available in a specific channel for reporting purposes.
- Get accommodations with translations to support a multilingual user interface.
Properties
| Name | Meaning |
|---|---|
| Count | Whether to return only the total count of accommodations instead of full details. |
| Get Meta | Whether to include meta information about the accommodations in the response. |
| Get Media | Whether to include media information (e.g., images) related to the accommodations. |
| Get Services | Whether to include services offered by the accommodations. |
| Translations | Whether to include translations for the accommodations data. |
| Limit | Maximum number of accommodations to return, ranging from 1 to 50. |
| Offset | Number of items to skip before starting to return results, used for pagination. |
| Channel | Filter accommodations by a specific channel (Online Travel Agencies or OTAs). |
| Status | Filter accommodations by their status, such as active or nonactive. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
accommodations- Array of accommodation objects with details as per the API response.meta- Meta information about the accommodations list, included if requested.count- Total count of accommodations, returned if count option is enabled.
Dependencies
- Starfish API for CampingCare and HotelCare
Troubleshooting
- API authentication errors due to invalid or missing API key. Ensure the API key credential is correctly configured.
- Request timeouts if the server is slow or network issues occur. Adjust the timeout setting in request options if needed.
- SSL certificate validation errors if the server uses a self-signed or invalid certificate. Use the 'Ignore SSL Issues' option cautiously to bypass this.
- Incorrect filtering or empty results if invalid channel ID or status values are used. Verify filter values before making requests.
Links
- Starfish CampingCare API Documentation - Official documentation for the CampingCare API endpoints and usage.