GET /service/api/status/site/dnsp/{keyCode}
 ?machineId={machineId}
 &modifiedSince={modifiedSince}
 &batchSize={batchSize}
 &continuation={continuation}

Returns DNS protection (DNSP) status information for all endpoints matching the specified criteria.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
keyCode

A site keycode for which DNSP status information is to be retrieved.

string

Required

machineId

A machine ID for which DNSP status information is to be retrieved. If omitted, information for all endpoints is for the given site is retrieved.

string

None.

modifiedSince

If specified, returns all DNSP status entries, that were generated traffic after (or at) the given date.

date

None.

batchSize

Specifies the maximum number of entries returned per request. Valid values range from 1 to 1000.

integer

Default value is 50

continuation

A continuation token for batched requests

string

None.

URI Sample(s)

GET
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?batchSize=200
GET
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?batchSize=200&continuation=H4sIAAAAAAAEAM1SS07DMBQckiBVXXXDATgB8bd2d5RuAmkLilhHsetISGkrlMBVuBBnQGLJgnvgkLRdgYQEEgtrPO_Nm-dn-z4EonWeNG5NcAZgFCN5eT4fEVy2QHHVAkPaAsd1CwI3HhB2dRTHvm7nwnDqSRDjxAPTTDauboxZ2RV1jq_IGLs6jtfAk6sLvHnpcIrBdLlMgUFSt5vMNd50mvXuaYc-2WXC
GET
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?machineId=8a8a1a12345c1ca9eelw78965a9c8d789c6fc75381d1234567890fffa91c138:::57cf6d537c9a3e12345bbdaa8ba2a98765c1c5c2:::57cf6d123c9a3e12345bbdaa8ba2a98765c1c5c2
GET
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?modifiedSince=2019-01-01T22:30:00.000Z

Body Parameters

None.

Response Information

Resource Description

Returns DNSP status information for the list of endpoints matching the given criteria. If more items would be returned, than specified by 'batchSize', a continuation URI is returned, which can be used to retrieve the next batch of items

DNSPAgentStatus
NameDescriptionTypeAdditional Information
ContinuationToken

Provides a continuation token for follow-up calls if more data is available than the given batch size.

string

None.

ContinuationURI

Provides a URI for follow-up calls if more data is available than the given batch size.

string

None.

Count

Contains the number of DNSP endpoints returned in the current request.

integer

None.

QueryResults

Endpoint information matching the given query parameters.

Collection of DNSPEndpointInfo

None.

Sample Response

{
  "QueryResults": [
    {
      "HostName": "Computer1",
      "IsVirtualMachine": false,
      "DNSAgentStatus": "Installed",
      "InstalledDate": "2020-04-25T04:36:54.9344322Z",
      "UninstalledDate": null,
      "AgentVersion": "1.3.3.35",
      "LastSeenDate": "2020-05-23T04:36:54.9344322Z",
      "LastModifiedDate": "2020-04-25T06:36:54.9344322Z",
      "TrafficCountLast24Hours": 2134,
      "DNSPolicyID": "d97c5649-4dfe-40a4-accb-5e3cf9470a46",
      "DNSPolicyName": "Securedns High Protection",
      "MachineID": "3d70ddda62114c8eacf932c4639c59d53d70ddda62114c8eacf932c4639c59d5:::2d40e1786e444ac09f4c2d40e1786e444ac09f4c:::2d40e1786e444ac09f4c2d40e1786e444ac09f4c",
      "KC": "BDFA-8063-8D07-4580-9B67",
      "MasterKC": "3A02-1C23-4987-433B-990D"
    },
    {
      "HostName": "Computer2",
      "IsVirtualMachine": false,
      "DNSAgentStatus": "Installed",
      "InstalledDate": "2020-03-25T04:36:54.9344322Z",
      "UninstalledDate": null,
      "AgentVersion": "1.3.3.35",
      "LastSeenDate": "2020-05-21T04:36:54.9344322Z",
      "LastModifiedDate": "2020-03-25T08:36:54.9344322Z",
      "TrafficCountLast24Hours": 2134,
      "DNSPolicyID": "286539b4-d8bc-489c-91d7-4dca61fa5ede",
      "DNSPolicyName": "Securedns High Protection",
      "MachineID": "64e82708d31a46f6812097c0d9d35cb364e82708d31a46f6812097c0d9d35cb3:::1f89aed774fc4b3fa6a01f89aed774fc4b3fa6a0:::1f89aed774fc4b3fa6a01f89aed774fc4b3fa6a0",
      "KC": "BDFA-8063-8D07-4580-9B67",
      "MasterKC": "3A02-1C23-4987-433B-990D"
    }
  ],
  "ContinuationToken": null,
  "ContinuationURI": null,
  "Count": 2
}                    
<DNSPAgentStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.AgentStatus.Models">
  <ContinuationToken i:nil="true" />
  <ContinuationURI i:nil="true" />
  <Count>2</Count>
  <QueryResults>
    <DNSPEndpointInfo>
      <AgentVersion>1.3.3.35</AgentVersion>
      <DNSAgentStatus>Installed</DNSAgentStatus>
      <DNSPolicyID>d97c5649-4dfe-40a4-accb-5e3cf9470a46</DNSPolicyID>
      <DNSPolicyName>Securedns High Protection</DNSPolicyName>
      <HostName>Computer1</HostName>
      <InstalledDate>2020-04-25T04:36:54.9344322Z</InstalledDate>
      <IsVirtualMachine>false</IsVirtualMachine>
      <KC>BDFA-8063-8D07-4580-9B67</KC>
      <LastModifiedDate>2020-04-25T06:36:54.9344322Z</LastModifiedDate>
      <LastSeenDate>2020-05-23T04:36:54.9344322Z</LastSeenDate>
      <MachineID>3d70ddda62114c8eacf932c4639c59d53d70ddda62114c8eacf932c4639c59d5:::2d40e1786e444ac09f4c2d40e1786e444ac09f4c:::2d40e1786e444ac09f4c2d40e1786e444ac09f4c</MachineID>
      <MasterKC>3A02-1C23-4987-433B-990D</MasterKC>
      <TrafficCountLast24Hours>2134</TrafficCountLast24Hours>
      <UninstalledDate i:nil="true" />
    </DNSPEndpointInfo>
    <DNSPEndpointInfo>
      <AgentVersion>1.3.3.35</AgentVersion>
      <DNSAgentStatus>Installed</DNSAgentStatus>
      <DNSPolicyID>286539b4-d8bc-489c-91d7-4dca61fa5ede</DNSPolicyID>
      <DNSPolicyName>Securedns High Protection</DNSPolicyName>
      <HostName>Computer2</HostName>
      <InstalledDate>2020-03-25T04:36:54.9344322Z</InstalledDate>
      <IsVirtualMachine>false</IsVirtualMachine>
      <KC>BDFA-8063-8D07-4580-9B67</KC>
      <LastModifiedDate>2020-03-25T08:36:54.9344322Z</LastModifiedDate>
      <LastSeenDate>2020-05-21T04:36:54.9344322Z</LastSeenDate>
      <MachineID>64e82708d31a46f6812097c0d9d35cb364e82708d31a46f6812097c0d9d35cb3:::1f89aed774fc4b3fa6a01f89aed774fc4b3fa6a0:::1f89aed774fc4b3fa6a01f89aed774fc4b3fa6a0</MachineID>
      <MasterKC>3A02-1C23-4987-433B-990D</MasterKC>
      <TrafficCountLast24Hours>2134</TrafficCountLast24Hours>
      <UninstalledDate i:nil="true" />
    </DNSPEndpointInfo>
  </QueryResults>
</DNSPAgentStatus>