Pins the provided timeframe to the waypoint. If the provided timeframe is NULL, the current waypoint timeframe will be removed if present. Calling this endpoint, even with the NULL timeframe, prevents the automatic timeframe resolution logic from running for the affected waypoint.
Security
ApiKeyAuth
- Dev APIhttps://dev.routes.bettermile.com/v1/tours/{tourId}/waypoints/{waypointId}/time-frame
curl -i -X PUT \
https://dev.routes.bettermile.com/v1/tours/3fa85f64-5717-4562-b3fc-2c963f66afa6/waypoints/b3f1a2c4-1234-4a2b-9c3d-abcdef123456/time-frame \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"timeFrame": {
"earliest": "14:00:00",
"latest": "16:00:00",
"timezone": "Europe/Berlin"
}
}'Response
{ "data": {} }