Actions66
- Block Actions
- Block Action Actions
- Booking Actions
- Group Actions
- Offer Actions
- Payment Account Actions
- Payment Account Action Actions
- Reservation Actions
- Reservation Action Actions
- Types Actions
- Folio Actions
- Folio Action Actions
Block → GET block count
AI-generatedOverview
This node operation retrieves the count of blocks from the Apaleo API, optionally filtered by property IDs, date range, and status. It is useful for scenarios where you need to know the number of blocks matching specific criteria, such as generating reports or monitoring block statuses within a given timeframe.
Use Case Examples
- Count blocks for specific property IDs to analyze booking trends.
- Get the number of blocks created between two dates to monitor occupancy.
- Filter blocks by status (Tentative, Definite, Canceled) to assess booking confirmations.
Properties
| Name | Meaning |
|---|---|
| Property IDs | Comma-separated list of property IDs to filter the blocks by. |
| From Date | Filter blocks starting from this date. |
| To Date | Filter blocks until this date. |
| Status | Filter blocks by their status, such as Tentative, Definite, or Canceled. |
Output
JSON
count- The total number of blocks matching the filter criteria.
Dependencies
- Requires an API key credential for Apaleo API authentication.
Troubleshooting
- Common issues include invalid or expired API credentials, resulting in authentication errors.
- Incorrect date formats or invalid property IDs may cause the API to return errors or empty results.
- If the node throws errors, ensure the 'resource' is set to 'block' and 'operation' to 'GET block count' as expected.
Links
- Apaleo API - Get Block Count - Official API documentation for retrieving block counts from Apaleo.