Is there a way to use the API for things like power consumption of clients?

John_Sutcliffe
New Contributor III

For Mobile Devices, using the api call /mobiledevices/id/{idvalue} you will get the current battery level of the device: <battery_level>100</battery_level>

And on Mac:
/computers/id/{computerid} <battery_capacity>97</battery_capacity> within the <hardware> section.

1 REPLY 1

cosmosb
New Contributor III

Thanks for the response. To be clear we are looking for ways to get consumption of all our machines on campus. With those enrolled in Casper we were hoping to utilize the JSS to gather this info. you have provided the API calls. Thanks! Is there any way you would suggest doing this en masse?