Skip to main content
GET
/
customer
/
{customerId}
/
speeding
/
detail
/
driver
Driver Speeding Detail
curl --request GET \
  --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/speeding/detail/driver \
  --header 'Authorization: Bearer <token>'
{
  "totalPages": 123,
  "totalCount": 123,
  "items": [
    {
      "startTime": "2023-11-07T05:31:56Z",
      "maxSpeedTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z",
      "assetId": "<string>",
      "driverId": "<string>",
      "driverName": "<string>",
      "assetRegistration": "<string>",
      "assetName": "<string>",
      "startAddress": "<string>",
      "endAddress": "<string>",
      "duration": 123,
      "distanceKms": 123,
      "groupName": "<string>",
      "averageSpeed": 123,
      "maxSpeed": 123,
      "maxPercentageOver": 123,
      "maxSpeedAddress": "<string>",
      "maxSpeedCoordinates": {
        "longitude": 123,
        "latitude": 123
      },
      "startCoordinates": {
        "longitude": 123,
        "latitude": 123
      },
      "endCoordinates": {
        "longitude": 123,
        "latitude": 123
      },
      "speedingPointCount": 123,
      "assetSpeedLimitKph": 123,
      "roadSpeedLimitKph": 123,
      "maxSpeedDistanceKm": 123,
      "startLocation": "<string>",
      "endLocation": "<string>",
      "maxSpeedLocation": "<string>",
      "startLocationId": "<string>",
      "endLocationId": "<string>",
      "maxSpeedLocationId": "<string>"
    }
  ]
}

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

driverId
string

Identifier of a driver.
Must be provided if a value for groupId is not provided.

groupId
string

Identifier of a group.
Must be provided if a value for driverId is not provided.

startDate
string<date-time>
required

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

endDate
string<date-time>
required

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

excludeChildGroups
boolean
default:false

Specifies if speeding episodes for drivers in child groups should be excluded and not included in the response.
This parameter can be used to overcome asset day limits being exceeded.
If not specified, then will default to a false, so speeding episodes for drivers in child groups are included.

pageIndex
integer
default:0

Specifies the pagination page index.
Pages are zero indexed, i.e.
the first page has an index value of zero.
If not specified, then will default to a pageIndex of 0.

Required range: x >= 0
pageSize
integer
default:50

Specifies the number of items to include on a page.
Must be specified if pageIndex has been specified.
If not specified, then will default to a pageSize of 50.
Maximum pageSize is 100.

Required range: 1 <= x <= 100

Response

Speeding episode details successfully returned with pagination

Paginated response containing speeding episode results

totalPages
integer

Total number of pages based on the pageSize.

totalCount
integer

Total number of speeding episodes that matched the search parameters.

items
object[]

Array of speeding episodes.