POST api/mobile/driverscore
Get driver scores
Request Information
URI Parameters
None.
Body Parameters
The DriverScoreRequest
DriverScoreRequestModelName | 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 scores 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 being queried |
ScoreType |
None. |
ScorePeriod |
The period of score being queried |
ScorePeriod |
None. |
Request Formats
application/json, text/json
{ "Token": "sample string 1", "DriverId": 2, "StartDate": "2025-04-27T15:37:58.9196902+00:00", "EndDate": "2025-04-27T15:37:58.9196902+00:00", "ScoreType": 0, "ScorePeriod": 0 }
application/xml, text/xml
<DriverScoreRequestModel 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:37:58.9196902+00:00</StartDate> <EndDate>2025-04-27T15:37:58.9196902+00:00</EndDate> <ScoreType>fuel</ScoreType> <ScorePeriod>journey</ScorePeriod> </DriverScoreRequestModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
A list of DriverScoreResponseModel
Collection of DriverScoreResponseModelName | Description | Type | Additional information |
---|---|---|---|
DriverId |
The driver id of the score |
unsigned integer |
None. |
StartDate |
The start date of the score |
date |
None. |
EndDate |
The end date of the score |
date |
None. |
ScoreType |
The type of score |
ScoreType |
None. |
ScorePeriod |
The period of score |
ScorePeriod |
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. |
Distance |
The distance for the score |
unsigned integer |
None. |
Duration |
The duration for the score |
unsigned integer |
None. |
Response Formats
application/json, text/json
Sample not available.