GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/dnsp/mappings
Returns the defined mappings of DNS Protection Policies for a GSM parent keycode, filtered by the given site.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
siteId |
The identifier of the site to query information for. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/443F-DA69-85C4-4218-8E06/sites/2c702afc-6857-4352-a2bd-d70a3d3f9a1f/dnsp/mappings
|
Body Parameters
None.
Response Information
Resource Description
Information about DNS Protection policy mappings.
GetDNSPPolicyMappingsResponseModelName | Description | Type | Additional Information |
---|---|---|---|
TotalCount |
Total number of policy mappings available. |
integer |
None. |
PolicyMappings |
The list of mappings. |
Collection of GetDNSPPolicyMappingsResponseModel_Mapping |
None. |
Sample Response
{ "TotalCount": 2, "PolicyMappings": [ { "Id": "90954d87-2e83-486f-9a8b-2983c9d8c0b2", "Type": "StaticIP", "Value": "95.8.232.205", "DNSPolicyId": "5065e11d-6b11-4feb-8665-d38dc1cb3342" }, { "Id": "a1c9923c-ce9c-4ec8-ac3e-4c4797dc8b2b", "Type": "StaticIP", "Value": "95.240.250.20", "DNSPolicyId": "df886ce7-9888-4549-92a7-c97320186317" } ] }
<GetDNSPPolicyMappingsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <PolicyMappings> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>5065e11d-6b11-4feb-8665-d38dc1cb3342</DNSPolicyId> <Id>90954d87-2e83-486f-9a8b-2983c9d8c0b2</Id> <Type>StaticIP</Type> <Value>95.8.232.205</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>df886ce7-9888-4549-92a7-c97320186317</DNSPolicyId> <Id>a1c9923c-ce9c-4ec8-ac3e-4c4797dc8b2b</Id> <Type>StaticIP</Type> <Value>95.240.250.20</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>