GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/statistics/dnsp
Retrieves DNSP statistics about a GSM site.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
siteId |
The keycode of the GSM site to retrieve statistics for. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/8F87-2CAB-BD59-44E9-A6ED/sites/b99159b3-a0ef-4a13-9188-d21edea4df1e/statistics/dnsp
|
Body Parameters
None.
Response Information
Resource Description
Statistics about the desired GSM console.
GetSiteStatisticsDNSPResponseModelName | Description | Type | Additional Information |
---|---|---|---|
SiteId |
The identifier of the GSM site that was queried. |
string |
None. |
SiteName |
The name of the GSM site that was queried. |
string |
None. |
DevicesActive |
Number of active DNSP agents in this GSM site. |
integer |
None. |
DevicesInactive |
Number of inactive DNSP agents in this GSM site. |
integer |
None. |
Sample Response
{ "SiteId": "7b6ed4d6-eb5f-4482-9382-b134628fcd2b", "SiteName": "DNS Site", "DevicesActive": 540, "DevicesInactive": 20 }
<GetSiteStatisticsDNSPResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <DevicesActive>540</DevicesActive> <DevicesInactive>20</DevicesInactive> <SiteId>7b6ed4d6-eb5f-4482-9382-b134628fcd2b</SiteId> <SiteName>DNS Site</SiteName> </GetSiteStatisticsDNSPResponseModel>