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/A4E9-CF3D-DA9A-470F-B936/sites/fe04d56a-8e7b-4480-a704-4835f8714957/dnsp/mappings/a6ee95b7-2251-4044-92e4-1b66b71e7a45
|
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": "048ae1df-d502-49e1-8f1b-37d5edb4f283", "Type": "StaticIP", "Value": "95.219.42.245", "DNSPolicyId": "da884f9d-2993-4404-8641-e9abea8b9763" } ] }
<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>da884f9d-2993-4404-8641-e9abea8b9763</DNSPolicyId> <Id>048ae1df-d502-49e1-8f1b-37d5edb4f283</Id> <Type>StaticIP</Type> <Value>95.219.42.245</Value> </GetDNSPPolicyMappingsResponseModel_Mapping> </PolicyMappings> <TotalCount>1</TotalCount> </GetDNSPPolicyMappingsResponseModel>