Skip to main content
POST
/
bvfm
/
services
/
public
/
v1
/
customer
/
{customerId}
/
tacho
/
activity
Tacho Activity
curl --request POST \
  --url https://public-api.masternautconnect.com/bvfm/services/public/v1/customer/{customerId}/tacho/activity \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "startTime": "<string>",
  "endTime": "<string>",
  "driverKeys": [
    "<string>"
  ],
  "registrations": [
    "<string>"
  ],
  "dataContent": "live",
  "skip": 123,
  "limit": 123,
  "sort": {
    "driverId": "<string>",
    "driverKey": "<string>",
    "activities.assetId": "<string>",
    "activities.startTime": "<string>",
    "activities.type": "<string>",
    "activities.activity": "<string>",
    "activities.startLatitude": "<string>",
    "activities.startLongitude": "<string>",
    "activities.endTime": "<string>",
    "activities.endLatitude": "<string>",
    "activities.endLongitude": "<string>",
    "activities.vehicleFriendlyName": "<string>",
    "activities.driverCardSlot": "<string>",
    "activities.isStartOfShift": "<string>",
    "activities.isEndOfShift": "<string>"
  }
}
'
{
  "count": 123,
  "data": [
    {
      "driverId": "<string>",
      "driverKey": "<string>",
      "activities": [
        {
          "assetId": "<string>",
          "assetRegistration": "<string>",
          "startTime": "<string>",
          "type": "<string>",
          "activity": "<string>",
          "startLatitude": 123,
          "startLongitude": 123,
          "duration": 123,
          "endTime": "<string>",
          "endLatitude": 123,
          "endLongitude": 123,
          "inProgress": true,
          "flagDDD": true,
          "flagManualEntry": true,
          "vehicleFriendlyName": "<string>",
          "driverCardSlot": 123,
          "isStartOfShift": true,
          "isEndOfShift": true,
          "distance": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization header containing a Bearer token of the form Bearer [token], where [token] is a JWT used to authorize the request

Path Parameters

customerId
string
required

Body

application/json
startTime
string
required

The start date and time for the period, in UTC, in format of YYYY-MM-DDThh:mm:ss

endTime
string
required

The end date and time for the period, in UTC, in format of YYYY-MM-DDThh:mm:ss

driverKeys
string[]

MUST be identical to the full key unique 14 character chars and issue number

registrations
string[]

MUST be identical to the vehicle registration registered with Connect.

dataContent
enum<string>

DEPRECATED

Available options:
live,
DDD
skip
integer

Number of records to be skipped before the beginning of the result set. This acts as an offset from the first record matching the request parameters.

limit
integer

Limit the number of records to return in the response

sort
object

Object contain direction and field path to sort. Sets the sort order to be either ascending (ASC) or descending (DESC)

Response

200 response

count
integer
required

Total number of records found

data
object[]
required

List of drivers