GET api/v1/{tokenClient}/getSocialDataActivities?start={start}&end={end}&vehicleExternalCode={vehicleExternalCode}
récupération des données sociales de date à date
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tokenClient |
Id client |
globally unique identifier |
Required |
| start |
le début de la période (format: MM/dd/yyyy HH:mm:ss) |
date |
Required |
| end |
la fin de la période (format: MM/dd/yyyy HH:mm:ss) |
date |
Required |
| vehicleExternalCode |
Id véhicule |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ActivityDto| Name | Description | Type | Additional information |
|---|---|---|---|
| StartUtc |
début d'activité. |
date |
None. |
| Activity |
type d'activité. |
DataSocialActivity |
None. |
| Duration |
la durée de l'activité. |
time interval |
None. |
| Card |
N° unique de la carte de conducteur. |
string |
None. |
| SlotOne |
N° de slot. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StartUtc": "2025-11-30T11:53:20.9999573+00:00",
"Activity": "R",
"Duration": "00:00:00.1234567",
"Card": "sample string 3",
"SlotOne": true
},
{
"StartUtc": "2025-11-30T11:53:20.9999573+00:00",
"Activity": "R",
"Duration": "00:00:00.1234567",
"Card": "sample string 3",
"SlotOne": true
}
]
application/xml, text/xml
Sample:
<ArrayOfActivityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2Fleet.Web.Models.WebApi">
<ActivityDto>
<Activity>R</Activity>
<Card>sample string 3</Card>
<DateTime>2025-11-30T11:53:20.9999573+00:00</DateTime>
<Duration>PT0.1234567S</Duration>
<SlotOne>true</SlotOne>
</ActivityDto>
<ActivityDto>
<Activity>R</Activity>
<Card>sample string 3</Card>
<DateTime>2025-11-30T11:53:20.9999573+00:00</DateTime>
<Duration>PT0.1234567S</Duration>
<SlotOne>true</SlotOne>
</ActivityDto>
</ArrayOfActivityDto>