[XML API] Custom reports timeframe

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

[XML API] Custom reports timeframe

L1 Bithead

Hi,

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 !

1 accepted solution

Accepted Solutions

L4 Transporter

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

View solution in original post

1 REPLY 1

L4 Transporter

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

  • 1 accepted solution
  • 2602 Views
  • 1 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!