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 providing access to the Timezones API to retrieve timezone information. It supports fetching a list of timezones with options to filter by country code, limit the number of results, offset the starting point of results, and optionally get the total count of timezones. This node is useful for applications that need to work with timezone data, such as scheduling, booking systems, or any service that requires timezone awareness.
Use Case Examples
- Retrieve a list of timezones for Germany by setting the country code to 'deu'.
- Get the total count of available timezones without retrieving the full list by enabling the count option.
- Fetch a paginated list of timezones by setting limit and offset parameters to control the number of results and starting point.
Properties
| Name | Meaning |
|---|---|
| Count | Whether to get the total count of timezones instead of the full list. |
| Country Code | Filter the timezones by a specific country code (e.g., 'deu' for Germany). |
| Limit | Maximum number of timezones to return in the response. |
| Offset | Number of items to skip before starting to return results, useful for pagination. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
timezones- Array of timezone objects returned by the API, each representing a timezone with its details.count- Total count of timezones available, returned if the count option is enabled.
Dependencies
- Requires an API key credential for the Starfish API (CampingCare/HotelCare) to authenticate requests.
Troubleshooting
- Common issues include invalid or missing API key credentials, resulting in authentication errors.
- Incorrect country code filters may return empty results; ensure the country code is valid and correctly formatted.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting in request options if needed.
- SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this should be used cautiously due to security risks.
Links
- Starfish API Timezones Documentation - Official documentation for the Timezones API endpoint of the Starfish API.