Apaleo icon

Apaleo

Interact with Apaleo API

Actions66

Block → POST create block

AI-generated

Overview

This node operation creates a new block in the Apaleo system. A block represents a reserved set of units or rooms within a property for a specified period, often used in hotel or property management to allocate inventory for specific groups or purposes. This operation is beneficial for scenarios such as reserving rooms for a corporate group, setting aside units for a travel agency, or managing inventory for special events.

Use Case Examples

  1. Creating a block for a corporate group booking at a hotel property, specifying the group ID, property ID, rate plan, unit group, date range, and pricing details.
  2. Setting up a block for a travel agency to reserve multiple units under a specific rate plan and currency for a defined period.

Properties

Name Meaning
Group ID ID of the group this block belongs to, used to associate the block with a specific group.
Property ID ID of the property where the block should be created, specifying the location of the block.
Rate Plan ID ID of the rate plan for the block, defining the pricing strategy applied to the block.
Unit Group ID ID of the unit group for the block, indicating the group of units or rooms included in the block.
From Date Start date of the block, marking the beginning of the reserved period.
To Date End date of the block, marking the end of the reserved period.
Gross Daily Rate Gross daily rate for the block, specifying the daily price for the reserved units.
Currency Currency for the gross daily rate, indicating the monetary unit used for pricing.

Output

JSON

  • blockId - Unique identifier of the created block.
  • groupId - ID of the group associated with the block.
  • propertyId - ID of the property where the block is created.
  • ratePlanId - ID of the rate plan applied to the block.
  • unitGroupId - ID of the unit group included in the block.
  • fromDate - Start date of the block period.
  • toDate - End date of the block period.
  • grossDailyRate - Gross daily rate set for the block.
  • currency - Currency used for the gross daily rate.

Dependencies

  • Apaleo API access token credential

Troubleshooting

  • Ensure all required fields (Group ID, Property ID, Rate Plan ID, Unit Group ID, From Date, To Date, Gross Daily Rate, Currency) are provided and correctly formatted.
  • Verify that the API access token credential is valid and has the necessary permissions to create blocks.
  • Common errors may include authentication failures, missing required parameters, or invalid date ranges. Check error messages for specific details and correct input accordingly.

Links

Discussion