Generate Route
Calculate an EV-optimized route synchronously
POST
/routing/generateRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
origin | Location | Yes | Starting point |
destination | Location | Yes | End point |
waypoints | Location[] | No | Intermediate stops |
vehicle | Vehicle | Yes | Vehicle configuration |
preferences | Preferences | No | Routing preferences |
conditions | Conditions | No | Current conditions |
Charging Strategies
| Strategy | Description |
|---|---|
minimum | Minimize charging time |
balanced | Balance time with comfort |
comfortable | More frequent, shorter stops |