The Route Plan Updated callback occurs when a route is updated by optimization or by manual changes.
The Route Plan Updated webhook includes the Run Object.
Triggers include changes in Bringg's Route Planner, such as:
- New route created
- Driver, vehicle, or trailer updated
- Planned route ID updated
- Order assigned to or unassigned from a route
- Order priority updated
Below are the default parameters included in the Route Plan Updated webhook.
{
"run": {
"id": 123456789,
"user_id": 98765,
"external_id": "456456",
"team_id": 325545,
"vehicle_id": 54512,
"scheduled_start_time": "2023-10-24T11:00:00.000Z",
"scheduled_end_time": "2023-10-24T21:23:05.000Z",
"tasks": [
{
"id": 987654321,
"title": null,
"status": 1,
"external_id": "5454544",
"way_points": [
{
"id": 430151283,
"address": "1 Main Street Chicago IL [...]",
"position": 2,
"scheduled_at": "2023-10-24T19:42:22.000Z",
"eta": "2023-10-24T19:42:22.000Z"
}
]
},
{
"id": 879456123,
"title": null,
"status": 1,
"external_id": "54545454",
"way_points": [
{
"id": 454564,
"address": "242 Second Street Chicago IL [...]",
"position": 2,
"scheduled_at": "2023-10-24T19:36:25.000Z",
"eta": "2023-10-24T19:36:25.000Z"
}
]
}
]
}
}