Get States of Stations

Top  Previous  Next

Request Parameters

Parameter

Description

Mandatory

server-id

Identifier of the Server to which stations are connected.

The current Server is by default. You can use neighbor Servers connected to this Server.

yes

group-id

Identifier of a group stations of which will be given in the response

 

Request Example

Response Documents Structure

XML response.

JSON response.

XML Response Structure

<drweb-avdesk-api api_version="4.1.3" timestamp="1392870064" server="192.168.1.1" srv_version="10.01.0.201707130" status="true">

<stations total="5">

<deleted total="0"/>

<with_update_errors total="0"/>

<newbies total="3"/>

<unactivated total="4"/>

<online total="1"/>

<activated total="0"/>

<offline total="2"/>

<deinstalled total="0"/>

<new total="2"/>

</stations>

</drweb-avdesk-api>

Description of XML Response Parameters

The <stations /> element contains information on all stations from requested group.

The <stations /> element attributes:

Attribute

Description

total

Total number of stations in the group

The <stations /> element elements:

Element

Attribute

Description of element value

<deleted />

total

Number of deleted stations

<with_update_errors />

total

Number of stations with errors of antivirus software updates

<newbies />

total

Number of newbies (which request the access to the Server)

<unactivated />

total

Number of unactivated stations

<online />

total

Number of online stations

<activated />

total

Number of activated stations

<offline />

total

Number of offline stations

<deinstalled />

total

Number of stations with uninstalled antivirus software

<new />

total

Number of new stations with not installed antivirus software

JSON Response Structure

{"head": {

"status": true,

"timestamp":1392281490,

"api":{

"version":40103

},

"server":{

"name":"192.168.1.1",

"version":1000201707130,

"uuid": "a509dab1-d423-4059-971a-aa3944a2c48a"

}

},

"data":{

"states":{

"total": 5,

"with_update_errors": 1 ,

"newbies": 3 ,

"expired": 0 ,

"unactivated": 4 ,

"online": 1 ,

"blocked": 0 ,

"deinstalled": 0 ,

"offline": 4 ,

"activated": 1 ,

"new": 4

}

}}

Description of JSON Response Parameters

The states block contains information on all stations from the requested group.

The states block elements:

Field name

Description

total

Total number of stations in the group

deleted

Number of deleted stations

with_update_errors

Number of stations with errors of antivirus software updates

newbies

Number of newbies (which request the access to the Server)

unactivated

Number of unactivated stations

online

Number of online stations

activated

Number of activated stations

offline

Number of offline stations

deinstalled

Number of stations with uninstalled antivirus software

new

Number of new stations with not installed antivirus software