OPEN API
  1. Vehicle Locations
OPEN API
  • Organization Info
    • Get information about your organization
      GET
  • Drivers
    • List all drivers
      GET
    • Retrieve a driver
      GET
  • Hours Of Service
    • Get HOS clocks
      GET
    • Get all driver HOS daily logs
      GET
    • Get HOS logs
      GET
  • Vehicles
    • List all vehicles
      GET
    • Retrieve a vehicle
      GET
  • Vehicle Locations
    • Historical Vehicle Locations
      GET
    • Latest Vehicle Locations
      GET
  • Trips
    • Get Vehicle Trips
      GET
  • Vehicle Stats
    • Vehicle Stats snapshot
      GET
  • Maintenance
    • Get all DVIRs
      GET
  • IFTA
    • Get IFTA jurisdiction reports
      GET
  • Webhook
    • Sample Webhook request for specific trigger
      GET
    • Subscribe to specific immediately events
      POST
    • Available list of Triggers
      GET
    • Unsubscribe form events
      POST
  1. Vehicle Locations

Latest Vehicle Locations

GET
http://127.0.0.1:8001/openapi/vehicles/locations/
Vehicle Locations
Latest Vehicle Locations

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
page
integer 
optional
A page number within the paginated result set.
page_size
integer 
optional
Number of results to return per page.
vehicleIds
array[string]
optional
driverIds
array[string]
optional

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:8001/openapi/vehicles/locations/'

Responses

🟢200OK
application/json
Body
count
integer 
optional
Example:
10
page_size
integer 
optional
Example:
123
previous
integer  | null 
optional
Example:
null
current
integer 
optional
Example:
1
next
integer  | null 
optional
Example:
2
results
array[object (VehicleLocationResponse) {8}] 
optional
driver
string  | null 
required
Driver ID
vehicle
string 
required
Vehicle ID
locatedAt
string <date-time> | null 
required
Vehicle located at
location
object 
read-onlyrequired
address
string  | null 
required
Vehicle Address
heading
number <double> | null 
required
Vehicle heading from 0 to 360
>= 0<= 360
speed
integer  | null 
read-onlyrequired
Vehicle speed in kilometers per hour
odometer
number <double> | null 
required
Vehicle odometer in kilometers
Example
{
  "count": 10,
  "page_size": 123,
  "previous": null,
  "current": 1,
  "next": 2,
  "results": [
    {
      "driver": "string",
      "vehicle": "string",
      "locatedAt": "2019-08-24T14:15:22Z",
      "location": {
        "latitude": 0,
        "longitude": 0
      },
      "address": "string",
      "heading": 0,
      "speed": 0,
      "odometer": 0
    }
  ]
}
Previous
Historical Vehicle Locations
Next
Get Vehicle Trips
Built with