API Guide

/api/DeviceService/Devices(Id)/LogSeverities
This URI represents the log severities for a specific device.
GET method for LogSeverities
This method returns the log-severity details for a specific device.
Description Returns the log-severity details for a specific device.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#DeviceService.LogSeverities/$entity",
"@odata.id": "/api/DeviceService/Devices(3265)/LogSeverities",
"Warning": 2000,
"Critical": 3000,
"Fatal": 4000,
"Info": 1000
}
NOTE: The severity "Unknown": 5000 is not displayed by REST. To view logs in Unknown state, use the web interface.
/api/DeviceService/Devices(Id)/Settings
This URI represents the settings of a specific device.
GET method for Settings
This method returns the details of the settings of a specific device.
Description
Returns the details of the settings of a specific device.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(DeviceService.DeviceSetting)",
"@odata.count": 2,
"value": [
{
"@odata.id": "/api/DeviceService/Devices(3265)/Settings('Network')",
"SettingType": "Network"
},
{
"@odata.id": "/api/DeviceService/Devices(3265)/Settings('Management')",
"SettingType": "Management"
}
]
}
188 Devices