If make a call to GetFeed for StatusData for each vehicle using to and from dates - something like this...
feedStatusData = _api.Call<FeedResult<StatusData>>("GetFeed", new
typeName = typeof(StatusData).ToString(),
search = new StatusDataSearch
FromDate = fromDate,
ToDate = toDate,
deviceSearch = new DeviceSearch
id = device.Id
...I will have access to feedStatusData.ToVersion.
So, after going through all 300 vehicles and making this call, what will the final feedStatusData.ToVersion get me? Is it tied to the vehicle in some way? If I make a GetFeed StatusData call later using that version number but don't pass device search, will I get what I think I should get: all records for all devices posted since the last device-specific feed I had requested?
Does that make any sense?
Please sign in to leave a comment.