Vehicle Status Detail
Get Specific Vehicle Status Data By Vehicle ID/License Plate/IMEI
Path Parameters
id string required
Vehicle ID/License Plate/IMEI
Query Parameters
withAddress boolean
To get vehicle's current location
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Without Fuel/Temperature Sensor
With Fuel/Temperature Sensor
With Driver1
Schema
message string required
data object
vehicleId number required
companyId number required
companyName string required
driverId number required
tripDriverId number required
lastPacket date-time required
lastReceive date-time required
lastMotion date-time required
lastStatusChg date-time required
driverChangeOn date-time required
latitude number required
longitude number required
altitude number required
temperature number[] required
fuel number[] required
fuelFiltered number required
fuelCapacity number required
sumFuel number required
tripFuel number required
sumDistance number required
tripDistance number required
sumDrivetime number required
tripDrivetime number required
sumDrivetimeFormatted string required
tripDrivetimeFormatted string required
speed number required
calculatedSpeed number required
direction number required
signalStrength number required
battery number required
harshBrakes number required
harshAccels number required
sharpTurns number required
overspeeds number required
fenceCtr number required
door1Status number required
door2Status number required
refrigeratorStatus number required
tripMaxspeed number required
lastDoor1Data date-time required
lastDoor1Alert date-time required
lastDoor2Alert date-time required
lastSpeedAlert date-time required
lastSummary date-time required
tripstartOn date-time required
tripstartLong number required
tripstartLat number required
motionStatus string required
calculatedMotionStatus string required
licensePlate string required
hullNo string required
engineOn boolean required
batteryAlarmSet boolean required
gsmAlarmSet boolean required
imei string required
vehicleGroups string[] required
requestedDate string required
driver1 Driver required
{
"message": "string",
"data": {
"vehicleId": 0,
"companyId": 0,
"companyName": "string",
"driverId": 0,
"tripDriverId": 0,
"lastPacket": "2024-10-25T02:47:31.546Z",
"lastReceive": "2024-10-25T02:47:31.546Z",
"lastMotion": "2024-10-25T02:47:31.546Z",
"lastStatusChg": "2024-10-25T02:47:31.546Z",
"driverChangeOn": "2024-10-25T02:47:31.546Z",
"latitude": 0,
"longitude": 0,
"altitude": 0,
"fuelFiltered": 0,
"fuelCapacity": 0,
"sumFuel": 0,
"tripFuel": 0,
"sumDistance": 0,
"tripDistance": 0,
"sumDrivetime": 0,
"tripDrivetime": 0,
"sumDrivetimeFormatted": "string",
"tripDrivetimeFormatted": "string",
"speed": 0,
"calculatedSpeed": 0,
"direction": 0,
"signalStrength": 0,
"battery": 0,
"harshBrakes": 0,
"harshAccels": 0,
"sharpTurns": 0,
"overspeeds": 0,
"fenceCtr": 0,
"door1Status": 0,
"door2Status": 0,
"refrigeratorStatus": 0,
"tripMaxspeed": 0,
"lastDoor1Data": "2024-10-25T02:47:31.546Z",
"lastDoor1Alert": "2024-10-25T02:47:31.546Z",
"lastDoor2Alert": "2024-10-25T02:47:31.546Z",
"lastSpeedAlert": "2024-10-25T02:47:31.546Z",
"lastSummary": "2024-10-25T02:47:31.546Z",
"tripstartOn": "2024-10-25T02:47:31.546Z",
"tripstartLong": 0,
"tripstartLat": 0,
"motionStatus": "string",
"calculatedMotionStatus": "string",
"licensePlate": "string",
"hullNo": "string",
"engineOn": true,
"batteryAlarmSet": true,
"gsmAlarmSet": true,
"imei": "string",
"requestedDate": "string"
}
}
{
"message": "Success",
"data": {
"vehicleId": 123,
"companyId": 1,
"companyName": "Test Company",
"driverId": 1,
"tripDriverId": 1,
"lastPacket": "2023-04-14T09:11:17.000Z",
"lastReceive": "2023-04-14T09:11:24.000Z",
"lastMotion": "2023-04-14T09:09:15.000Z",
"lastStatusChg": "2023-04-14T09:09:15.000Z",
"driverChangeOn": "2022-11-24T07:10:17.000Z",
"latitude": -7.2688883,
"longitude": 112.7502666,
"altitude": 0,
"fuelFiltered": 0,
"fuelCapacity": 200,
"sumFuel": 0,
"tripFuel": 0,
"sumDistance": 0.07,
"tripDistance": 0,
"sumDrivetime": 283,
"tripDrivetime": 0,
"sumDrivetimeFormatted": "00:04:43",
"tripDrivetimeFormatted": "00:00:00",
"speed": 8,
"calculatedSpeed": 8,
"direction": 328,
"signalStrength": 5,
"battery": 0,
"harshBrakes": 0,
"harshAccels": 0,
"sharpTurns": 0,
"overspeeds": 0,
"fenceCtr": 2,
"door1Status": 0,
"door2Status": 1,
"refrigeratorStatus": 0,
"tripMaxspeed": 8,
"lastDoor1Data": "2022-08-29T08:49:29.000Z",
"lastDoor1Alert": "2023-04-14T07:12:00.000Z",
"lastDoor2Alert": "2022-08-29T08:49:29.000Z",
"lastSpeedAlert": "2023-01-26T11:59:21.000Z",
"lastSummary": "2022-08-14T08:49:29.000Z",
"tripstartOn": "2023-04-14T09:09:15.000Z",
"tripstartLong": 112.7502666,
"tripstartLat": -7.2688883,
"motionStatus": "M",
"calculatedMotionStatus": "M",
"licensePlate": "L 123 TES",
"hullNo": null,
"engineOn": true,
"batteryAlarmSet": true,
"gsmAlarmSet": false,
"address": "",
"vehicleGroups": [
"Group 1",
"Group 2"
],
"requestedDate": "2023-04-25T00:11:24.000Z",
"temperature": null,
"fuel": null,
"driver1": null
}
}
{
"message": "Success",
"data": {
"vehicleId": 123,
"companyId": 1,
"companyName": "Test Company",
"driverId": 1,
"tripDriverId": 1,
"lastPacket": "2023-04-14T09:11:17.000Z",
"lastReceive": "2023-04-14T09:11:24.000Z",
"lastMotion": "2023-04-14T09:09:15.000Z",
"lastStatusChg": "2023-04-14T09:09:15.000Z",
"driverChangeOn": "2022-11-24T07:10:17.000Z",
"latitude": -7.2688883,
"longitude": 112.7502666,
"altitude": 0,
"fuelFiltered": 0,
"fuelCapacity": 200,
"sumFuel": 0,
"tripFuel": 0,
"sumDistance": 0.07,
"tripDistance": 0,
"sumDrivetime": 283,
"tripDrivetime": 0,
"sumDrivetimeFormatted": "00:04:43",
"tripDrivetimeFormatted": "00:00:00",
"speed": 8,
"calculatedSpeed": 8,
"direction": 328,
"signalStrength": 5,
"battery": 0,
"harshBrakes": 0,
"harshAccels": 0,
"sharpTurns": 0,
"overspeeds": 0,
"fenceCtr": 2,
"door1Status": 0,
"door2Status": 1,
"refrigeratorStatus": 0,
"tripMaxspeed": 8,
"lastDoor1Data": "2022-08-29T08:49:29.000Z",
"lastDoor1Alert": "2023-04-14T07:12:00.000Z",
"lastDoor2Alert": "2022-08-29T08:49:29.000Z",
"lastSpeedAlert": "2023-01-26T11:59:21.000Z",
"lastSummary": "2022-08-14T08:49:29.000Z",
"tripstartOn": "2023-04-14T09:09:15.000Z",
"tripstartLong": 112.7502666,
"tripstartLat": -7.2688883,
"motionStatus": "M",
"calculatedMotionStatus": "M",
"licensePlate": "L 123 TES",
"hullNo": null,
"engineOn": true,
"batteryAlarmSet": true,
"gsmAlarmSet": false,
"address": "",
"vehicleGroups": [
"Group 1",
"Group 2"
],
"requestedDate": "2023-04-25T00:11:24.000Z",
"temperature": [
0,
null,
null
],
"fuel": [
0,
null,
1
],
"driver1": null
}
}
{
"message": "Success",
"data": {
"vehicleId": 123,
"companyId": 1,
"companyName": "Test Company",
"driverId": 1,
"tripDriverId": 1,
"lastPacket": "2023-04-14T09:11:17.000Z",
"lastReceive": "2023-04-14T09:11:24.000Z",
"lastMotion": "2023-04-14T09:09:15.000Z",
"lastStatusChg": "2023-04-14T09:09:15.000Z",
"driverChangeOn": "2022-11-24T07:10:17.000Z",
"latitude": -7.2688883,
"longitude": 112.7502666,
"altitude": 0,
"fuelFiltered": 0,
"fuelCapacity": 200,
"sumFuel": 0,
"tripFuel": 0,
"sumDistance": 0.07,
"tripDistance": 0,
"sumDrivetime": 283,
"tripDrivetime": 0,
"sumDrivetimeFormatted": "00:04:43",
"tripDrivetimeFormatted": "00:00:00",
"speed": 8,
"calculatedSpeed": 8,
"direction": 328,
"signalStrength": 5,
"battery": 0,
"harshBrakes": 0,
"harshAccels": 0,
"sharpTurns": 0,
"overspeeds": 0,
"fenceCtr": 2,
"door1Status": 0,
"door2Status": 1,
"refrigeratorStatus": 0,
"tripMaxspeed": 8,
"lastDoor1Data": "2022-08-29T08:49:29.000Z",
"lastDoor1Alert": "2023-04-14T07:12:00.000Z",
"lastDoor2Alert": "2022-08-29T08:49:29.000Z",
"lastSpeedAlert": "2023-01-26T11:59:21.000Z",
"lastSummary": "2022-08-14T08:49:29.000Z",
"tripstartOn": "2023-04-14T09:09:15.000Z",
"tripstartLong": 112.7502666,
"tripstartLat": -7.2688883,
"motionStatus": "M",
"calculatedMotionStatus": "M",
"licensePlate": "L 123 TES",
"hullNo": null,
"engineOn": true,
"batteryAlarmSet": true,
"gsmAlarmSet": false,
"address": "",
"vehicleGroups": [
"Group 1",
"Group 2"
],
"requestedDate": "2023-04-25T00:11:24.000Z",
"temperature": null,
"fuel": null,
"driver1": {
"fullname": "Joko"
}
}
}
Bad Request
application/json
Schema
Example (from schema)
Expired Token
Bad Token
Schema
code string
message string
detail string
{
"code": "string",
"message": "string",
"detail": "string"
}
{
"code": "E-V1/1-03",
"message": "An error occurred while executing query",
"detail": "Context creation failed: jwt expired"
}
{
"code": "E-V1/1-03",
"message": "An error occurred while executing query",
"detail": "Context creation failed: jwt malformed"
}
Unauthorized Request
application/json
Schema
Example (from schema)
Example
Schema
code string
message string
{
"code": "string",
"message": "string"
}
{
"code": "E-G1/1-01",
"message": "Authentication token is required"
}
Loading...