Add

A beacon is a small, electronic device based on Bluetooth Low Energy® which broadcasts advertising packets. These signals can be received by any smartphone.

The beacon can be placed in a vehicle to simplify its identification.

If the driver has an application including the DriveKit SDK, the trip recording will start automatically when entering in the beacon signal emission range.

The trip will be assigned to the vehicle as well as the analytics computed by the DriveQuant services.

In order to identify a vehicle, it is necessary to perform a software pairing between the beacon and the vehicle via the API described below.

If you have your admin API key, you can try the API via this link.

Beacon declaration

PUT https://service.drivequant.com/v3/drivekit/admin/vehicles/{vehicleId}/beacon/add

Pair a beacon to a vehicule using the vehicle unique identifier and beacon parameters.

Path Parameters

Name
Type
Description

vehicleId

string

Vehicle unique identifier

Headers

Name
Type
Description

DriveKit-Admin-API-Key

string

Admin API Key

Request Body

Name
Type
Description

major

integer

Major

minor

integer

Minor

proximityUuid

string

Proximity UUID

uniqueId

string

Beacon unique identifier

success

Example of JSON body request

{
  "major": 1010,
  "minor": 234,
  "proximityUuid": "735bbc80-b5c4-11e3-9a9f-0cf36e3bc034",
  "uniqueId": "aQeF"
}

Last updated