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 specifically for the Administrations resource to manage Age Tables. It supports operations to retrieve all age tables for a given administration or to get a single age table by its unique ID. This is useful for scenarios where users need to access age-related data configurations within an administration, such as for booking or pricing rules based on age categories.
Use Case Examples
- Retrieve all age tables for administration ID 1234, optionally including translations and sorting by priority.
- Fetch a specific age table by its ID within a given administration to view detailed age group configurations.
Properties
| Name | Meaning |
|---|---|
| Age Tables Method | Specifies the method to use for age tables operations, either to get all age tables or a single age table by ID. |
| Administration ID | The unique identifier of the administration from which to retrieve age tables. |
| Translations | Boolean flag to include translations for age table fields in the response. |
| Age Table ID | The unique identifier of the age table to retrieve when fetching a single age table. |
| Sort | Field by which to sort the list of age tables when retrieving multiple tables. |
Output
JSON
id- The unique identifier of the age table.name- The name of the age table.priority- The priority of the age table, used for sorting.ageGroups- An array of age group objects defining age ranges and related data within the age table.translations- Optional translations for age table fields if requested.
Dependencies
- Requires an API key credential for authentication with the Starfish API.
Troubleshooting
- Common issues include invalid or missing administration ID or age table ID, resulting in API errors or empty responses.
- If translations are requested but not available, the response may omit translation fields.
- Network or SSL certificate issues can cause request failures; the node supports ignoring SSL issues via a setting.
- Timeouts can occur if the server is slow to respond; the timeout setting can be adjusted to mitigate this.
Links
- Starfish API Documentation - Age Tables - Official documentation for the Age Tables endpoints in the Starfish API.