メインコンテンツまでスキップ

Vehicle state reponse from the analytics system

objects object[]

List of vehicles with thier state

  • Array [
  • log_datestring
    project_idinteger

    Project vehicle belongs to

    vehicle_idinteger

    Current vehicle ID

    agent_idstring<uuid>

    Current vehicle agent UID

    simulation_idinteger

    Simulation ID this vehicle belongs to

    capacityinteger

    Total capacity of

    last_assignment_tsstring<date-time>

    Timstamp of the last vehicle assingment

    should_reach_fornull
    should_reach_atnull
    statusstring

    Current vehilce state, for example, idle

    current_sim_tsstring

    Teimstamp of the simulation the vehicle belongs to

    latnumber

    Current latitude of the vehicle

    lonnumber

    Current longtitude fo the vehicle

    speednumber

    Current vehicle speed

    bearingnumber

    Current vehicl

    current_routestring
    assigned_nodes object[]

    List of nodes that are assigned to the vehicle

  • Array [
  • idinteger

    Node ID

    latnumber

    Latitude of the node

    lonnumber

    Longtitude of the

    scheduled_tsstring

    Planned arrival time to the node

    estimated_scheduled_tsstring,null<date-time>nullable

    Estimated arrival time to the node

  • ]
  • completed_nodesobject[]

    List of the nodes the bvehicle has already completed

    next_waypoint_nodestring

    Next waypoint scheuled for the vehicle

    total_mileageinteger

    Total distance travlled by the vehicle (for a trip)

    current_route_polylinestring

    Encoded polyline representing current vehicle route (6-bit encoded)

    in_usestring

    Indicated if the vehicle can be used for optimization

    pathstring

    Planned path for the vehicle (polyline)

  • ]
  • limitinteger | nullnullable

    Number of results in the current results

    nextstring,null<uri-reference>nullable

    URL to retrieve next page with data

    offsetinteger

    Offset in the requested collection from which the current results start.

    previousstring | nullnullable

    URI of the previous page

    total_countinteger

    Total number of items in the collection

    has_moreboolean | nullnullable

    true if there are more pages left to retrieve, otherwise false

    query_slugstring | nullnullable

    Indicates if the reponse used custom data query slug

    database_usedstring | nullnullable
    Vehicle state reponse from the analytics system
    {
    "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"
    }