Building a Query

The basic form of an API query on a group is as follows:

https://<siteID>.flexnetoperations.com/data/api/v1/report/{group}.

In the URL, above, <siteID> is your organization’s site ID which is supplied by Revenera. This is usually your organization's DNS name, but can also be the tenant ID that was assigned to your organization when FlexNet Operations was first implemented, and would have the format flexNNNN. The parameter {group} is one of the report groups returned when you make a GET call to /api/v1/report/report-names.

You can add filters as query parameters. For example, to specify the mode of the response and obtain the data of the last 10 days, use a query similar to the following:

https://<siteID>.flexnetoperations.com/data/api/v1/report/{group}?mode=INTERACTIVE&pastDays=10

For information about filtering, see Filtering Query Results.

Note:Some parameters contain characters that are not compatible with acceptable content of a URL. The characters used in a query string must therefore be URL-encoded.