[XML API] Custom reports timeframe

L1 Bithead

[XML API] Custom reports timeframe


I'm trying to pull the results of my Custom Reports through the XML API, but while I'm able to specify a custom timeframe in the request URL, it's not taken into account.

Instead, it's the reports' hardcoded timeframe which is applied (we used to use the Web GUI to get the results).

I thought the starttime and endtime URL parameters would override the ones defined in each report configuration, but it looks like I'm wrong.

I believe I could edit my reports through the API before each request, setting the "right" timeframe and then pulling the results, but I'd like to avoid modifying the running-configuration at all costs.

Is there a way I could make it work while keeping a read-only approach ?

Thanks !

L4 Transporter

Re: [XML API] Custom reports timeframe

Currently the override options are only available on dynamic reports.Predefined and Custom reports have fixed parameters.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!