Actions57
- Booking Actions
- Contact Actions
- Enquiry Actions
- Event Actions
- Location Actions
- Property Actions
- Sale Actions
- User Actions
- Web Lead Actions
Location → List Provinces by Country ISO
AI-generatedOverview
This node operation lists all provinces within a specified country using the country's ISO code. It is useful for scenarios where you need to retrieve detailed location data for a country, such as populating dropdowns in forms, filtering data by region, or integrating geographic information into workflows. For example, you can use it to get all provinces in Spain (ISO code 'ES') to display in a user interface or to process location-specific data.
Use Case Examples
- Retrieve all provinces in Spain by providing the country ISO code 'ES'.
- Use the list of provinces to filter real estate listings or customer data by region.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to access the API, either Access Token or OAuth2. |
| Country ISO | The ISO code of the country for which to list provinces. This is a required string input, e.g., 'ES' for Spain. |
Output
JSON
json- An array of province objects representing the provinces within the specified country.
Dependencies
- Requires authentication via Access Token or OAuth2 to interact with the Inmobalia CRM API.
Troubleshooting
- Ensure the provided Country ISO code is valid and correctly formatted (e.g., 'ES' for Spain).
- Check that the authentication credentials (Access Token or OAuth2) are correctly configured and have the necessary permissions.
- If the operation fails, verify network connectivity and API availability.
- Common error messages include 'Unsupported operation' if the operation name is incorrect, or 'Unsupported resource' if the resource name is incorrect. Verify that 'resource' is set to 'locations' and 'operation' is set to 'listProvincesByCountry'.