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/4FA9-7530-ADCB-4E66-8369/sites/e8a4caa7-1dac-4a7f-ae4a-579a531d1fba/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": "7f92d05a-c3df-42b6-b9be-003f1d11a941", "SiteName": "DNS Site", "DevicesActive": 780, "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>780</DevicesActive> <DevicesInactive>20</DevicesInactive> <SiteId>7f92d05a-c3df-42b6-b9be-003f1d11a941</SiteId> <SiteName>DNS Site</SiteName> </GetSiteStatisticsDNSPResponseModel>