Discussions
Can we update status for Checkpoints?
like ... with in a Particular Project (Ride). these following points are Completed. and these following point pending to serve.
and how do we complete a ride for Routific. or do we have to make these controls in our End.
Posted by Umer Rasheed 6 months ago
max_driver_overtime unit
Is this in minutes or hours?
Posted by David Martineau 7 months ago
How to see the solution of a route optimization
Hello,
I am trying to use the API on Bubble.
When I try to retrieve my project ( eg1 : get the solution of my routing problem, eg2 : assign optimized stops to my drivers) I don't see where is the solution thought ?
Can you help me please ? Here is my code :
**POST REQUEST : **
```
{
"name": "Test gary 1",
"date": "2023-04-27",
"drivers": [{
"name": "vehicle1",
"start_location": {
"address": "Marseille, France",
"coords": {
"lat": 43.2961743,
"lng": 5.3699525
}
},
"shift_start": "09:00",
"shift_end": "18:00",
"types": ["a", "b"]
},
{
"name": "vehicle2",
"start_location": {
"address": "Marseille, France",
"coords": {
"lat": 43.2961743,
"lng": 5.3699525
}
},
"shift_start": "09:00",
"shift_end": "18:00",
"types": ["a", "b"]
}],
"stops": [{
"name": "Noellie",
"location": {
"address": "Bassillac, 24330 Bassillac et Auberoche, France",
"coords": {
"lat": 45.1576799,
"lng": 0.8685662
}
},
"start": "10:00",
"duration": 60,
"types": ["a"],
"priority": true
},
{
"name": "Marie-Ange",
"location": {
"address": "16440 Nersac, France",
"coords": {
"lat": 45.6256565,
"lng": 0.0511095
}
},
"start": "10:00",
"duration": 60,
"types": ["a"],
"priority": true
}
],
"settings": {
"max_stop_lateness": 320,
"max_driver_overtime": 320,
"shortest_distance": true,
"traffic": 1.4,
"strict_start": true,
"auto_balance": true,
"default_load": 1,
"default_duration": 10
}
}
```
\*\*GET REQUEST :-1:
knkl
https//api.routific.com/product/projects/[project_id]
The output :
```
{
"_id": "644ad62976d6480018e0ad29",
"name": "Test gary 1",
"timezone": {},
"date": "2023-04-27",
"updateTime": "2023-04-27T20:08:09.772Z",
"fleet": {
"driver_rJZGN8IOX3": {
"_id": "driver_rJZGN8IOX3",
"name": "vehicle1",
"start-location": {
"address": "Marseille, France",
"coords": {
"lat": 43.2961743,
"lng": 5.3699525
},
"id": "driver_rJZGN8IOX3_start"
},
"shift-start": "09:00",
"shift-end": "18:00",
"types": [
"a",
"b"
]
},
"driver_S1MM4LU_m3": {
"_id": "driver_S1MM4LU_m3",
"name": "vehicle2",
"start-location": {
"address": "Marseille, France",
"coords": {
"lat": 43.2961743,
"lng": 5.3699525
},
"id": "driver_S1MM4LU_m3_start"
},
"shift-start": "09:00",
"shift-end": "18:00",
"types": [
"a",
"b"
]
}
},
"visits": {
"stop_HyMNU8OQn": {
"id": "stop_HyMNU8OQn",
"name": "Noellie",
"location": {
"address": "Bassillac, 24330 Bassillac et Auberoche, France",
"coords": {
"lat": 45.1576799,
"lng": 0.8685662
}
},
"start": "10:00",
"duration": 60,
"types": [
"a"
],
"isPriority": true,
"time_windows": [
{
"start": "10:00"
}
],
"status": "valid"
},
"stop_rJlGE8I_7n": {
"id": "stop_rJlGE8I_7n",
"name": "Marie-Ange",
"location": {
"address": "16440 Nersac, France",
"coords": {
"lat": 45.6256565,
"lng": 0.0511095
}
},
"start": "10:00",
"duration": 60,
"types": [
"a"
],
"isPriority": true,
"time_windows": [
{
"start": "10:00"
}
],
"status": "valid"
}
},
"settings": {
"stopLateness": 320,
"driverLateness": 320,
"shortestDistance": true,
"traffic": 1.4,
"strictStart": true,
"autoBalanced": true,
"load": 1,
"duration": 10,
"distanceFormat": "km"
},
"solution": null,
"isLocked": false,
"status": "ready",
"version": 1
}
```
I don't see any assignements of stops for my drivers in that ouptut?
Your help would save me !
Gary
Posted by Gary 7 months ago
start a route
not sure how to start a route I only hav e one driver at the moment
Posted by Dorothy Becker over 2 years ago
retrieve optimized routes before dispatching
Hello.
I love that I can croate a few project with a list of drivers and stops through API.
After I optimized the project, I would like to retrieve the resulting routes.
All I can see in the API is the option to export the project, which gets me the list of drivers and stops, but not how the drivers are visiting the stops.
And the other export with "/routes" returns nothing.
Posted by J-S Dumais over 2 years ago
arrival_time vs start_time
Hi there,
Could you tell me the difference between "arrival_time" and "start_time"? Wasn't immediately obvious to me. Sometimes I see "start_time"s in API responses that are before "arrival_time"s, which seems counterintuitive to me.
Thanks,
-Stephen
Posted by Stephen Tufts over 2 years ago
Remove a stop from a project
Hi there! I was wondering if it is possible to remove a stop from a project using the Platform API. Couldn't find that endpoint in the docs.
Thanks!
Posted by Patricia over 2 years ago
Improve API integration and Documentation
The documentation is outdated and not very complete.
If would be great if thee API provided more information, for example the current location of the vehicles.
Please allow to put custom tags on the notification templates.
Thanks!
Posted by Ricardo Sat about 3 years ago
Add Some item information
Hello
We want to break through the list of items we want to deliver for each stop. is it possible to put in "custom_notes": {}
What would be the format of this field?
Do you have an example?
Here is the information we want to see
Order number, Item number of the order
Order: 06-00023 Qty: 2
Order: 06-00541 Qty: 3
Posted by FRANCK GAVOIS over 3 years ago
Hi, routific for developer
Hi, you have site for developer. and you could send full api on Routific
Thanks
Posted by Sinh over 3 years ago