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/F76B-92E0-6B78-434B-9123/sites/75e58e6e-f4db-430f-a16c-8f831449cd19/dnsp/mappings/d12fa0d0-823c-4ef4-ae42-0b6e29b27f59
|
Body Parameters
None.
Response Information
Resource Description
Information about a DNS Protection policy mapping.
GetDNSPPolicyMappingsResponseModel| Name | 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": "4b8e271f-cc5a-4ca6-991b-576e916a6c1b",
"Type": "StaticIP",
"Value": "95.39.196.53",
"DNSPolicyId": "a260a22f-99df-4529-bb07-5cf23f22f2d4"
}
]
}
<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>a260a22f-99df-4529-bb07-5cf23f22f2d4</DNSPolicyId>
<Id>4b8e271f-cc5a-4ca6-991b-576e916a6c1b</Id>
<Type>StaticIP</Type>
<Value>95.39.196.53</Value>
</GetDNSPPolicyMappingsResponseModel_Mapping>
</PolicyMappings>
<TotalCount>1</TotalCount>
</GetDNSPPolicyMappingsResponseModel>