GET api/v4/fleetscore3value?userId={userId}&token={token}&serviceId={serviceId}&from={from}&to={to}
Pull back scores
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
The ID returned from a successful login |
unsigned integer |
Required |
token |
The authentication token returned from a successful login |
string |
Required |
serviceId |
The service id being queried |
unsigned integer |
Required |
from |
The start date being queried yyyyMMddHHmmss |
string |
Required |
to |
The end date being queried yyyyMMddHHmmss |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
FleetScore3ValueResponseName | Description | Type | Additional information |
---|---|---|---|
ServiceId |
The service id of the score |
unsigned integer |
None. |
StartTime |
The score start time |
date |
None. |
EndTime |
The score end time |
date |
None. |
Distance |
The distance traveled in miles |
integer |
None. |
Duration |
The duration driven in seconds |
integer |
None. |
AccelScore |
The acceleration score |
integer |
None. |
DecelScore |
The deceleration score |
integer |
None. |
SpeedScore |
The speed score |
integer |
None. |
TotalScore |
The total score |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ServiceId": 1, "StartTime": "2025-04-27T15:43:06.094141+00:00", "EndTime": "2025-04-27T15:43:06.094141+00:00", "Distance": 4, "Duration": 5, "AccelScore": 6, "DecelScore": 7, "SpeedScore": 8, "TotalScore": 9 }
application/xml, text/xml
Sample:
<FleetScore3ValueResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ServiceId>1</ServiceId> <StartTime>2025-04-27T15:43:06.094141+00:00</StartTime> <EndTime>2025-04-27T15:43:06.094141+00:00</EndTime> <Distance>4</Distance> <Duration>5</Duration> <AccelScore>6</AccelScore> <DecelScore>7</DecelScore> <SpeedScore>8</SpeedScore> <TotalScore>9</TotalScore> </FleetScore3ValueResponse>