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/AA06-E14E-7B26-4C96-961F/sites/170bd222-ea99-42b0-9122-e449d69b2a2d/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": "4040ab1c-1903-410a-8b9f-116f1b747c5e", "Type": "StaticIP", "Value": "95.178.203.133", "DNSPolicyId": "b856e9f9-d5dd-48aa-8959-b0d97fd049b2" }, { "Id": "3cea4d7c-feb5-4080-947e-8f7c78e7378f", "Type": "StaticIP", "Value": "95.208.199.5", "DNSPolicyId": "4610e328-7ec8-4f59-b022-f36127d161ba" } ] }
<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>b856e9f9-d5dd-48aa-8959-b0d97fd049b2</DNSPolicyId> <Id>4040ab1c-1903-410a-8b9f-116f1b747c5e</Id> <Type>StaticIP</Type> <Value>95.178.203.133</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>4610e328-7ec8-4f59-b022-f36127d161ba</DNSPolicyId> <Id>3cea4d7c-feb5-4080-947e-8f7c78e7378f</Id> <Type>StaticIP</Type> <Value>95.208.199.5</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>