itinerary

WRITE: add a stop to the user's trip plan (an accepted detour — it appears in the day plan on the next build)

WRITE: add a stop to the user's trip plan (an accepted detour — it appears in the day plan on the next build). Use for gap fillers, swaps the user asked for, or detours. Only touches the user's own trip.

post/actions/apply_trip_filler

Request

  • Base URL: https://findinghorizons.ca/api/v1
  • URL: https://findinghorizons.ca/api/v1/actions/apply_trip_filler
  • Auth: OAuth 2 (authorization code, authorization URL https://findinghorizons.ca/api/mcp/authorize, token URL https://findinghorizons.ca/api/mcp/oauth/token, scopes: itinerary:write)

Headers

Idempotency-Keystring required

One per intended change; a repeat never runs twice.

X-FH-Taskstring

Your task reference.

Request body

tripIdstring required
titlestring required

Stop name

descriptionstring
addressstring
citystring
latitudenumber
longitudenumber
categorystring

restaurant | cafe | attraction | nature | nightlife | experience | shop | other

todaystring

The traveller's own date, YYYY-MM-DD, where the action needs one

expectedVersioninteger

For a change to a trip: the planVersion you last read

Response

Done — { ok, api, action, result, card, operation? }

Changes

No recorded changes to this operation across all 1 revision of this API.