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/84BB-ACF8-EA45-47F3-90F3/sites/f1df5d15-528a-4b05-9c8e-d2703d6c6b48/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": "fb335908-8efa-4a3c-8b52-5fd6ba6dc427", "Type": "StaticIP", "Value": "95.21.178.94", "DNSPolicyId": "042cb114-805a-4c06-a25c-95b225ca4cdc" }, { "Id": "d47b3588-8ba0-4d9b-8405-194c3ef75929", "Type": "StaticIP", "Value": "95.160.168.204", "DNSPolicyId": "1d774db7-04b7-4436-bc1b-1f462bd64ddd" } ] }
<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>042cb114-805a-4c06-a25c-95b225ca4cdc</DNSPolicyId> <Id>fb335908-8efa-4a3c-8b52-5fd6ba6dc427</Id> <Type>StaticIP</Type> <Value>95.21.178.94</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>1d774db7-04b7-4436-bc1b-1f462bd64ddd</DNSPolicyId> <Id>d47b3588-8ba0-4d9b-8405-194c3ef75929</Id> <Type>StaticIP</Type> <Value>95.160.168.204</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>