Actions45
- Block Actions
- Block Action Actions
- Booking Actions
- Group Actions
- Offer Actions
- Reservation Actions
- Folio Actions
- Types Actions
Overview
This node interacts with the Apaleo API to retrieve booking-related data. Specifically, for the Block resource and the GET blocks operation, it fetches a list of blocks (time periods or allocations) from Apaleo's booking system. This is useful in scenarios where you want to analyze, report on, or manage availability blocks within a property management or booking context.
Practical examples include:
- Retrieving all blocks within a specific date range to understand room availability.
- Filtering blocks by status (e.g., Tentative, Definite, Canceled) to monitor booking states.
- Extracting blocks related to certain property IDs to focus on specific locations or units.
Properties
| Name | Meaning |
|---|---|
| Property IDs | Comma-separated list of property IDs to filter blocks by. |
| From Date | Filter blocks starting from this date (inclusive). |
| To Date | Filter blocks until this date (inclusive). |
| Status | Filter blocks by their status. Options: Tentative, Definite, Canceled. |
Output
The node outputs an array of JSON objects representing blocks retrieved from the Apaleo API. Each object corresponds to a block entity containing details such as its ID, associated property, time range, status, and other relevant metadata defined by Apaleo's block schema.
If binary data were involved (not indicated here), it would typically represent attachments or documents related to blocks, but this node focuses on JSON data only.
Dependencies
- Requires an API authentication token credential for Apaleo API access.
- The node uses the base URL
https://api.apaleo.comfor all requests. - No additional external services are required beyond the Apaleo API.
Troubleshooting
- Common issues:
- Invalid or expired API token: Ensure the API key/credential is valid and has not expired.
- Incorrect date formats: Use ISO 8601 format for "From Date" and "To Date".
- Empty results: Verify that filters (property IDs, dates, status) match existing blocks in Apaleo.
- Error messages:
- Authentication errors usually indicate invalid credentials; reconfigure the API token.
- Network or timeout errors suggest connectivity issues; check your internet connection and Apaleo service status.
- Validation errors may occur if input parameters are malformed; double-check property IDs and date inputs.