curl --request POST \
--url https://api.flatpeak.com/schedules/duration/loc_641b90b758fb8e6293716e40 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"start_time": "2024-05-19T23:21:00Z",
"end_time": "2024-05-20T06:00:00Z",
"tariff_direction": "IMPORT",
"segment": "LOW",
"duration": 120
}'