GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/dnsp/mappings/{mappingId}
Returns detailed information for a specified mapping of a DNS Protection policy.
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 |
mappingId |
The identifier of the policy mapping to query information for. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/6D4A-24E1-95F5-428C-8D9F/sites/934c8c2c-11ad-4e19-93c5-401a61968aaf/dnsp/mappings/3e32f7d9-fe23-4746-9538-7495472cfd3c
|
Body Parameters
None.
Response Information
Resource Description
Information about a DNS Protection policy mapping.
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": 1, "PolicyMappings": [ { "Id": "d9b24a00-8762-48b9-bb79-efdd9b555d65", "Type": "StaticIP", "Value": "95.41.112.40", "DNSPolicyId": "23293a6f-6822-496d-8176-02f3a4c21a6e" } ] }
<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>23293a6f-6822-496d-8176-02f3a4c21a6e</DNSPolicyId> <Id>d9b24a00-8762-48b9-bb79-efdd9b555d65</Id> <Type>StaticIP</Type> <Value>95.41.112.40</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>1</TotalCount> </GetDNSPPolicyMappingsResponseModel>