DevelopersReferenceDays
API: Suggest Activities For A Stop
Up to three bookable activities that match the stop. Stops that are not bookable (hotels, transport, restaurants and the like) answer an empty list.
AuthorizationBearer <token>
A Travelyfe access token.
In: header
Path Parameters
id*string
The itinerary id (UUID).
Format
uuiddayId*string
The day id (UUID).
Format
uuidstopId*string
The stop id (UUID).
Format
uuidHeader Parameters
Travelyfe-Itinerary-Shape?"clean"
Send clean on every request that reads or writes an itinerary. It is the shape this reference documents.
Value in
- "clean"
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/itineraries/497f6eca-6276-4993-bfeb-53cbbbba6f08/days/497f6eca-6276-4993-bfeb-53cbbbba6f08/stops/497f6eca-6276-4993-bfeb-53cbbbba6f08/activity"{ "activities": [ {} ]}