how to get the report completion for specific time period
Wednesday, March 18, 2020 at 02:15pmhow to get the report completion for specific time period in a day like between 8am to 12 pm.
using the below api
/api/reports/completion.
what format should be From date and to date . Need to retrieve for specific timings in a day
Reply to: how to get the report completion for specific time period
Wednesday, March 18, 2020 at 03:04pmHi there,
In Report Completion API "/api/reports/completion", there are two parameters "from" and "to" allow you to specify the time period.
The date format is "{yyyy}-{mm}-{dd}T{hh}:{mm}:{ss}Z", which represents the GMT time.
For example, now is 4:00PM EST (8:00PM GMT) and there's a package get updated. If you query by:
"/api/reports/completion?from=2020-03-18T19:59:00Z&to=2020-03-18T20:01:00Z"
This updated package (and mostly likely the only package) will be returned from the response.
Duo