Trip Events
Action: "get_trip_events"
Use this API to fetch trip events
Versions - version #2 supported driver information for each event
Request Parameters:
Parameter Name | Type | Mandatory/Optional/Conditional | Description |
---|---|---|---|
drive_id | bigint | Mandatory | Traffilog unique drive id. Drive id can be fetched using the ‘Vehicle Trips’ API |
version | int | Optional | version id ,default value if not provided is ‘1’ |
Request Example:
{
"action": {
"name": "get\_trip\_events",
"parameters": \[{
"drive\_id": "<<trip\_id>>",
"version": "<<version>>"
}\],
"session\_token": "<<session\_token>>"
}
}
Response Parameters: