Apaleo icon

Apaleo

Interact with Apaleo API

Actions66

Reservation Action → PUT assign specific unit to reservation

AI-generated

Overview

This node operation assigns a specific unit to a reservation in the Apaleo system. It is useful for scenarios where a particular unit (e.g., a hotel room or apartment) needs to be allocated to a reservation, potentially with specified start and end dates for the assignment. This can be applied in property management or booking systems to manage unit assignments precisely.

Use Case Examples

  1. Assigning a specific hotel room to a guest's reservation for the duration of their stay.
  2. Changing the assigned unit for a reservation to accommodate guest preferences or operational requirements.

Properties

Name Meaning
Reservation ID Filter bookings by reservation ID to specify which reservation to assign the unit to.
Unit ID The ID of the unit to be assigned to the reservation. This is a required field for this operation.
From The start date and optional time for the unit assignment. If not specified, the reservation's arrival date is used. The date/time should be in ISO8601 format with or without UTC offset.
To The end date and optional time for the unit assignment. If not specified, the reservation's departure date is used. The date/time should be in ISO8601 format with or without UTC offset.

Output

JSON

  • assignedUnitId - The ID of the unit that was assigned to the reservation.
  • reservationId - The ID of the reservation to which the unit was assigned.
  • from - The start date/time of the unit assignment.
  • to - The end date/time of the unit assignment.
  • status - The status of the assignment operation, indicating success or failure.

Dependencies

  • Requires an API key credential for Apaleo API authentication to authorize requests.

Troubleshooting

  • Common issues include invalid or missing Reservation ID or Unit ID, which will cause the assignment to fail.
  • Date/time format errors for 'From' and 'To' fields if not in proper ISO8601 format may cause request rejection.
  • API authentication errors if the API key credential is invalid or expired.
  • Network or connectivity issues preventing communication with the Apaleo API.

Discussion