GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/statistics/dnsp

Retrieves DNSP statistics about a GSM site.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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/1D86-B564-CD35-44C8-90D8/sites/dd408092-41ce-4f85-ae24-c64d6e5b3ecf/statistics/dnsp

Body Parameters

None.

Response Information

Resource Description

Statistics about the desired GSM console.

GetSiteStatisticsDNSPResponseModel
NameDescriptionTypeAdditional 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": "d0b99f8b-d19e-4304-ae7a-337a6e534ccd",
  "SiteName": "DNS Site",
  "DevicesActive": 680,
  "DevicesInactive": 10
}                    
<GetSiteStatisticsDNSPResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <DevicesActive>680</DevicesActive>
  <DevicesInactive>10</DevicesInactive>
  <SiteId>d0b99f8b-d19e-4304-ae7a-337a6e534ccd</SiteId>
  <SiteName>DNS Site</SiteName>
</GetSiteStatisticsDNSPResponseModel>