POST api/mobile/driverjourney
Get driver journeys
Request Information
URI Parameters
None.
Body Parameters
The DriverJourneyRequestModel
DriverJourneyRequestModelName | Description | Type | Additional information |
---|---|---|---|
Token |
The token returned after login used for authentication |
string |
None. |
DriverId |
The driver id returned after login used for authentication, this drivers journeys will be queried |
unsigned integer |
None. |
StartDate |
The start date being queried |
date |
None. |
EndDate |
The end date being queried |
date |
None. |
ScoreType |
The type of score you want returning for the journey |
ScoreType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "DriverId": 2, "StartDate": "2025-04-27T15:48:20.8765442+00:00", "EndDate": "2025-04-27T15:48:20.8765442+00:00", "ScoreType": 0 }
application/xml, text/xml
Sample:
<DriverJourneyRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Token>sample string 1</Token> <DriverId>2</DriverId> <StartDate>2025-04-27T15:48:20.8765442+00:00</StartDate> <EndDate>2025-04-27T15:48:20.8765442+00:00</EndDate> <ScoreType>fuel</ScoreType> </DriverJourneyRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A list of DriverJourneyResponseModel
Collection of DriverJourneyResponseModelName | Description | Type | Additional information |
---|---|---|---|
DriverId | unsigned integer |
None. |
|
StartDate |
The start date of the journey |
date |
None. |
EndDate |
The end date of the journey |
date |
None. |
ScoreType |
The type of score |
ScoreType |
None. |
AccelerationScore |
The acceleration score |
unsigned integer |
None. |
DecelerationScore |
The deceleration score |
unsigned integer |
None. |
IdlingScore |
The idling score |
unsigned integer |
None. |
NightTimeScore |
The night time score |
unsigned integer |
None. |
SpeedScore |
The speed score |
unsigned integer |
None. |
UrbanScore |
The urban score |
unsigned integer |
None. |
OverallScore |
The overall score |
unsigned integer |
None. |
StartLocation |
The start location |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.