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"
}
}
}
Field | Description | ||||||||||||||||||||
id |
The ID of the vehicle.
|
||||||||||||||||||||
kind |
The kind of the vehicle: A - Asset ; V - Vehicle
|
||||||||||||||||||||
hasLock |
Informs if the vehicle has a ELB device.
|
||||||||||||||||||||
isLocked |
Informs if the ELB is currently locked.
|
||||||||||||||||||||
masterPin |
The master PIN.
|
||||||||||||||||||||
driverPin |
The driver PIN.
|
||||||||||||||||||||
elbNotes |
Text with the notes about the ELB.
|
||||||||||||||||||||
elbEvents |
A set of ELB events. The fields of each event follows bellow.
|
||||||||||||||||||||
elbEvents[i].id |
Th ID of the event.
|
||||||||||||||||||||
elbEvents[i].vehicleId |
The ID of the vehicle where the ELB is installed.
|
||||||||||||||||||||
elbEvents[i].timestamp |
The timestamp of the moment when the event occurred.
|
||||||||||||||||||||
elbEvents[i].command |
The command related with the event. The following commands are available:
|
||||||||||||||||||||
elbEvents[i].sentBy |
DESC
|
||||||||||||||||||||
elbEvents[i].response |
The response of the device to the command. The following responses are possible:
|
Response HTTP Codes
200 - OK
403 - Forbidden
- If the user doesn't have permission to manage the lock system