Public API v1

Add a getting-around option to a destination.

post/v1/trips/{id}/variants/{variantId}/destinations/{destinationKey}/options/getting-around

Request

  • Base URL: https://api.mynextadventure.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mynextadventure.cloud/v1/trips/{id}/variants/{variantId}/destinations/{destinationKey}/options/getting-around
  • Auth: API key in header X-API-Key

Path parameters

idstring required
variantIdstring required
destinationKeystring required

Request body

type'walk' | 'publicTransport' | 'rideShare' | 'ownCar' | 'rentalCar' | 'ownMotor' | 'rentalMotor' | 'bike' | 'rentalBike' | 'other'
totalCostnumber required
currencystring required
notesstring

Free-form commentary: provenance, caveats, trade-offs. Anything without a dedicated field goes here.

linkstring

Response

Option created.

keystring required

Server-assigned key for the newly-created option.

Changes

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