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/4269-F7B6-879F-4CB0-A111/sites/c7479e4f-5cca-455c-ad2f-6651ac4087d8/dnsp/mappings/3b63c77a-af4b-4800-9ea8-f63d2c16a1df
|
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": "ee361371-c2e9-4340-8d69-766562d07ef2",
"Type": "StaticIP",
"Value": "95.119.124.136",
"DNSPolicyId": "95a27426-c5be-4d3f-8f85-aa0f8ee78b86"
}
]
}
<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>95a27426-c5be-4d3f-8f85-aa0f8ee78b86</DNSPolicyId>
<Id>ee361371-c2e9-4340-8d69-766562d07ef2</Id>
<Type>StaticIP</Type>
<Value>95.119.124.136</Value>
</GetDNSPPolicyMappingsResponseModel_Mapping>
</PolicyMappings>
<TotalCount>1</TotalCount>
</GetDNSPPolicyMappingsResponseModel>