get /api/v1/reports/connections filter on billig_state

I have managed to use the API but have a question for the endpoint


get /api/v1/reports/connections


I get a list that I can ask by date, user, etc... but I would like to have only the results of those connections where the billing_state = Bill without the need to ask them all and filter it in my end


how can I achieve this?

Answers

  • Extra info:

    Using the API documentation on page 47 of the PDF file, I was able to retrieve the connection reports.
    However, this documentation does not mention the "sessionReportFeatures" parameter for the endpoint: GET /api/v1/reports/connections, which is visible in the Swagger info:

    https://webapi.teamviewer.com/api/v1/docs/index?coupon=CMP-PR-BF24#!/Connections32Management/Connections_Get

    This is exactly the information I am missing. I have already tried several approaches to filter for billing_state=Bill without success.

    Anyone has a clue