API Guide
/api/DeviceService/DeviceSummary
This URI represents the summary of the devices statuses. In the response, devices of the same type are grouped.
GET method for DeviceSummary
This method returns the summary of device statuses.
Description Returns the summary of device statuses.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(DeviceService.DeviceSummary)",
"@odata.count": 6,
"value": [
{
"@odata.id": "/api/DeviceService/DeviceSummary(1000)",
"DeviceType": 1000,
"TotalCount": 2,
"DeviceStatusSummary": [
{
"StatusType": 1000,
"Count": 1
},
{
"StatusType": 2000,
"Count": 0
},
{
"StatusType": 3000,
"Count": 0
},
{
"StatusType": 4000,
"Count": 1
},
{
"StatusType": 5000,
"Count": 0
}
]
},
{
"@odata.id": "/api/DeviceService/DeviceSummary(2000)",
"DeviceType": 2000,
"TotalCount": 1,
"DeviceStatusSummary": [
{
"StatusType": 1000,
"Count": 0
},
{
"StatusType": 2000,
"Count": 0
},
{
"StatusType": 3000,
"Count": 0
},
{
"StatusType": 4000,
"Count": 1
Devices
199