Request Parameters
Parameter
|
Description
|
Valid values
|
Note
|
Mandatory
|
stations-list
|
Station list
|
yes, no
|
The default value is no
|
no
|
XML Reply Structure
<drweb-avdesk-api api_build="201305131" api_version="3.2.0" local_timestamp="1297355346" operation="server-statistics" server="192.168.1.25" srv_branch="REL-1000-AV" srv_version="10.01.0.201707130" status="true" timestamp="1297333746">
<server-statistics from="1291247999" till="1296518399">
<traffic total="141913">
<in>94029</in>
<out>47884</out>
</traffic>
<groups total="98">
<custom>8</custom>
<rate>5</rate>
<system>85</system>
</groups>
<stations total="2">
<online total="1">
<station created="20110127114711227" id="8e2f16b3-76b9-453c-bb01-d97059e3d432" modified="20110128103655640" name="WINTEST" rate="2888b7ff-3625-465e-bcb8-957de17f6458" rate_name="AV" url="http://192.168.1.25:9080/download/download.ds?id=8e2f16b3-76b9-453c-bb01-d97059e3d432" />
</online>
<deinstalled total="0" />
<blocked total="0" />
<expired total="0" />
<offline total="1">
<station created="20110210094210448" id="a70b5614-6b8c-494c-8c48-1f8784659b48" modified="20110210094210448" name="a70b5614-6b8c-494c-8c48-1f8784659b48" rate="91644cc3-1dc1-42dc-a41e-5ea001f5538d" rate_name="AV+AS+PC" url="http://192.168.1.25:9080/download/download.ds?id=a70b5614-6b8c-494c-8c48-1f8784659b48" />
</offline>
<activated total="1">
<station created="20110127114711227" id="8e2f16b3-76b9-453c-bb01-d97059e3d432" modified="20110128103655640" name="WINTEST" rate="2888b7ff-3625-465e-bcb8-957de17f6458" rate_name="AV" url="http://192.168.1.25:9080/download/download.ds?id=8e2f16b3-76b9-453c-bb01-d97059e3d432" />
</activated>
<unactivated total="1">
<station created="20110210094210448" id="a70b5614-6b8c-494c-8c48-1f8784659b48" modified="20110210094210448" name="a70b5614-6b8c-494c-8c48-1f8784659b48" rate="91644cc3-1dc1-42dc-a41e-5ea001f5538d" rate_name="AV+AS+PC" url="http://192.168.1.25:9080/download/download.ds?id=a70b5614-6b8c-494c-8c48-1f8784659b48" />
</unactivated>
</stations>
<viruses total="2">
<virus count="1" name="Adware.Look2me">
<object infection_type="5" originator="57" originator_str="Anti-Virus Dr.Web" owner="Unknown" station="8e2f16b3-76b9-453c-bb01-d97059e3d432" treatment="1025" treatment_str="moved" type="0" username="wintest\Admin:wintest\None">
- <![CDATA[
C:\users\admin\desktop\virs_samples\adware\dprawex.#l
]]>
</object>
</virus>
<virus count="1" name="Tool.SMSSend.137">
<object infection_type="9" originator="57" originator_str="Anti-Virus Dr.Web" owner="wintest\Admin:wintest\None" station="8e2f16b3-76b9-453c-bb01-d97059e3d432" treatment="1" treatment_str="reported" type="0" username="NT AUTHORITY\system:NT AUTHORITY\system">
- <![CDATA[
C:\users\admin\downloads\daemon tools 4.35 rus.exe
]]>
</object>
</virus>
</viruses>
<scan size="5449500346" total="18702">
<deleted>0</deleted>
<moved>1</moved>
<infected>2</infected>
<cured>0</cured>
<errors>3</errors>
<renamed>0</renamed>
<locked>0</locked>
</scan>
<infections total="2">
<reported>1</reported>
<moved>1</moved>
</infections>
</server-statistics>
</drweb-avdesk-api>
|
Description of XML Response Parameters
•The <traffic /> element contains traffic statistics. The <traffic /> element attributes:
Attribute
|
Description
|
in
|
Inbound traffic
|
out
|
Outbound traffic
|
•The <groups /> element contains information about groups. The <groups /> element attributes:
Attribute
|
Description
|
total
|
Total number of groups
|
▫The <custom /> element contains the number of user groups, the <rate /> element contains the number of tariff groups, and the <system /> element contains the number of system groups. •The <stations /> element contains statistics on all stations. The <stations /> element attributes:
Attribute
|
Description
|
total
|
Total number of stations
|
The <stations /> element contains the following nested elements:
Element
|
Description
|
online
|
On-line stations
|
deinstalled
|
Deleted stations
|
blocked
|
Blocked stations
|
expired
|
Expired stations
|
offline
|
Off-line stations
|
activated
|
Activated stations
|
unactivated
|
Unactivated stations
|
▫The <station /> element contains information about a specific station. The <station /> element attributes:
Attribute
|
Description
|
created
|
Creation time
|
id
|
Station ID
|
modified
|
Last modification time
|
name
|
Station name
|
rate
|
Tariff group ID
|
rate_name
|
Tariff group name
|
url
|
Installer download URL
|
•The <viruses /> element contains statistics on all viruses. The <viruses /> element attributes:
Attribute
|
Description
|
total
|
Total number of viruses
|
▫The <virus /> element contains information about a specific virus. The <virus /> element attributes:
Attribute
|
Description
|
name
|
Virus name
|
count
|
Number of infected objects
|
▪The <object /> element contains information about a infected objects. The <object /> element attributes:
Attribute
|
Description
|
infection_type
|
Infection type
|
originator
|
Code of a component that found an infection
|
originator_str
|
Description of a component that found an infection
|
owner
|
File owner
|
station
|
Station ID
|
treatment
|
Code of an action performed towards an infected object
|
treatment_str
|
Action description
|
type
|
Object type (file, memory, archive)
|
username
|
Username
|
•The <scan /> element contains scanning statistics and includes the following elements:
Element
|
Description
|
deleted
|
Number of files deleted
|
moved
|
Number of files moved
|
infected
|
Number of files infected
|
cured
|
Number of objects cured
|
errors
|
Number of scan errors
|
renamed
|
Number of files renamed
|
locked
|
Number of objects blocked
|
The <scan /> element attributes:
Attribute
|
Description
|
total
|
Total files scanned
|
size
|
Size of scanned files (bytes)
|
•The <infections /> element contains statistics on infections and includes the following elements:
Element
|
Description
|
reported
|
Infections to which the Inform action was applied
|
moved
|
Infections moved to quarantine
|
deleted
|
Deleted infections
|
cured
|
Infections from which objects were cured
|
The <infections /> element attributes:
Attribute
|
Description
|
total
|
Total number of infections
|
|