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/6CD9-19C6-7105-406C-9927/sites/c3908cf7-f2c2-4a6d-bae9-150cc6fde16d/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": "4f3ad38d-bdbe-4e62-94f5-da9a1e72a350", "Type": "StaticIP", "Value": "95.77.47.78", "DNSPolicyId": "9b1ea083-9bb1-4dc9-8dab-efd11b5f11e4" }, { "Id": "74130f2d-181c-4db1-8db9-0db972c97e63", "Type": "StaticIP", "Value": "95.24.246.141", "DNSPolicyId": "0408184c-34d4-49de-b1c3-c44ba017d4e1" } ] }
<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>9b1ea083-9bb1-4dc9-8dab-efd11b5f11e4</DNSPolicyId> <Id>4f3ad38d-bdbe-4e62-94f5-da9a1e72a350</Id> <Type>StaticIP</Type> <Value>95.77.47.78</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>0408184c-34d4-49de-b1c3-c44ba017d4e1</DNSPolicyId> <Id>74130f2d-181c-4db1-8db9-0db972c97e63</Id> <Type>StaticIP</Type> <Value>95.24.246.141</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>