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/DAEF-CFA0-7465-40FC-85FD/sites/3e16b677-41fe-4f30-abeb-2dde1e8da243/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": "fb7fb1e5-457a-4ff1-b770-5b84c88a3878", "Type": "StaticIP", "Value": "95.62.228.66", "DNSPolicyId": "d28fcc42-afa8-4d19-b5c0-81d00f2dedd6" }, { "Id": "3836943f-b33b-4c19-ab08-88362ff77112", "Type": "StaticIP", "Value": "95.210.253.23", "DNSPolicyId": "ffa8da87-15f7-4597-8949-f1c605e8a900" } ] }
<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>d28fcc42-afa8-4d19-b5c0-81d00f2dedd6</DNSPolicyId> <Id>fb7fb1e5-457a-4ff1-b770-5b84c88a3878</Id> <Type>StaticIP</Type> <Value>95.62.228.66</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>ffa8da87-15f7-4597-8949-f1c605e8a900</DNSPolicyId> <Id>3836943f-b33b-4c19-ab08-88362ff77112</Id> <Type>StaticIP</Type> <Value>95.210.253.23</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>