Listing Devices at Client

Service name: list_devices_at_client

Base URL

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client

Description

Lists all devices of type 'server/workstation' for a client.

Note: Default ordering first by sitename then by devicename.

Parameters

Required parameters

Add required parameters immediately after the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&required_parameters={parameter-value}
ParameterDescriptionTypeOptionsDefault
clientidhe clientid must be a valid id.integer00
devicetypeThe devicetype is optional but if used should be either "server" or "workstation" or "mobile_device".stringserver
workstation
mobile_device
Server

Optional parameters

Add optional parameters after the required parameters in the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&required_parameters={parameter-value}&optional_parameters={parameter-value}
ParameterDescriptionTypeOptionsDefault
describeOptional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions.booleantrue0

Determine parameter values

Use the following associated service calls to determine parameter values.

ParameterCallURL Format
clientidlist_clientshttps://{SERVER}/api/?apikey={yourAPIkey}&service=list_clients

Examples

List devices at client for servers

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&clientid=CLIENTID&devicetype=server

Example response

<?xml version="1.0"?>
<result created="2015-07-20T08T08:47:41+01:00" host="SERVER" status="OK">
  <items>
    <client>
      <id>30000077</id>
      <name>TestClient</name>
        <site>
          <id>30000083</id>
          <name>TestSite</name>
          <server>
            <id>30000192</id>
            <name>SERVER</name>
            <username>Company\Administrator</username>
            <description>Dashboard Description</description>
            <status>Ok</status>
            <checkcount>
              <dsc_247>1</dsc_247>
              <pass>3</pass>
              <clear>4</clear>
              <fail>5</fail>
            </checkcount>
            ..... more checkcount nodes (3 total with different content of dsc_247 node)
<takecontrol>1</takecontrol> 
<patch>0</patch> 
<mav>1</mav> 
<mob>1</mob> 
<systray>1</systray>
<mavbreck>0</mavbreck>
</server>
          ..... more nodes
        </site>
      ..... more site nodes
    </client>
  </items>
</result>

List devices at client for workstations

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&clientid=CLIENTID&devicetype=workstation

Example response

<?xml version="1.0"?>
<result created="2015-07-20T08:47:41+01:00" host="SERVER" status="OK">
  <items>
    <client>
      <id>30000077</id>
      <name>TestClient</name>
        <site>
          <id>30000083</id>
          <name>TestSite</name>
          <workstation>
            <id>30000302</id>
            <name>WORKSTATION</name>
            <username>Company\User</username>
            <description>Dashboard Description</description>
            <status>offline</status>
            <checkcount>
              <dsc_247>1</dsc_247>
              <pass>3</pass>
              <clear>4</clear>
              <fail>5</fail>
            </checkcount>
            ..... more checkcount nodes (3 total with different content of dsc_247 node)
<takecontrol>1</takecontrol> 
<patch>0</patch> 
<mav>1</mav> 
<mob>1</mob> 
<systray>1</systray>
<mavbreck>0</mavbreck>
</workstation>
          ..... more nodes
        </site>
      ..... more site nodes
    </client>
  </items>
</result>

List devices at client for mobile devices

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&clientid=CLIENTID&devicetype=mobile_device

Example response

<?xml version="1.0"?>
<result created="2015-07-20T08:47:41+01:00" host="SERVER" status="OK">
  <items>
    <client>
      <id>30000077</id>
      <name>TestClient</name>
        <site>
          <id>30000083</id>
          <name>TestSite</name>
          <mobile_device>
            <id>300251</id>
            <name>MOBILE</name>
<policy_type>cod</policy_type>
</mobile_device>
          ..... more nodes
        </site>
      ..... more site nodes
    </client>
  </items>
</result>

Returned fields

FieldTypeCan Be EmptyDescription
client / idintegernoUnique identifier of client
client / namestringyesName of client
site / idintegernoUnique identifier of site
site / namestringyesName of site
device / idintegernoUnique identifier of device, workstation or server
device / namestringyesName of device
device / usernamestringyesLogged on user
device / descriptionstringyesDevice's Dashboard description
device / statusstringnoStatus of device:
"ok"
"error"
"inactive"
"ispdownown"
"overdue"
"offline" (workstations only)
"maintenance" (servers only)
device / checkcount/dsc_247integernoCheck types of the counts given below this note:
2: Daily Safety Check
1: 24x7 Check
3: Scheduled Task
device / checkcount/passintegernoNumber of tests passing
device / checkcount/failintegernoNumber of tests failing
device / checkcount/clearintegernoNumber of tests cleared
device / takecontrolinteger (1 or 0)noIs Take Control installed and active:
0: No
1: Yes
device / patchinteger (1 or 0)noIs Patch Management installed and active:
0: No
1: Yes
device / mavinteger (1 or 0)noIs Managed Anti-virus (VIPRE Engine) installed and active:
0: No
1: Yes
device / mobinteger (1 or 0)noIs Managed Backup installed and active:
0: No
1: Yes
device / systrayinteger (1 or 0)noIs System Tray installed and active:
0: No
1: Yes
device / mavbreckinteger (1 or 0)noIs Managed Anti-virus (Bitdefender Engine) installed and active:
0: No
1: Yes
device / webprotectioninteger (1 or 0)noIs Web Protection installed and active:
0: No
1: Yes
device / riskintelligenceinteger (1 or 0)noIs Risk Intelligence installed and active:
0: No
1: Yes
mobile_device / policy_typestringnoType of mobile device management policy applied to the device:
cod: Company Owned Device
byod: Employee owned device ("Bring Your Own Device")

Did this page help you?