Hello! I'm working in an alert system that checks whether a network has gone above a certain usage threshold (80% right now) and generates a report to the interested party. Currently Im using two endpoints to accomplish this: "getOrganizationClientsBandwidthUsageHistory" to get the historic usage data (in megabits per second) and "getNetworkApplianceTrafficShapingUplinkBandwidth" to get the maximum usage limits for upload and download (I know the endpoint returns a limit for each client in a network, but here I just take the first set of limits, since the networks we are managing basically set the same limits for all clients).
After retrieving the data, I basically just divide the usage history by the limits (in kilobits per second, but I divide by a 1000 to get megabits) and get the usage history as a percentage.
The thing is, the usual number of manual overuse reports is around 10, but with this automated system it generated almost 50. I think it may a problem of comparing apples to oranges, so please, if you have any better way to do this or a different endpoint to use, it would be very useful. Thank you!