HotelPlanet

Complete hotel booking and management system. Search hotels, check availability, make bookings, and manage reservations. Perfect for travel agencies, booking platforms, and hotel management workflows.

Overview

The node integrates with a hotel booking and management system, allowing users to retrieve detailed information about specific bookings. The "Get Booking Details" operation fetches comprehensive data for a given booking ID, such as reservation details, guest information, dates, and status.

This operation is useful in scenarios where travel agencies, booking platforms, or hotel management workflows need to verify or display the specifics of an existing booking. For example, after a customer makes a reservation, this node can be used to confirm the booking details or to provide updates to the customer service team.

Properties

Name Meaning
Booking ID The unique identifier of the booking whose details are to be retrieved.

Output

The output JSON contains the full response from the booking system's API for the specified booking ID. It typically includes:

  • Booking metadata (e.g., booking ID, status, creation date)
  • Guest information (name, contact details)
  • Hotel and room details
  • Check-in and check-out dates
  • Pricing and payment information
  • Any special requests or notes associated with the booking

If the API request fails, the output will contain an error message describing the issue.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the hotel booking system.
  • The base URL for the API is obtained from the credentials configuration.
  • Uses HTTP requests via Axios library to communicate with the external hotel booking API.

Troubleshooting

  • Common issues:

    • Invalid or missing Booking ID parameter will cause the API call to fail.
    • Network connectivity problems or incorrect API base URL may result in request failures.
    • Expired or invalid API authentication token will lead to authorization errors.
  • Error messages:

    • "API request failed": General failure; check network, API endpoint, and parameters.
    • Specific error messages returned by the API are passed through and should be reviewed for details.
  • Resolution tips:

    • Verify that the Booking ID is correct and corresponds to an existing booking.
    • Ensure the API credentials are valid and have necessary permissions.
    • Confirm the API base URL is correctly configured in the credentials.
    • Use the node’s "Continue On Fail" option to handle errors gracefully in workflows.

Links and References

  • No direct external links provided in the source code.
  • Refer to your hotel booking system’s API documentation for detailed information on booking data structure and error codes.

Discussion