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/DBD0-D643-36D5-4E1C-9E9E/sites/d625940e-8435-4a50-86eb-49ddcc1e3749/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": "eaf3b8b9-5e30-4f53-83d5-736b89cbbefb", "Type": "StaticIP", "Value": "95.170.206.179", "DNSPolicyId": "ec7ad5f1-1d27-4bd8-8c14-138fd44ab94e" }, { "Id": "0366b07f-b4c3-4d39-ac63-835db2533d03", "Type": "StaticIP", "Value": "95.119.190.222", "DNSPolicyId": "66e7641e-e667-4230-8be4-3017cf2a1bb9" } ] }
<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>ec7ad5f1-1d27-4bd8-8c14-138fd44ab94e</DNSPolicyId> <Id>eaf3b8b9-5e30-4f53-83d5-736b89cbbefb</Id> <Type>StaticIP</Type> <Value>95.170.206.179</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>66e7641e-e667-4230-8be4-3017cf2a1bb9</DNSPolicyId> <Id>0366b07f-b4c3-4d39-ac63-835db2533d03</Id> <Type>StaticIP</Type> <Value>95.119.190.222</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>