Question: Why don't API data match Agility front-end data

Question

Why are data from the API one day ahead when compared to front-end data?

Answer

In the Agility UI, the end date is one day less than what the API Query returns.

Why? Because the begin date starts at 12:00:00 a.m. xx-xx-xxxx and the end date ends 11:59:59 p.m. mm-mm-mmmm. This end time is 1 second less than the time indicated in the API query because it does not include the 12:00:00 which goes into the next day (which is the end date returned in query). Using notation, the interval [mm-dd-yyyy:12:00:00, mm1-dd1-yyyy1:12:00:00) is what's reflected UI.

There is no workaround for this.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.