Fleet Planner API manages and optimizes a fleet of vehicles or equipment to ensure efficient and cost-effective operations. Key responsibilities include aggregating, distributing and route optimization. Fleet planners play a crucial role in enhancing operational efficiency across various industries, including logistics, transportation, etc.
Why Fleet Planner API?
Fleet Planner is an essential need for a lot of logistical companies for efficiency and reducing costs prioritising the need to optimized solution. It is required to have focused deliverables and quantifying the exact amount of planned work via travel ETA and travel distance. Certain variations like optimization, time-bound allocations, fair work distribution, etc. allow to choose the style of work allocation keeping business needs in mind.
What can Fleet Planner API help with?
Fleet Planner helps to solve the problem of allocating work, distributing and finding an optimal path to accomplish the deliverables. This is quintessential in logistic services, food delivery services, courier services, etc. for planning.
How to use
Sample request:
curl --location --request POST "https://api.olamaps.io/routing/v1/fleetPlanner?strategy=fair&api_key=${your_api_key}" --header "X-Request-Id: XXX" --form "input=@data.json;type=application/json"
The input file comprises of 2 types - Vehicle and Package.
Vehicle attributes: 1. id: A unique identifier to represent a vehicle. Only alphanumeric characters allowed, no special characters allowed. (required, datatype : string) 2. capacityInKG: Loading capacity of the vehicle in Kilograms (required, datatype : number) 3. startTime: Needed if a vehicle has working hours. Represents duty start time. Comprises of hour and minutes. Hour required to be in 24 hours format (optional) 4. endTime: Needed if a vehicle has working hours. Represents duty end time. Comprises of hour and minutes. Hour required to be in 24 hours format (optional)
Package attributes: 1. id: A unique identifier to represent a package. Only alphanumeric characters allowed, no special characters allowed. (required, datatype : string) 2. weightInGrams: Loading capacity of the package in Grams (required, datatype : number) 3. loadingLocation: Location of package pickup. Comprises of lat (latitude) and lng (longitude) 4. unloadingLocation: Location of package drop. Comprises of lat (latitude) and lng (longitude) 5. loadingTimeInMinutes: Time in minutes required to load a package in the vehicle (optional, datatype : number) 6. unloadingTimeInMinutes: Time in minutes required to unload a package in the vehicle (optional, datatype : number)