GET apimobileoauth/mobile/mobileservicescore/{serviceIDs}/{groupID}/{startDate}/{endDate}/{scoreType}/{scorePeriod}
Get scores for services
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serviceIDs |
A comma separated list of service ids. If any services are specified this takes priority over a group id supplied |
string |
Required |
groupID |
The group id the services are stored in so the correct score weightings can be used. |
unsigned integer |
Required |
startDate |
The start date being queried |
string |
Required |
endDate |
The end date being queried |
string |
Required |
scoreType |
The type of score being queried |
ScoreType |
Required |
scorePeriod |
The score period being queried |
ScorePeriod |
Required |
Body Parameters
None.
Response Information
Resource Description
A collection of OAuthMobileServiceScoreResponse
Collection of OAuthMobileServiceScoreResponseName | Description | Type | Additional information |
---|---|---|---|
ServiceId |
The service id which made the score |
unsigned integer |
None. |
Duration |
The score duration in seconds |
integer |
None. |
Distance |
The score distance in metres |
integer |
None. |
UrbanScore |
The urban score |
integer |
None. |
NightScore |
The night score |
integer |
None. |
AccelerationScore |
The acceleration Score |
integer |
None. |
DecelerationScore |
The deceleration Score |
integer |
None. |
SpeedingScore |
The speeding score |
integer |
None. |
OverallScore |
The overall score |
integer |
None. |
StartDate |
The score period start time |
date |
None. |
EndDate |
The score period end time |
date |
None. |
JourneyCount |
The total journey count |
integer |
None. |
Response Formats
application/json, text/json
[ { "ServiceId": 1, "Duration": 2, "Distance": 3, "UrbanScore": 4, "NightScore": 5, "AccelerationScore": 6, "DecelerationScore": 7, "SpeedingScore": 8, "OverallScore": 9, "StartDate": "2025-04-27T16:46:49.7932909+00:00", "EndDate": "2025-04-27T16:46:49.7932909+00:00", "JourneyCount": 12 }, { "ServiceId": 1, "Duration": 2, "Distance": 3, "UrbanScore": 4, "NightScore": 5, "AccelerationScore": 6, "DecelerationScore": 7, "SpeedingScore": 8, "OverallScore": 9, "StartDate": "2025-04-27T16:46:49.7932909+00:00", "EndDate": "2025-04-27T16:46:49.7932909+00:00", "JourneyCount": 12 } ]
application/xml, text/xml
<ArrayOfOAuthMobileServiceScoreResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OAuthMobileServiceScoreResponse> <ServiceId>1</ServiceId> <Duration>2</Duration> <Distance>3</Distance> <UrbanScore>4</UrbanScore> <NightScore>5</NightScore> <AccelerationScore>6</AccelerationScore> <DecelerationScore>7</DecelerationScore> <SpeedingScore>8</SpeedingScore> <OverallScore>9</OverallScore> <StartDate>2025-04-27T16:46:49.7932909+00:00</StartDate> <EndDate>2025-04-27T16:46:49.7932909+00:00</EndDate> <JourneyCount>12</JourneyCount> </OAuthMobileServiceScoreResponse> <OAuthMobileServiceScoreResponse> <ServiceId>1</ServiceId> <Duration>2</Duration> <Distance>3</Distance> <UrbanScore>4</UrbanScore> <NightScore>5</NightScore> <AccelerationScore>6</AccelerationScore> <DecelerationScore>7</DecelerationScore> <SpeedingScore>8</SpeedingScore> <OverallScore>9</OverallScore> <StartDate>2025-04-27T16:46:49.7932909+00:00</StartDate> <EndDate>2025-04-27T16:46:49.7932909+00:00</EndDate> <JourneyCount>12</JourneyCount> </OAuthMobileServiceScoreResponse> </ArrayOfOAuthMobileServiceScoreResponse>