GET /service/api/console/gsm/{gsmKey}/policies
Gets the list of global policies on a given GSM console.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/AE61-B68C-B3B0-4FD6-9CEA/policies
|
Body Parameters
None.
Response Information
Resource Description
Information about the list of global policies on a given GSM console.
GetGSMPoliciesResponseModelName | Description | Type | Additional Information |
---|---|---|---|
TotalCount |
Total number of policies available. |
integer |
None. |
Deleted |
Value (true/false) indicating if any of the policies are deleted. |
boolean |
None. |
Policies |
List of policy details records. |
Collection of GetGSMPoliciesResponseModel_Policy |
None. |
Sample Response
{ "TotalCount": 2, "Deleted": false, "Policies": [ { "PolicyId": "97df1229-3fc2-4723-98ff-4bf6431d76d7", "DateCreated": "2024-08-08T10:00:00.3337912Z", "PolicyName": "Test Policy 1", "LivePolicy": true, "PendingPolicy": false, "PolicyDescription": "Description of test policy 1", "Deleted": false, "Canned": false, "DefaultSetting": false, "PolicyType": "Advanced" }, { "PolicyId": "1f4e33c2-1e66-47f6-be4f-cdffa54c01b1", "DateCreated": "2024-06-08T10:00:00.3337912Z", "PolicyName": "Test Policy 2", "LivePolicy": true, "PendingPolicy": false, "PolicyDescription": "Description of test policy 2", "Deleted": false, "Canned": false, "DefaultSetting": false, "PolicyType": "Advanced" } ] }
<GetGSMPoliciesResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <Deleted>false</Deleted> <Policies> <GetGSMPoliciesResponseModel_Policy> <Canned>false</Canned> <DateCreated>2024-08-08T10:00:00.3337912Z</DateCreated> <DefaultSetting>false</DefaultSetting> <Deleted>false</Deleted> <LivePolicy>true</LivePolicy> <PendingPolicy>false</PendingPolicy> <PolicyDescription>Description of test policy 1</PolicyDescription> <PolicyId>97df1229-3fc2-4723-98ff-4bf6431d76d7</PolicyId> <PolicyName>Test Policy 1</PolicyName> <PolicyType>Advanced</PolicyType> </GetGSMPoliciesResponseModel_Policy> <GetGSMPoliciesResponseModel_Policy> <Canned>false</Canned> <DateCreated>2024-06-08T10:00:00.3337912Z</DateCreated> <DefaultSetting>false</DefaultSetting> <Deleted>false</Deleted> <LivePolicy>true</LivePolicy> <PendingPolicy>false</PendingPolicy> <PolicyDescription>Description of test policy 2</PolicyDescription> <PolicyId>1f4e33c2-1e66-47f6-be4f-cdffa54c01b1</PolicyId> <PolicyName>Test Policy 2</PolicyName> <PolicyType>Advanced</PolicyType> </GetGSMPoliciesResponseModel_Policy> </Policies> <TotalCount>2</TotalCount> </GetGSMPoliciesResponseModel>