Skip to main content
GET
/
customer
/
{customerId}
/
tracking
/
live
/
latest
/
geojson
Latest Live Position GeoJSON
curl --request GET \
  --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/tracking/live/latest/geojson \
  --header 'Authorization: Bearer <token>'
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": "<array>"
      },
      "properties": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

Query Parameters

vehicleIds
string[]

Id(s) of the vehicle used for filtering the vehicle live position response.

groupIds
string[]

Id(s) of the group used for filtering the live position response.

driverIds
string[]

Id(s) of the driver used for filtering the live position response.

fromDateTime
string<date-time>

Start date used for filtering.
Date must be less than one day ago.

showAllVehicleStatus
boolean
default:false

Show status of all vehicles, default = FALSE.

locale
string

Locale used for language.

hideSpeedIfSpeedSensitive
boolean
default:false

Hide speed from results if results are speed sensitive, default = FALSE.

Response

Latest tracking inputs in GeoJSON format

GeoJSON FeatureCollection object

type
enum<string>
required

GeoJSON object type

Available options:
FeatureCollection
features
object[]
required

Array of GeoJSON Feature objects