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

NameDescriptionTypeAdditional 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

Body Parameters

None.

Response Information

Resource Description

Information about a DNS Protection policy mapping.

GetDNSPPolicyMappingsResponseModel
NameDescriptionTypeAdditional 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": "e1b3f6cb-cff8-4526-acf2-cd786a39b856",
      "Type": "StaticIP",
      "Value": "95.251.154.209",
      "DNSPolicyId": "83095719-f196-4a3e-8f86-bab41fc32610"
    }
  ]
}                    
<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>83095719-f196-4a3e-8f86-bab41fc32610</DNSPolicyId>
      <Id>e1b3f6cb-cff8-4526-acf2-cd786a39b856</Id>
      <Type>StaticIP</Type>
      <Value>95.251.154.209</Value>
    </GetDNSPPolicyMappingsResponseModel_Mapping>
  </PolicyMappings>
  <TotalCount>1</TotalCount>
</GetDNSPPolicyMappingsResponseModel>