Vehicle state reponse from the analytics system
objects object[]
List of vehicles with thier state
Project vehicle belongs to
Current vehicle ID
Current vehicle agent UID
Simulation ID this vehicle belongs to
Total capacity of
Timstamp of the last vehicle assingment
Current vehilce state, for example, idle
Teimstamp of the simulation the vehicle belongs to
Current latitude of the vehicle
Current longtitude fo the vehicle
Current vehicle speed
Current vehicl
assigned_nodes object[]
List of nodes that are assigned to the vehicle
Node ID
Latitude of the node
Longtitude of the
Planned arrival time to the node
Estimated arrival time to the node
List of the nodes the bvehicle has already completed
Next waypoint scheuled for the vehicle
Total distance travlled by the vehicle (for a trip)
Encoded polyline representing current vehicle route (6-bit encoded)
Indicated if the vehicle can be used for optimization
Planned path for the vehicle (polyline)
Number of results in the current results
URL to retrieve next page with data
Offset in the requested collection from which the current results start.
URI of the previous page
Total number of items in the collection
true if there are more pages left to retrieve, otherwise false
Indicates if the reponse used custom data query slug
{
"objects": [
{
"log_date": "string",
"project_id": 0,
"vehicle_id": 0,
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"simulation_id": 0,
"capacity": 0,
"last_assignment_ts": "2024-07-29T15:51:28.071Z",
"should_reach_for": "null",
"should_reach_at": "null",
"status": "string",
"current_sim_ts": "string",
"lat": 0,
"lon": 0,
"speed": 0,
"bearing": 0,
"current_route": "string",
"assigned_nodes": [
{
"id": 0,
"lat": 0,
"lon": 0,
"scheduled_ts": "string",
"estimated_scheduled_ts": "2024-07-29T15:51:28.071Z"
}
],
"completed_nodes": [
{}
],
"next_waypoint_node": "string",
"total_mileage": 0,
"current_route_polyline": "string",
"in_use": "string",
"path": "string"
}
],
"limit": 0,
"next": "string",
"offset": 0,
"previous": "string",
"total_count": 0,
"has_more": true,
"query_slug": "string",
"database_used": "string"
}