Page 1 of 1

Route Optimization API - Api Changes 1.61.0 (28.04.2026)

Posted: Wed Apr 29, 2026 8:35 am
by Bernd Welter
ApiVarVersionTypeDateDescription
Route Optimization OptiFlow API1.61.0FEATURE28.04.2026Added minimum state of charge constraints to the battery, allowing to define a minimum battery level after charging and at the end of a route.
Here's also a sample request generated by PTV MIRA (check attachment)
MIRA.png

Code: Select all

{
  "locations": [
    {
      "id": "DEPOT",
      "latitude": 50.85,
      "longitude": 4.35,
      "chargingStations": [
        {
          "id": "CHARGER_DEPOT",
          "maximumPower": 50,
          "preparationDuration": 300,
          "completionDuration": 180
        }
      ]
    },
    {"id": "CUSTOMER_1", "latitude": 50.92, "longitude": 4.42},
    {"id": "CUSTOMER_2", "latitude": 51.05, "longitude": 4.30}
  ],
  "vehicles": [
    {
      "id": "EV_VAN_1",
      "start": {"locationId": "DEPOT", "earliestStartTime": "2026-04-29T06:00:00Z"},
      "end": {"locationId": "DEPOT", "latestEndTime": "2026-04-29T16:00:00Z"},
      "battery": {
        "capacity": 75,
        "stateOfCharge": {
          "initial": 0.9,
          "minimum": 0.1,
          "minimumAfterCharging": 0.5,
          "minimumAtEnd": 0.3
        },
        "consumption": {
          "perHundredKilometers": 20
        }
      },
      "costs": {"perHour": 40, "perKilometer": 0.35}
    }
  ],
  "orders": [
    {"id": "ORDER_1", "type": "DELIVERY", "locationId": "CUSTOMER_1", "duration": 600},
    {"id": "ORDER_2", "type": "DELIVERY", "locationId": "CUSTOMER_2", "duration": 600}
  ],
  "depots": [{"id": "DEPOT_MAIN", "locationId": "DEPOT"}],
  "settings": {"duration": 60}
}