Actions15
- Trip Actions
- Flight Actions
- Hotel Actions
- Activity Actions
- Transport Actions
Activity → Add to Trip
AI-generatedOverview
This node operation adds an activity to a specified trip in the TripIt service. It is useful for users who want to organize and manage their trip activities by specifying details such as trip ID, display name, start and end dates and times, timezone, address, and location name. For example, a user planning a vacation can add sightseeing activities or events to their trip itinerary using this operation.
Use Case Examples
- Adding a city tour activity to a trip with specific start and end times.
- Scheduling a dinner reservation as an activity within a trip.
Properties
| Name | Meaning |
|---|---|
| Trip Id | The unique identifier of the trip to which the activity will be added. |
| Display Name | The name or title of the activity to be displayed. |
| Start Date | The starting date of the activity. |
| Start Time | The starting time of the activity. |
| End Date | The ending date of the activity. |
| End Time | The ending time of the activity. |
| Timezone | The timezone in which the activity takes place. |
| Address | The physical address where the activity will occur. |
| Location Name | The name of the location where the activity will take place. |
Output
JSON
activityId- The unique identifier of the newly added activity.tripId- The trip identifier to which the activity was added.displayName- The display name of the added activity.startDateTime- The combined start date and time of the activity.endDateTime- The combined end date and time of the activity.timezone- The timezone of the activity.address- The address of the activity location.locationName- The name of the activity location.
Dependencies
- TripIt API key credential for authentication
Troubleshooting
- Common issues include invalid or missing trip ID, incorrect date/time formats, or missing required fields which will cause the API to reject the request.
- API errors from TripIt are caught and rethrown with a descriptive message to help identify issues such as authentication failures or invalid parameters.