POST api/mobile/driverjourney
Get driver journeys
Request Information
URI Parameters
None.
Body Parameters
The DriverJourneyRequestModel
DriverJourneyRequestModel| Name | 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
{
"Token": "sample string 1",
"DriverId": 2,
"StartDate": "2025-12-14T06:12:22.2978218+00:00",
"EndDate": "2025-12-14T06:12:22.2978218+00:00",
"ScoreType": 0
}
application/xml, text/xml
<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-12-14T06:12:22.2978218+00:00</StartDate> <EndDate>2025-12-14T06:12:22.2978218+00:00</EndDate> <ScoreType>fuel</ScoreType> </DriverJourneyRequestModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
A list of DriverJourneyResponseModel
Collection of DriverJourneyResponseModel| Name | 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 |
DriverJourneyLocation |
None. |
| EndLocation |
The end location |
DriverJourneyLocation |
None. |
| ServiceId |
The service id of the vehicle which did the journey |
unsigned integer |
None. |
| Distance |
The journey distance in meters |
integer |
None. |
| Duration |
The journey duration in seconds |
integer |
None. |
| VehicleRegistration |
The vehicle reg which did the journey |
string |
None. |
| Timezone |
The timezone the journey ended in |
string |
None. |
| IsPrivateMiles |
If the journey is private mileage or not |
boolean |
None. |
| Notes |
The notes for a journey |
string |
None. |
Response Formats
application/json, text/json
Sample not available.