post
https://integrationgateway.falconflex.ai/api/v1/tasks/planned-trip/planspmd
This API can be used for creating Trips in an Automatic manner. System will decide the optimal route based on the required Parameters
Examples
- List of Tasks needs to be planned. All 3 of them will be handled to the same Driver
{
"maximumTasksPerTrip": 3,
"taskIds": [
"task_FF_id_1",
"task_FF_id_2",
"task_FF_id_3"
]
}
- List of Tasks needs to be planned. This request will create 2 different Planned Trips
{
"maximumTasksPerTrip": 2,
"taskIds": [
"task_FF_id_1",
"task_FF_id_2",
"task_FF_id_3"
]
}