x-api-key: ********************{
"acctId": "string",
"devId": "string",
"startDate": "stringst",
"endDate": "stringst",
"isDriverDetailsRequired": false,
"isTripScoreRequired": false
}curl --location --request POST '/trips/history' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"acctId": "string",
"devId": "string",
"startDate": "stringst",
"endDate": "stringst",
"isDriverDetailsRequired": false,
"isTripScoreRequired": false
}'{
"trips": [
{
"fuelWear": "string",
"devId": "string",
"startTime": "string",
"endTime": "string",
"tripMileage": "string",
"startLocation": "string",
"endLocation": "string",
"startAddress": "string",
"endAddress": "string",
"vehicle": "string",
"drivers": [
"string"
],
"tripScore": "string"
}
]
}