Actions57
- Booking Actions
- Group Actions
- Offer Actions
- Block Actions
- Block Action Actions
- Reservation Actions
- Reservation Action Actions
- Types Actions
- Folio Actions
- Folio Action Actions
Overview
This node interacts with the "Types" resource of the Apaleo API to retrieve allowed values for specific types such as "Gender" or "Identification Type". It is useful when you need to fetch standardized lists of values that are valid within a certain country context, for example, to populate dropdowns or validate user input in booking or identification forms.
Practical examples include:
- Fetching all allowed gender options for users in a given country.
- Retrieving valid identification types accepted in a specific country for guest verification.
Properties
| Name | Meaning |
|---|---|
| Type | The category of allowed values to retrieve. Options: "Gender", "Identification Type". |
| Country Code | The ISO 3166-1 alpha-2 code of the country where the property applies. This filters the allowed values relevant to that country. |
| Additional Fields | Optional parameters to refine the query: β’ Text Search: Filter results by free text matching. β’ Page Number: The page number for paginated results (default 1). β’ Page Size: Number of items per page; if not positive, returns all. β’ Sort: Sort order of results by value ascending or descending. |
Output
The node outputs an array of JSON objects representing the allowed values for the specified type and country. Each object typically contains fields describing the allowed value (e.g., code, description).
If pagination is used, the output corresponds to the requested page and size.
No binary data is output by this node.
Dependencies
- Requires an API authentication token credential for the Apaleo API.
- The node uses the base URL
https://api.apaleo.comand expects JSON responses. - No additional external services are required beyond the Apaleo API.
Troubleshooting
- Empty results: Ensure the country code is valid and supported by the API. Also check if the type selected has allowed values for that country.
- Authentication errors: Verify that the API token credential is correctly configured and has not expired.
- Pagination issues: If no results appear when using pagination, try increasing the page size or resetting the page number to 1.
- Sorting not applied: Confirm that the sort option is set correctly; invalid sort values may be ignored.
Common error messages will relate to invalid parameters or authentication failures. Resolving them usually involves correcting input parameters or refreshing credentials.