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/4FE8-8F6D-5EE9-4418-A5A3/sites/29b98f86-f738-4947-866e-6c5bd2380886/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": "117ff5bd-282a-4897-ac0e-d4aebd0bc785", "Type": "StaticIP", "Value": "95.48.210.86", "DNSPolicyId": "74b257c9-0612-477f-a54a-36cdec397cdc" }, { "Id": "8e5548eb-4570-4899-87ff-1fcfaa4c5600", "Type": "StaticIP", "Value": "95.7.151.9", "DNSPolicyId": "e615c5bd-e8cd-44f8-9679-c910c7c68e45" } ] }
<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>74b257c9-0612-477f-a54a-36cdec397cdc</DNSPolicyId> <Id>117ff5bd-282a-4897-ac0e-d4aebd0bc785</Id> <Type>StaticIP</Type> <Value>95.48.210.86</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>e615c5bd-e8cd-44f8-9679-c910c7c68e45</DNSPolicyId> <Id>8e5548eb-4570-4899-87ff-1fcfaa4c5600</Id> <Type>StaticIP</Type> <Value>95.7.151.9</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>