API Guide

Table Of Contents
/api/DeviceService/PowerStates
This URI represents the power states of the devices.
GET method for PowerStates
This method returns a list of the power states that the devices can be in.
Description Returns a list of power states.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(DeviceService.PowerState)",
"@odata.count": 3,
"value": [
{
"PowerState": 1,
"Name": "UNKNOWN",
"Description": "Unknown"
},
{
"PowerState": 17,
"Name": "ON",
"Description": "On"
},
{
"PowerState": 18,
"Name": "OFF",
"Description": "Off"
}
]
}
/api/DeviceService/DeviceStatuses
This URI represents the statuses that the devices can be in.
GET method for DeviceStatuses
This method returns a list of statuses for the devices.
Description
Returns a list of statuses for the devices.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(DeviceService.DeviceStatus)",
"@odata.count": 5,
"value": [
202 Devices