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/4F8B-6ED6-714B-4567-8FB3/sites/a8c2d558-f5ed-40f1-8fcb-ecb16c6d0a49/dnsp/mappings/25f4f392-5ec7-499a-b90a-755ebd130136
|
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": "25a3f195-c061-4fec-8033-34d33f4d7dc4",
"Type": "StaticIP",
"Value": "95.240.106.160",
"DNSPolicyId": "d42b45a6-1d87-4f7d-8a0d-fb7ce1d8448a"
}
]
}
<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>d42b45a6-1d87-4f7d-8a0d-fb7ce1d8448a</DNSPolicyId>
<Id>25a3f195-c061-4fec-8033-34d33f4d7dc4</Id>
<Type>StaticIP</Type>
<Value>95.240.106.160</Value>
</GetDNSPPolicyMappingsResponseModel_Mapping>
</PolicyMappings>
<TotalCount>1</TotalCount>
</GetDNSPPolicyMappingsResponseModel>