We are attempting to use the InControl API to retrieve some per-SIM usage data from a fleet of devices.
Using the /sim_usages/hourly function of the API, we are seeing some discrepancies in data reported that I am thinking must be related to the timing of usage data collection/processing. We have been requesting the data once per hour for the prior complete hour. We record the data returned. When we re-run the same request a few hours later to compare, the data usually indicate more usage than was initially returned. Is this expected? What is the expected processing time for the data? Is there some other indicator we should be looking for that would tell us the data may not be complete and we need to re-check later?
Similarly… what happens if a device goes offline/is powered off/loses power just before the interval at which it reports to InControl? Is that data lost, or does it get reported the next time the device reports in?