POST api/SocialDriver/GetTelemetry/{serviceId}
View a collection of telemetry
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serviceId |
Optional service id |
unsigned integer |
Default value is 0 |
Body Parameters
ViewTelemetryResponse
ViewTelemetryRequestName | Description | Type | Additional information |
---|---|---|---|
StartDate |
The start time being queried |
date |
None. |
EndDate |
The end time being queried |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "StartDate": "2025-04-27T15:35:29.570302+00:00", "EndDate": "2025-04-27T15:35:29.570302+00:00" }
application/xml, text/xml
Sample:
<ViewTelemetryRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <StartDate>2025-04-27T15:35:29.570302+00:00</StartDate> <EndDate>2025-04-27T15:35:29.570302+00:00</EndDate> </ViewTelemetryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The ViewTelemetryRequest
ViewTelemetryResponseName | Description | Type | Additional information |
---|---|---|---|
Telemetry |
The telemetry |
Collection of SocialDriverTelemetry |
None. |
Response Formats
application/json, text/json
Sample:
{ "Telemetry": [ { "EventType": 1, "EventTime": "2025-04-27T15:35:29.570302+00:00", "Location": { "Latitude": 1.1, "Longitude": 2.1 }, "EventSpeed": 3.1, "SpeedLimit": 4, "SpeedLimitUnits": "sample string 5", "StreetAddress": "sample string 6", "Bearing": 7 }, { "EventType": 1, "EventTime": "2025-04-27T15:35:29.570302+00:00", "Location": { "Latitude": 1.1, "Longitude": 2.1 }, "EventSpeed": 3.1, "SpeedLimit": 4, "SpeedLimitUnits": "sample string 5", "StreetAddress": "sample string 6", "Bearing": 7 } ] }
application/xml, text/xml
Sample:
<ViewTelemetryResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Telemetry> <SocialDriverTelemetry> <EventType>1</EventType> <EventTime>2025-04-27T15:35:29.570302+00:00</EventTime> <Location> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </Location> <EventSpeed>3.1</EventSpeed> <SpeedLimit>4</SpeedLimit> <SpeedLimitUnits>sample string 5</SpeedLimitUnits> <StreetAddress>sample string 6</StreetAddress> <Bearing>7</Bearing> </SocialDriverTelemetry> <SocialDriverTelemetry> <EventType>1</EventType> <EventTime>2025-04-27T15:35:29.570302+00:00</EventTime> <Location> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </Location> <EventSpeed>3.1</EventSpeed> <SpeedLimit>4</SpeedLimit> <SpeedLimitUnits>sample string 5</SpeedLimitUnits> <StreetAddress>sample string 6</StreetAddress> <Bearing>7</Bearing> </SocialDriverTelemetry> </Telemetry> </ViewTelemetryResponse>