Get "Current WAN Time in Use" via API

Hi,

is it possible to “Synchronize System” and get the “Current WAN Time in Use” value (AV -> Monitor -> Systems -> [NAME] -> Configuration -> Status -> Cellular -> Monitor) via API?

In addition: I created an example project of how to use AirVantage API with PowerShell 5 on GitHub (doc.airvantage.net/av/howto/cloud/api_examples/).

Thanks & br,
Martin

Hi Martin,

Synchronize system will read a list of hard-coded data from the device and the “Current WAN Time in Use” data is not in this list.

To read this data, you have to:

About your Power Shell script, it will be a pleasure to add it in the library page.

Regards,
Robert

Hi Robert,

thanks a lot - I’ll give it a try…

Regards,
Martin

Hi Robert,

Update:
My goal is to compare “Current WAN Time in Use” and “Device Uptime” - with the provided information I was able to do that - Many thanks. :smiley:

I also updated the sample script on GitHub.

Br,
Martin

Hi Martin,

your example has been added in the API & examples page.

Regards,
Robert