Offline History
Get Historical Data Of Offline Gps For Specified Vehicle (Vehicle ID/License Plate/IMEI) And Date Range
Query Parameters
id string required
Vehicle ID/License Plate/IMEI
startDate date required
Format Date (2000-12-31
) in UTC+07 Timezone
endDate date required
Format Date (2000-12-31
) in UTC+07 Timezone
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Example
Schema
- Array [
- ]
message string required
data object[]
vehicleType string required
licensePlate string required
startTime any required
startLocation string required
startLatitude number required
startLongitude number required
stopTime any required
stopLocation string required
stopLatitude number required
stopLongitude number required
offlineDuration number required
driver string required
startActivity string required
stopActivity string required
{
"message": "string",
"data": [
{
"vehicleType": "string",
"licensePlate": "string",
"startLocation": "string",
"startLatitude": 0,
"startLongitude": 0,
"stopLocation": "string",
"stopLatitude": 0,
"stopLongitude": 0,
"offlineDuration": 0,
"driver": "string",
"startActivity": "string",
"stopActivity": "string"
}
]
}
{
"message": "Success",
"data": [
{
"vehicleType": "",
"licensePlate": "L 123 TES",
"startTime": "2021-02-06T06:20:59.000Z",
"startLocation": null,
"startLatitude": -7.2688883,
"startLongitude": 112.7502666,
"stopTime": "2021-02-06T07:20:08.000Z",
"stopLocation": null,
"stopLatitude": -7.2688883,
"stopLongitude": 112.7502666,
"offlineDuration": 1234,
"driver": "John Doe",
"startActivity": "",
"stopActivity": ""
}
]
}
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...