| Api | VarVersion | Type | Date | Description |
|---|---|---|---|---|
| Route Optimization OptiFlow API | 1.61.0 | FEATURE | 28.04.2026 | Added minimum state of charge constraints to the battery, allowing to define a minimum battery level after charging and at the end of a route. |
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}
}