Forum Discussion
Sarah_Terry
8 years agoProduct Manager
Hi Matt -
Thanks for posting. Currently, the REST API returns an empty array for time periods where there are no available datapoints (e.g. values = []) and returns an array of "no data" values for time periods where the collection for the DataSource in question occurred but resulted in no values (e.g. values = ["no data","no data"]. This matches the behavior of the UI, where the first scenario results in empty data & the second scenario results in No Data values. This behavior allows differentiation of no data due to issues with data collection & no data due to environment issues (e.g. time period is set to before the device is added). Does that make sense?
Thanks,
Sarah
Related Content
- 3 months ago
- 26 days ago