GET api/swc/getLatestVideoUrls?assetId={assetId}
Returns information to facilitate downloading the latest 14 seconds of camera footage available for a vehicle. The URL property should be appended to the base URL used to call this endpoint to download video.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| assetId |
AssetId to retrieve footage for. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetlatestVideoUrlsResp| Name | Description | Type | Additional information |
|---|---|---|---|
| Camera |
Represents the camera channel for the media |
integer |
None. |
| Altitude |
Altitude of the camera according to GPS in meters |
decimal number |
None. |
| ContentSize |
File size in bytes |
integer |
None. |
| StartDateTime |
DateTime of when the media starts |
date |
None. |
| EndDateTime |
DateTime of when the media ends |
date |
None. |
| FileFormat |
Details the file format |
string |
None. |
| Heading |
Shows the current heading, AKA bearing |
decimal number |
None. |
| Latitude |
Shows the device's current latitude |
decimal number |
None. |
| Longitude |
Shows the device's current longitude |
decimal number |
None. |
| Speed |
Shows the device's current speed |
decimal number |
None. |
| Url |
Details a URL for the video media |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Camera": 1,
"Altitude": 2.1,
"ContentSize": 3,
"StartDateTime": "2025-11-04T22:19:22.7906115+00:00",
"EndDateTime": "2025-11-04T22:19:22.7906115+00:00",
"FileFormat": "sample string 6",
"Heading": 7.1,
"Latitude": 8.1,
"Longitude": 9.1,
"Speed": 10.1,
"Url": "sample string 11"
}
application/xml, text/xml
Sample:
<GetlatestVideoUrlsResp xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Camera>1</Camera> <Altitude>2.1</Altitude> <ContentSize>3</ContentSize> <StartDateTime>2025-11-04T22:19:22.7906115+00:00</StartDateTime> <EndDateTime>2025-11-04T22:19:22.7906115+00:00</EndDateTime> <FileFormat>sample string 6</FileFormat> <Heading>7.1</Heading> <Latitude>8.1</Latitude> <Longitude>9.1</Longitude> <Speed>10.1</Speed> <Url>sample string 11</Url> </GetlatestVideoUrlsResp>