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/52BC-AE36-674A-4D62-924F/sites/78537aa3-5bdb-4b4e-b41f-947e88f2e2f9/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": "bf223d19-c6c3-4c0e-b493-7ab00f8087ab", "Type": "StaticIP", "Value": "95.35.83.116", "DNSPolicyId": "b84e77d1-3b22-45f8-ba3c-3c979b539c91" }, { "Id": "6e2f7a6d-4e07-4b44-a28d-e98a5add713c", "Type": "StaticIP", "Value": "95.50.114.14", "DNSPolicyId": "7a693f6c-9f8f-4617-ad19-c52a91e50074" } ] }
<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>b84e77d1-3b22-45f8-ba3c-3c979b539c91</DNSPolicyId> <Id>bf223d19-c6c3-4c0e-b493-7ab00f8087ab</Id> <Type>StaticIP</Type> <Value>95.35.83.116</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>7a693f6c-9f8f-4617-ad19-c52a91e50074</DNSPolicyId> <Id>6e2f7a6d-4e07-4b44-a28d-e98a5add713c</Id> <Type>StaticIP</Type> <Value>95.50.114.14</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>