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/EA92-92B0-71A1-4D5C-B4E4/sites/5347b336-0a6d-4d79-8544-102ae3b9131e/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": "5ced307e-b0b5-40c9-a2a0-57f142633d2f", "Type": "StaticIP", "Value": "95.51.7.215", "DNSPolicyId": "b58659de-8c64-4946-83ca-e5dfd36d1b58" }, { "Id": "a9c0ad26-3eb9-4e63-82f7-8ec30a1b4beb", "Type": "StaticIP", "Value": "95.156.144.77", "DNSPolicyId": "62e44f4e-23be-495d-872d-7028ee2df422" } ] }
<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>b58659de-8c64-4946-83ca-e5dfd36d1b58</DNSPolicyId> <Id>5ced307e-b0b5-40c9-a2a0-57f142633d2f</Id> <Type>StaticIP</Type> <Value>95.51.7.215</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>62e44f4e-23be-495d-872d-7028ee2df422</DNSPolicyId> <Id>a9c0ad26-3eb9-4e63-82f7-8ec30a1b4beb</Id> <Type>StaticIP</Type> <Value>95.156.144.77</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>