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/2D99-9642-80C6-40E0-B1E1/sites/0295bd3e-b941-48af-96cb-666d520c0983/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": "548decd7-5f02-4e21-9f65-042aa81726e5", "Type": "StaticIP", "Value": "95.204.232.24", "DNSPolicyId": "0dd68fd6-5bf9-462a-94c4-c005e6b36b57" }, { "Id": "9d2cdcef-4333-40f5-ac4a-f869a3d39683", "Type": "StaticIP", "Value": "95.56.14.47", "DNSPolicyId": "3e7725f3-94e7-4cb7-8977-da6ab85ee727" } ] }
<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>0dd68fd6-5bf9-462a-94c4-c005e6b36b57</DNSPolicyId> <Id>548decd7-5f02-4e21-9f65-042aa81726e5</Id> <Type>StaticIP</Type> <Value>95.204.232.24</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>3e7725f3-94e7-4cb7-8977-da6ab85ee727</DNSPolicyId> <Id>9d2cdcef-4333-40f5-ac4a-f869a3d39683</Id> <Type>StaticIP</Type> <Value>95.56.14.47</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>