GET /service/api/console/gsm/{gsmKey}/dnsp/categories
Returns a list of available DNS Protection categories and their respective identifiers.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/38F2-D0BD-F127-4A18-96A7/dnsp/categories
|
Body Parameters
None.
Response Information
Resource Description
Information about DNS Protection categories.
GetDNSPCategoriesResponseModelName | Description | Type | Additional Information |
---|---|---|---|
TotalCount |
Total number of categories available. |
integer |
None. |
Categories |
The list of categories. |
Collection of GetDNSPCategoriesResponseModel_Category |
None. |
Sample Response
{ "TotalCount": 2, "Categories": [ { "Id": 1, "Name": "Real Estate", "Description": "Information on renting, buying, or selling real estate or properties. Tips on buying or selling a home. Real estate agents, rental or relocation services, and property improvement." }, { "Id": 2, "Name": "Computer and Internet Security", "Description": "Computer/Internet security, security discussion groups." } ] }
<GetDNSPCategoriesResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <Categories> <GetDNSPCategoriesResponseModel_Category> <Description>Information on renting, buying, or selling real estate or properties. Tips on buying or selling a home. Real estate agents, rental or relocation services, and property improvement.</Description> <Id>1</Id> <Name>Real Estate</Name> </GetDNSPCategoriesResponseModel_Category> <GetDNSPCategoriesResponseModel_Category> <Description>Computer/Internet security, security discussion groups.</Description> <Id>2</Id> <Name>Computer and Internet Security</Name> </GetDNSPCategoriesResponseModel_Category> </Categories> <TotalCount>2</TotalCount> </GetDNSPCategoriesResponseModel>