API Does Not Return All Data Points in Query

book

Article ID: 213141

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

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 

Cause

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. 

Environment

Release : 20.2

Component : IM Data Aggregator

Resolution

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.