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/70DD-D869-2FFE-421B-AFA6/sites/cfaf885d-c40a-4e21-be1f-3c9ceb491933/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": "f10f806c-53e2-42a5-b9dd-d0bd3e314455", "Type": "StaticIP", "Value": "95.45.68.112", "DNSPolicyId": "08ce2401-5466-4606-a824-c816aa533407" }, { "Id": "1dcd54cf-0e35-4e59-9bdb-ac476252d474", "Type": "StaticIP", "Value": "95.42.212.171", "DNSPolicyId": "4be4a84a-69df-425a-ae5c-ce62dc5a2063" } ] }
<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>08ce2401-5466-4606-a824-c816aa533407</DNSPolicyId> <Id>f10f806c-53e2-42a5-b9dd-d0bd3e314455</Id> <Type>StaticIP</Type> <Value>95.45.68.112</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>4be4a84a-69df-425a-ae5c-ce62dc5a2063</DNSPolicyId> <Id>1dcd54cf-0e35-4e59-9bdb-ac476252d474</Id> <Type>StaticIP</Type> <Value>95.42.212.171</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>