Super Contributor.. Devildiablo Super Contributor..
Super Contributor..
81 views

ROI API

Hey All,

I see from the API guide you can make a call to retrieve more specified ROI figures

The guide doesnt explain (Maybe im glossing over it) the format of the expected values

Here is the example from the guide

Example:
GET /executions/statistics?sortBy=avgExecutionTime&endedBefore=1415176455471
&endedAfter=0

What value is the ended before or ended after figure

The guide says the default for endedAfter is one week, so I tried 4 thinking this value may be the number of weeks but that gave me everything from the beginning of time.

How would I set this to a specific number of days i.e 30 days?

 

0 Likes
1 Reply
Super Contributor.. Devildiablo Super Contributor..
Super Contributor..

Re: ROI API

For anyone interested I figured it out myself 😁

This value is in milliseconds

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.