Docs
DevelopersReferenceDays

API: Suggest Activities For A Stop

GET
/v1/itineraries/{id}/days/{dayId}/stops/{stopId}/activity

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).

Formatuuid
dayId*string

The day id (UUID).

Formatuuid
stopId*string

The stop id (UUID).

Formatuuid

Header 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": [    {}  ]}