Actions45
- Block Actions
- Block Action Actions
- Booking Actions
- Group Actions
- Offer Actions
- Reservation Actions
- Types Actions
- Folio Actions
Overview
This node interacts with the Apaleo API to perform various actions related to hotel management resources. Specifically, for the Block Action resource with the PUT amend block operation, it updates an existing block by sending new data to modify its details. This is useful in scenarios where a reservation block needs adjustment after creation, such as changing dates, quantities, or other block attributes.
Practical examples include:
- Amending a room block to extend the stay duration.
- Updating the number of rooms held in a block.
- Modifying any custom data associated with the block.
Properties
Name | Meaning |
---|---|
Block ID | The unique identifier of the block to be amended. |
Block Data | JSON object containing the fields and values to update the block with (e.g., dates, quantities). |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the updated block information as returned by the Apaleo API after the amendment operation.
If the node supports binary data output, it would typically represent attachments or documents related to the block, but this operation focuses on JSON data only.
Dependencies
- Requires an active connection to the Apaleo API using a valid API authentication token.
- The node expects the user to configure credentials that provide access tokens for authenticating requests to Apaleo.
- Network connectivity to
https://api.apaleo.com
is necessary.
Troubleshooting
- Common issues:
- Invalid or expired API token causing authentication failures.
- Providing malformed JSON in the "Block Data" property leading to request errors.
- Using a non-existent or incorrect Block ID resulting in "not found" errors.
- Error messages:
- Authentication errors: Check and refresh your API credentials.
- Validation errors from the API: Verify the structure and content of the "Block Data" JSON.
- Not found errors: Confirm the Block ID exists and is correct.