POST api/SocialDriver/UserScores/{serviceId}
View a collection of scores
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceId |
Optional service id |
unsigned integer |
Default value is 0 |
Body Parameters
ViewScoreRequest
ViewScoreRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Start |
The start period queried |
date |
None. |
| End |
The end period queried |
date |
None. |
| ScoreType |
The type of score being queried |
SocialDriverScoreType |
None. |
| ScorePeriod |
The score period |
SocialDriverScorePeriod |
None. |
Request Formats
application/json, text/json
Sample:
{
"Start": "2025-10-27T03:41:16.0607669+00:00",
"End": "2025-10-27T03:41:16.0607669+00:00",
"ScoreType": 0,
"ScorePeriod": 0
}
application/xml, text/xml
Sample:
<ViewScoreRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Start>2025-10-27T03:41:16.0607669+00:00</Start> <End>2025-10-27T03:41:16.0607669+00:00</End> <ScoreType>Safety</ScoreType> <ScorePeriod>Journey</ScorePeriod> </ViewScoreRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ViewScoreResponse
ViewScoreResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Journeys |
The journey scores |
Collection of SocialDriverScore |
None. |
Response Formats
application/json, text/json
Sample:
{
"Journeys": [
{
"ScoreType": 0,
"ScorePeriod": 0,
"Start": "2025-10-27T03:41:16.0607669+00:00",
"NumberOfJourneys": 2,
"Duration": 3,
"Distance": 4,
"LastJourneyEnd": "2025-10-27T03:41:16.0607669+00:00",
"OverallScore": 6,
"AccelScore": 7,
"DecelScore": 8,
"SpeedScore": 9,
"UrbanScore": 10,
"NightScore": 11,
"IdleScore": 12,
"DistanceScore": 13
},
{
"ScoreType": 0,
"ScorePeriod": 0,
"Start": "2025-10-27T03:41:16.0607669+00:00",
"NumberOfJourneys": 2,
"Duration": 3,
"Distance": 4,
"LastJourneyEnd": "2025-10-27T03:41:16.0607669+00:00",
"OverallScore": 6,
"AccelScore": 7,
"DecelScore": 8,
"SpeedScore": 9,
"UrbanScore": 10,
"NightScore": 11,
"IdleScore": 12,
"DistanceScore": 13
}
]
}
application/xml, text/xml
Sample:
<ViewScoreResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Journeys>
<SocialDriverScore>
<ScoreType>Safety</ScoreType>
<ScorePeriod>Journey</ScorePeriod>
<Start>2025-10-27T03:41:16.0607669+00:00</Start>
<NumberOfJourneys>2</NumberOfJourneys>
<Duration>3</Duration>
<Distance>4</Distance>
<LastJourneyEnd>2025-10-27T03:41:16.0607669+00:00</LastJourneyEnd>
<OverallScore>6</OverallScore>
<AccelScore>7</AccelScore>
<DecelScore>8</DecelScore>
<SpeedScore>9</SpeedScore>
<UrbanScore>10</UrbanScore>
<NightScore>11</NightScore>
<IdleScore>12</IdleScore>
<DistanceScore>13</DistanceScore>
</SocialDriverScore>
<SocialDriverScore>
<ScoreType>Safety</ScoreType>
<ScorePeriod>Journey</ScorePeriod>
<Start>2025-10-27T03:41:16.0607669+00:00</Start>
<NumberOfJourneys>2</NumberOfJourneys>
<Duration>3</Duration>
<Distance>4</Distance>
<LastJourneyEnd>2025-10-27T03:41:16.0607669+00:00</LastJourneyEnd>
<OverallScore>6</OverallScore>
<AccelScore>7</AccelScore>
<DecelScore>8</DecelScore>
<SpeedScore>9</SpeedScore>
<UrbanScore>10</UrbanScore>
<NightScore>11</NightScore>
<IdleScore>12</IdleScore>
<DistanceScore>13</DistanceScore>
</SocialDriverScore>
</Journeys>
</ViewScoreResponse>