Try the API live
Pick an action below, fill in its parameters, and send a real request to https://private.stage.questar.io/v2/private-questar-units/api. Your token stays in your browser.
Vehicles
5 actionsapi_get_dataReturns the master vehicle list (last position, last event, driver, mileage, etc.) with optional filters.
get_command_tokenMints a short-lived command token (object_key) used by downstream services to issue remote commands to one or more vehicles.
get_module_state_apiReturns per-module health/state for a single vehicle (capability, active, ok flags, last update, error info) with SP-compatible colour hints.
get_unit_general_infoReturns one row of general info for a single vehicle/unit — identity, client & group, manufacturer/model, latest state, and service/config fields.
send_unit_command_techSends a technician/remote command to a single vehicle's unit. Write action — returns one row echoing the command status.
Trips
3 actionsget_vehicle_trips_extendedReturns enriched trip rows (fuel, idle, DOA, safety, geocoded start/end) for one or more vehicles or a driver.
get_trip_locationsReturns the breadcrumb locations (lat/lon, speed, mileage, status) for a single trip / drive.
get_vehicle_tripsReturns a basic trip list (start/end time, distance, geocoded start/end) for a vehicle or driver.
Events
4 actionsget_trip_eventsReturns events that occurred during a single trip (drive_id), with V3-compatible duration logic.
get_eventsReturns vehicle events filtered by category, severity, license/vehicle/chassis and last_time.
get_incremental_eventsStreaming-style endpoint: returns events with an id strictly greater than `last_event_id`, optionally filtered.
get_dtc_eventsReturns Diagnostic Trouble Code (DTC) events for a list of vehicles, groups or licenses over a window of up to 72 hours.
Parameters
2 actionsGeo
3 actionsapi_get_layersReturns user-defined geofence layers, paginated (200 first page, 50 thereafter) and optionally filtered by name.
api_get_geometryReturns geofence geometries (Circle/Polyline/Polygon) with optional filters and pagination.
get_geo_service_centerReturns when the caller's vehicles arrived at and left their service centre areas: one row per arrival and one per departure, not one per sample.
Admin/Lookup
5 actionsget_user_driversReturns drivers that the authenticated user is allowed to see, optionally filtered by driver or group id.
api_get_groupsReturns groups visible to the user; supports v1 (flat) and v2 (paged with object_id and action filter).
set_vehicles_services_dateBulk-updates the service-date window (`start_service` / `end_service`) for up to 200 vehicles in one call. Write action — returns an empty `data` array on success.
get_user_drivers_repReturns the authenticated user's driver roster in the report ('rep') shape — the same drivers as get_user_drivers plus reporting fields. Paginated.
set_vehicles_groupBulk-reassigns vehicles to a target group. Write action — returns an empty data array on success.