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/EC70-FFA7-E7AE-4D6A-93DE/sites/b8ea26d5-c351-4922-98ae-d58acfe01868/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": "54118f77-319a-42af-8c0a-50a480d948cb", "Type": "StaticIP", "Value": "95.24.174.21", "DNSPolicyId": "38be8407-0f81-4302-8353-60b04f0d5b4a" }, { "Id": "137a1301-d6aa-4fde-bcfd-e05151b9e9ec", "Type": "StaticIP", "Value": "95.185.129.157", "DNSPolicyId": "c847bf4b-af6f-426a-bd3e-6e781d037dde" } ] }
<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>38be8407-0f81-4302-8353-60b04f0d5b4a</DNSPolicyId> <Id>54118f77-319a-42af-8c0a-50a480d948cb</Id> <Type>StaticIP</Type> <Value>95.24.174.21</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> <GetDNSPPolicyMappingsResponseModel_Mapping> <DNSPolicyId>c847bf4b-af6f-426a-bd3e-6e781d037dde</DNSPolicyId> <Id>137a1301-d6aa-4fde-bcfd-e05151b9e9ec</Id> <Type>StaticIP</Type> <Value>95.185.129.157</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>2</TotalCount> </GetDNSPPolicyMappingsResponseModel>