Apaleo icon

Apaleo

Interact with Apaleo API

Actions66

Types → GET allowed values

AI-generated

Overview

This node interacts with the Apaleo API to retrieve allowed values for specific types, such as Gender or Identification Type, within a specified country. It is useful for scenarios where you need to fetch standardized or localized type values for use in booking, identification, or other related processes. For example, it can be used to get a list of valid gender options or identification types applicable in a particular country.

Use Case Examples

  1. Fetching allowed gender values for the US to populate a dropdown in a booking form.
  2. Retrieving identification types available in Germany for validating user input during registration.

Properties

Name Meaning
Type The type to provide allowed values for, e.g., Gender or Identification Type.
Country Code The ISO 3166-1 alpha-2 country code to specify the country context for the allowed values.
Additional Fields Optional filters and pagination settings to refine the allowed values retrieval, including text search, page number, page size, and sort order.

Output

JSON

  • allowedValues - Array of allowed values for the specified type and country, filtered and sorted according to additional fields if provided.

Dependencies

  • Requires an API key credential for Apaleo API authentication.

Troubleshooting

  • Common issues include invalid or missing country codes, unsupported type values, or API authentication failures.
  • Error messages may indicate invalid parameters or authentication errors; ensure the country code is in ISO 3166-1 alpha-2 format and the API credentials are valid.

Links

Discussion