Retrieve all grouped nodes for a single vehicle
GET/api/v2/vehicle/:vehicle_id/nodes_grouped
Returns all nodes assigned to a vehicle in sequence.
- Grouped by
node.scheduled_ts. Ifproject.settings.node_grouping_thresholdis greater than 0, the difference betweenscheduled_tsshould be less thannode_grouping_threshold.- For example, if the
scheduled_tsof node A is at 7:00, thescheduled_tsof node B is at 07:05, andproject.settings.node_grouping_thresholdis 5 minutes, both nodes will be grouped. - If
project.settings.node_grouping_thresholdis less than 5 minutes, the nodes are not grouped.
- For example, if the
- Group nodes by
node.latandnode.lon. - Within a node group:
- All pickups are always on top.
- Then, nodes are sorted by
node.assignment_order.
- A redelivery node is always at the bottom of the list group.
- The node grouping logic is similar to the 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