Actions15
- Trip Actions
- Flight Actions
- Hotel Actions
- Activity Actions
- Transport Actions
Hotel → Add to Trip
AI-generatedOverview
This node operation adds hotel reservation details to a trip in the TripIt service. It is useful for travel planners or applications that manage trip itineraries, allowing users to consolidate hotel booking information such as check-in/out dates, hotel name, address, booking details, and costs into a single trip record.
Use Case Examples
- A travel agency automates adding hotel bookings to a customer's trip itinerary.
- A personal travel app integrates hotel reservation details into a user's trip plan for easy access and management.
Properties
| Name | Meaning |
|---|---|
| Notes | Additional notes related to the hotel reservation. |
| Restrictions | Any restrictions related to the hotel booking. |
| Booking Rate | The rate at which the hotel was booked. |
| Booking Site Conf Num | Confirmation number from the booking site. |
| Booking Site Name | Name of the booking site. |
| Booking Site Phone | Phone number of the booking site. |
| Booking Site Url | URL of the booking site. |
| Record Locator | Record locator for the booking. |
| Supplier Conf Num | Supplier confirmation number. |
| Supplier Contact | Contact information for the supplier. |
| Supplier Email Address | Email address of the supplier. |
| Supplier Phone | Phone number of the supplier. |
| Supplier Url | URL of the supplier. |
| Total Cost | Total cost of the hotel booking. |
| Booking Date | Date when the booking was made. |
| Is Purchased | Indicates if the booking is purchased. |
| Trip Id | The trip identifier to which the hotel is added. (Required Field) |
| Hotel Name | Name of the hotel. (Required Field) |
| Check In Date | Check-in date for the hotel stay. (Required Field) |
| Check Out Date | Check-out date for the hotel stay. (Required Field) |
| Check In Time | Check-in time for the hotel stay. (Required Field) |
| Check Out Time | Check-out time for the hotel stay. (Required Field) |
| Timezone | Timezone of the hotel location. (Required Field) |
| Street | Street address of the hotel. (Required Field) |
| City | City where the hotel is located. (Required Field) |
| State | State where the hotel is located. (Required Field) |
| Zip | Zip code of the hotel location. (Required Field) |
| Country | Country where the hotel is located. (Required Field) |
| Number Guests | Number of guests for the hotel booking. |
| Number Rooms | Number of rooms booked. |
| Room Type | Type of room booked. |
Output
JSON
hotelReservationId- Identifier of the added hotel reservation in the trip.tripId- The trip identifier to which the hotel was added.hotelName- Name of the hotel added to the trip.checkInDate- Check-in date of the hotel reservation.checkOutDate- Check-out date of the hotel reservation.addressstreet- Street address of the hotel.city- City of the hotel.state- State of the hotel.zip- Zip code of the hotel.country- Country of the hotel.
numberGuests- Number of guests for the reservation.numberRooms- Number of rooms booked.roomType- Type of room booked.bookingDetailsnotes- Additional notes about the booking.restrictions- Booking restrictions.bookingRate- Rate at which the booking was made.bookingSiteConfNum- Booking site confirmation number.bookingSiteName- Name of the booking site.bookingSitePhone- Phone number of the booking site.bookingSiteUrl- URL of the booking site.recordLocator- Record locator for the booking.supplierConfNum- Supplier confirmation number.supplierContact- Supplier contact information.supplierEmailAddress- Supplier email address.supplierPhone- Supplier phone number.supplierUrl- Supplier URL.totalCost- Total cost of the booking.bookingDate- Date when the booking was made.isPurchased- Indicates if the booking is purchased.
Dependencies
- TripIt API key credential
Troubleshooting
- Common issues include missing required fields such as tripId, hotelName, check-in/out dates, times, and address details. Ensure all required fields are provided to avoid validation errors.
- API errors from TripIt may occur due to invalid credentials or network issues. The node throws errors with messages from the TripIt API to help diagnose problems.