When running the API for a full day's data points, and when using it for business hours across multiple days, the query doesn't return all data point. It stops in the middle of the day.
OpenAPI odata does not use correct Business Hours in queries
Business Hours wrong for OpenAPI odata Queries
Release : 20.2
Component : IM Data Aggregator
The cause of this issue is that the report time frame uses the users time zone setting and the business hours time frame is using the time zone of the Data Aggregator.
When using business hours in an OpenAPI query the business hours need to be set using the time zone of the data aggregator not the user running the query.