Detail Trip History
Get Vehicle's Detail Trip History
Path Parameters
id string required
Vehicle ID/License Plate/IMEI
Query Parameters
speedLimit integer
startDate date-time required
Format ISO (2000-12-31T00:00:00.000Z
) in UTC Timezone
endDate date-time required
Format ISO (2000-12-31T00:00:00.000Z
) in UTC Timezone
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
message string required
data object[]
vehicleId number required
latitude number required
longitude number required
speed number required
sentOn string required
address string required
direction number required
engineOn boolean required
lastPacket date-time required
lastReceive date-time required
motionStatus string required
imei string required
licensePlate string required
driver object
fullName string required
{
"message": "string",
"data": [
{
"vehicleId": 0,
"latitude": 0,
"longitude": 0,
"speed": 0,
"sentOn": "string",
"address": "string",
"direction": 0,
"engineOn": true,
"lastPacket": "2024-10-25T02:47:31.537Z",
"lastReceive": "2024-10-25T02:47:31.537Z",
"motionStatus": "string",
"imei": "string",
"licensePlate": "string",
"driver": {
"fullName": "string"
}
}
]
}
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...