GET api/Camera/ByDate?authKey={authKey}&vehicleId={vehicleId}&start={start}&end={end}
Get Images taken between dates
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| authKey |
Authentication Key |
string |
Required |
| vehicleId |
Vehicle Id |
integer |
Required |
| start |
Start Time in ticks |
integer |
Required |
| end |
End time in ticks |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PhotoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId |
Vehicle Id |
integer |
None. |
| Latitude |
Latitude |
string |
None. |
| Longitude |
Longitude |
string |
None. |
| ImageFile |
Image File Path prefix[http://track.hashtrace.com/] |
string |
None. |
| Address |
Address Location of Image |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VehicleId": 1,
"Latitude": "sample string 2",
"Longitude": "sample string 3",
"ImageFile": "sample string 4",
"Address": "sample string 5"
},
{
"VehicleId": 1,
"Latitude": "sample string 2",
"Longitude": "sample string 3",
"ImageFile": "sample string 4",
"Address": "sample string 5"
}
]
text/html
Sample:
[{"VehicleId":1,"Latitude":"sample string 2","Longitude":"sample string 3","ImageFile":"sample string 4","Address":"sample string 5"},{"VehicleId":1,"Latitude":"sample string 2","Longitude":"sample string 3","ImageFile":"sample string 4","Address":"sample string 5"}]
application/xml, text/xml
Sample:
<ArrayOfPhotoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dolphin.Models">
<PhotoViewModel>
<Address>sample string 5</Address>
<ImageFile>sample string 4</ImageFile>
<Latitude>sample string 2</Latitude>
<Longitude>sample string 3</Longitude>
<VehicleId>1</VehicleId>
</PhotoViewModel>
<PhotoViewModel>
<Address>sample string 5</Address>
<ImageFile>sample string 4</ImageFile>
<Latitude>sample string 2</Latitude>
<Longitude>sample string 3</Longitude>
<VehicleId>1</VehicleId>
</PhotoViewModel>
</ArrayOfPhotoViewModel>