Retrieve grouped assigned nodes a single vehicle
GET/api/v2/vehicle/:vehicle_id/assigned_nodes_grouped
Returns all nodes assigned to a vehicle in sequence.
- Grouped by
node.scheduled_ts. Ifproject.settings.node_grouping_thresholdis bigger than 0, difference betweenscheduled_tsshould be less thannode_grouping_threshold.- For example,
scheduled_tsof node A is at 7:00.scheduled_tsof node B is at 07:05. Andproject.settings.node_grouping_thresholdis 5 mins We need to group both of them. - If
project.settings.node_grouping_thresholdis less than 5 mins then nodes are not grouped .
- For example,
- Group nodes by
node.latandnode.lon. - In node group
- All picks up are always on top.
- Then, sorted it by
node.assignment_order.
- Redelivery node is always on bottom of list group.
- Nodes grouping logic is similar to above.
Request
Responses
- 200
- 400
- 403
- 404
successful operation
Invalid ID supplied
Request is not authenticated or is not allowed for this user.
not found