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/54F5-646E-CD66-4D50-95CA/sites/eb2820e1-04db-4fcc-8264-af94e2235cd9/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": "cb71a891-2652-44a5-ae88-0a805bd4f7e0", "Type": "StaticIP", "Value": "95.167.237.213", "DNSPolicyId": "e9dec4ba-3be4-4617-a07c-5a6b62dc4179" }, { "Id": "25d73db6-9a0a-4d7e-ba62-060b87a0c8fb", "Type": "StaticIP", "Value": "95.173.168.183", "DNSPolicyId": "6b7504c5-5d7f-41ed-9d96-65df6872a0e2" } ] }
<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>e9dec4ba-3be4-4617-a07c-5a6b62dc4179</DNSPolicyId> <Id>cb71a891-2652-44a5-ae88-0a805bd4f7e0</Id> <Type>StaticIP</Type> <Value>95.167.237.213</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>6b7504c5-5d7f-41ed-9d96-65df6872a0e2</DNSPolicyId> <Id>25d73db6-9a0a-4d7e-ba62-060b87a0c8fb</Id> <Type>StaticIP</Type> <Value>95.173.168.183</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>