GET /service/api/status/reporting/gsm/{gsmKey}/sites
?reportType={reportType}
&effectiveDate={effectiveDate}
Returns a site-level summary report of endpoint usage for a GSM master keycode. For each site the report includes information like the site name and license type as well as the total number of endpoints.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
A master keycode for which usage information is to be retrieved. |
string |
Required |
reportType |
The type of report to be produced. The following values are supported:
|
string |
None. |
effectiveDate |
The date the report should refer to. If omitted, the most recent usage report will be returned. Note: Usage data will typically be generated in the course of the following day (UTC) and therefore can only be provided for dates earlier than yesterday. If, for example, this API method is called at 11:00 pm UTC, yesterday's data will not be available yet. |
date |
None. |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/status/reporting/gsm/5D0A-0DD1-ACB7-4DE1-BCFF/sites?reportType=EndpointsSeenInLast30Days&effectiveDate=2024-09-04T00:00:00.0000000Z
|
Body Parameters
None.
Response Information
Resource Description
Returns a list of site keycode usage statistics having the specified master key as parent.
UsageReportSitesName | Description | Type | Additional Information |
---|---|---|---|
ReportInfo |
Details about the returned report. |
UsageReportSites_ReportInfo |
None. |
Sites |
Site/endpoint details for a given GSM site. |
Collection of UsageReportSites_SiteEntry |
None. |
Sample Response
{ "ReportInfo": { "Count": 2, "SiteKeyFilter": null, "ReportType": "ActiveEndpointsWithoutHidden", "EffectiveDate": "2024-08-31T00:00:00Z", "GSMKey": "79cipmw1pof6mpmuktuj" }, "Sites": [ { "SiteId": "60996f04-0922-3fc8-6774-512ac5b03e9f", "SiteKey": "k1moa96hmywareooeci6", "SiteName": "Site 7BETB9PILG", "LicenseType": "Trial", "ExpiryDate": "2026-01-31T02:30:57.8824466Z", "SiteState": "active", "SiteStateChangedDate": "2024-08-12T07:59:57.8824466Z", "TotalEndpoints": 5482 }, { "SiteId": "513ced9e-68ce-4190-2c23-3a2d465e36c2", "SiteKey": "m758j1nnm8ouztjw2mat", "SiteName": "Site Y6G0CAH91V", "LicenseType": "Full", "ExpiryDate": "2025-06-21T11:28:57.8824466Z", "SiteState": "active", "SiteStateChangedDate": "2024-08-18T07:59:57.8824466Z", "TotalEndpoints": 7373 } ] }
<StatusReporting.UsageReportSites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.AgentStatus.Models"> <ReportInfo> <EffectiveDate>2024-08-31T00:00:00Z</EffectiveDate> <GSMKey>79cipmw1pof6mpmuktuj</GSMKey> <ReportType>ActiveEndpointsWithoutHidden</ReportType> <Count>2</Count> <SiteKeyFilter i:nil="true" /> </ReportInfo> <Sites> <StatusReporting.UsageReportSites_SiteEntry> <ExpiryDate>2026-01-31T02:30:57.8824466Z</ExpiryDate> <LicenseType>Trial</LicenseType> <SiteId>60996f04-0922-3fc8-6774-512ac5b03e9f</SiteId> <SiteKey>k1moa96hmywareooeci6</SiteKey> <SiteName>Site 7BETB9PILG</SiteName> <SiteState>active</SiteState> <SiteStateChangedDate>2024-08-12T07:59:57.8824466Z</SiteStateChangedDate> <TotalEndpoints>5482</TotalEndpoints> </StatusReporting.UsageReportSites_SiteEntry> <StatusReporting.UsageReportSites_SiteEntry> <ExpiryDate>2025-06-21T11:28:57.8824466Z</ExpiryDate> <LicenseType>Full</LicenseType> <SiteId>513ced9e-68ce-4190-2c23-3a2d465e36c2</SiteId> <SiteKey>m758j1nnm8ouztjw2mat</SiteKey> <SiteName>Site Y6G0CAH91V</SiteName> <SiteState>active</SiteState> <SiteStateChangedDate>2024-08-18T07:59:57.8824466Z</SiteStateChangedDate> <TotalEndpoints>7373</TotalEndpoints> </StatusReporting.UsageReportSites_SiteEntry> </Sites> </StatusReporting.UsageReportSites>