Returns ELB information for vehicle

/v2/vehicles//elbInfoAndEvents

Finds the list of ELB events related with a vehicle.

Parameters

id

The ID of the vehicle for which we want to get the list of the ELB events.

Response

Note:
The fields presented bellow are the ones that are curently being used by this endpoint.

{
  "id": 0,
  "kind": "string",
  "hasLock": true,
  "isLocked": true,
  "masterPin": "string",
  "driverPin": "string",
  "elbNotes": "string",
  "elbEvents": [
    {
      "id": 0,
      "vehicleId": 0,
      "timestamp": "2024-07-11T13:45:03.799Z",
      "command": "setMasterPin",
      "sentBy": "string",
      "response": "masterPinUpdated"
    }			
  }
}

FieldDescription
id The ID of the vehicle. integer
kind The kind of the vehicle: A - Asset ; V - Vehicle char
hasLock Informs if the vehicle has a ELB device. bool
isLocked Informs if the ELB is currently locked. bool
masterPin The master PIN.
driverPin The driver PIN. string
elbNotes Text with the notes about the ELB. string
elbEvents A set of ELB events. The fields of each event follows bellow. array of objects
elbEvents[i].id Th ID of the event. integer
elbEvents[i].vehicleId The ID of the vehicle where the ELB is installed. integer
elbEvents[i].timestamp The timestamp of the moment when the event occurred. datetime
elbEvents[i].command The command related with the event.
The following commands are available:

IDCommand
1setMasterPin
2setDriverPin
3unlockRemotely

enum/string
elbEvents[i].sentBy DESC string
elbEvents[i].response The response of the device to the command.
The following responses are possible:

IDResponse
1masterPinUpdated
2problemsSettingMasterPin
3driverPinUpdated
4problemsSettingDriverPin
5systemLocked
6unlockedByMasterPin
7unlockedByDriverPin
8unlockedRemotely
9unlocked

enum/string

Response HTTP Codes

200 - OK

403 - Forbidden

  • If the user doesn't have permission to manage the lock system