This API is used to get the trip statistics within the specified time range.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "dates": {
- "data": [
- {
- "total_trips": 0,
- "total_distance": 0,
- "total_idling": 0,
- "total_time": 0
}
]
}
}
}
This API can be used to get the fleet driving statistics within the specified time range.
For example:
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "avg_distance_per_driver_day": 0,
- "avg_idling_per_driver_day": 0,
- "avg_time_per_driver_day": 0,
- "avg_trips_per_driver_day": 0
}
}
This API can be used to get the fleet driving statistics within the specified time range.
For example:
OK
{- "data": [
- {
- "appear_days": 0,
- "avg_distance": 0,
- "avg_idling": 0,
- "avg_time": 0,
- "avg_trips": 0,
- "driver_avatar": "string",
- "driver_id": 0,
- "driver_name": "string",
- "total_distance": 0,
- "total_idling": 0,
- "total_time": 0,
- "total_trips": 0
}
]
}
This API is to get the trip list with parameters, trip status, start/end time. Mileage
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "cid": "string",
- "clicked_count": 0,
- "device_name": "string",
- "driver": "string",
- "driver_avatar": "string",
- "driver_id": 0,
- "driver_name": "string",
- "driver_status": 0,
- "duration": 0,
- "end_timestamp": 0,
- "events": 0,
- "excluded_events": 0,
- "id": 0,
- "is_new": true,
- "mileage": 0,
- "start_timestamp": 0,
- "status": "string"
}
]
}
This API is to get the trip detail with trip ID, including:
driver name, driver avatar, device name, driver ID, trip start and end timestamp, total events in the trip, mileage, last recorded GPS information
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "cid": "string",
- "device_name": "string",
- "driver_name": "string",
- "driver_avatar": "string",
- "driver_id": 0,
- "driver_status": 0,
- "end_timestamp": 0,
- "events": [
- {
- "cid": "string",
- "event_tag": 0,
- "expired": true,
- "expiry": 0,
- "geofence_name": "string",
- "id": 0,
- "lat": 0,
- "level": 0,
- "lng": 0,
- "recording_id": 0,
- "severity_level": 0,
- "snapshots": [
- {
- "capture_mode": "string",
- "ticket": "string",
- "url": "string"
}
], - "ticket": "string",
- "timestamp": 0,
- "total_Photo": 0,
- "total_Photo_Msg": 0,
- "type": 1,
- "type_name": "string"
}
], - "gps": [
- {
- "gps": {
- "alt": 0,
- "speed": 0,
- "direction": 0
}, - "lat": 0,
- "lng": 0,
- "timestamp": 0
}
], - "has_event_detail_count": 0,
- "last_gps_record": {
- "gps": {
- "alt": 0,
- "speed": 0,
- "direction": 0
}, - "lat": 0,
- "lng": 0,
- "timestamp": 0
}, - "mileage": 0,
- "start_timestamp": 0
}