GET /service/api/console/gsm/{gsmKey}/policies/{policyId}
Gets information about a GSM policy.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
policyId |
The identifier of the policy to query information for. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/9E5D-37DB-D9F4-497A-8EC8/policies/1c0fc1cb-aa0a-4e07-9d9a-5b81a8d972da
|
Body Parameters
None.
Response Information
Resource Description
Information about the desired GSM policy.
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": 1, "Deleted": false, "Policies": [ { "PolicyId": "f28ae608-c774-4912-9831-5226974fa754", "DateCreated": "2024-11-21T07:31:33.4768153Z", "PolicyName": "Test Policy 1", "LivePolicy": true, "PendingPolicy": false, "PolicyDescription": "Description of test policy 1", "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-11-21T07:31:33.4768153Z</DateCreated> <DefaultSetting>false</DefaultSetting> <Deleted>false</Deleted> <LivePolicy>true</LivePolicy> <PendingPolicy>false</PendingPolicy> <PolicyDescription>Description of test policy 1</PolicyDescription> <PolicyId>f28ae608-c774-4912-9831-5226974fa754</PolicyId> <PolicyName>Test Policy 1</PolicyName> <PolicyType>Advanced</PolicyType> </GetGSMPoliciesResponseModel_Policy> </Policies> <TotalCount>1</TotalCount> </GetGSMPoliciesResponseModel>