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/6859-1DC4-8E05-4599-9FEB/sites/d9131f84-b47b-4a7a-939e-0c5384570ea0/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": "48e087e0-30cb-4e32-8323-7d7fc7d4f4f4", "Type": "StaticIP", "Value": "95.132.83.88", "DNSPolicyId": "6028bf59-823b-4839-b4bd-f346cf320f4d" }, { "Id": "56938ad5-3017-4d33-a2d3-acdc6d92dc36", "Type": "StaticIP", "Value": "95.25.215.43", "DNSPolicyId": "e5eb8d40-282c-44fb-8989-effc996e926f" } ] }
<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>6028bf59-823b-4839-b4bd-f346cf320f4d</DNSPolicyId> <Id>48e087e0-30cb-4e32-8323-7d7fc7d4f4f4</Id> <Type>StaticIP</Type> <Value>95.132.83.88</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>e5eb8d40-282c-44fb-8989-effc996e926f</DNSPolicyId> <Id>56938ad5-3017-4d33-a2d3-acdc6d92dc36</Id> <Type>StaticIP</Type> <Value>95.25.215.43</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>