Quarantine List
Service name: mav_quarantine_list
Base URL
https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_quarantine_list
Description
List Managed Antivirus quarantined threats on the specified device.
Parameters
Required parameters
Add required parameters immediately after the base URL.
https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_quarantine_list&required_parameters={parameter-value}
| Parameter | Description | Type | Options | Default | 
|---|---|---|---|---|
| deviceid | The deviceid must be a valid device id. | integer | 0 | 
Optional parameters
Add optional parameters after the required parameters in the base URL.
https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_quarantine_list&required_parameters={parameter-value}&optional_parameters={parameter-value}
| Parameter | Description | Type | Options | Default | 
|---|---|---|---|---|
Optional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions.  | 
  boolean  | 
  true  | 
  0  | 
|
v  | 
  Managed Antivirus engine version  | 
  integer  | 
  1   | 
  2  | 
Determine parameter values
Use the following associated service calls to determine parameter values.
| Parameter | Call | URL Format | 
|---|---|---|
| deviceid | list_devices_at_client | https://{SERVER}/api/?apikey=yourAPIkey&service=list_devices_at_client&clientid=CLIENTID&devicetype=server | 
| list_servers | https://{SERVER}/api/?apikey=yourAPIkey&service=list_servers&siteid=SITEID | |
| list_workstations | https://{SERVER}/api/?apikey=yourAPIkey&service=list_workstations&siteid=SITEID | |
| siteid | list_sites | https://{SERVER}/api/?apikey=yourAPIkey&service=list_sites&clientid=CLIENTID | 
| clientid | list_clients | https://{SERVER}/api/?apikey=yourAPIkey&service=list_clients | 
Examples
List quarantined threats on a device
https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_quarantine_list&deviceid=DEVICEID&v=VERSION
Example response
<?xml version="1.0"?>
<quarantines>
  <quarantine>
    <quarantineguid>{5CCB948F-6F4D-4AEF-93F8-78A8C2D50DE2}</quarantineguid>
    <statusid>1</statusid>
    <group>0</group>
    <quarantineStatus>Quarantined</quarantineStatus>
    <eventDate>2011-05-18 12:30:49</eventDate>
    <threatName>EICAR (v)</threatName>
    <traces>1</traces>
    <eventtype>Deep scan</eventtype>
  </quarantine>
</quarantines>Returned fields
| Field | Type | Can Be Empty | Description | 
|---|---|---|---|
quarantineguid  | 
  integer  | 
  no  | 
  Unique identifier of an instance in quarantine.  | 
statusid  | 
  integer  | 
  no  | 
  Numeric representation of quarantine status:  | 
group  | 
  integer  | 
  no  | 
  Action group identifier:  | 
quarantineStatus  | 
  string  | 
  no  | 
  Text representation of quarantine status. One of: VIPRE or Bitdefender Engines -Quarantined VIPRE Engine Only -Reported  | 
eventDate  | 
  datetime  | 
  no  | 
  Date and time quarantine event recorded.  | 
threatName  | 
  string  | 
  yes  | 
  Name of the recorded threat  | 
traces  | 
  integer  | 
  no  | 
  Number of recorded traces  | 
eventtype  | 
  string  | 
  yes  | 
  Description of the scan event type: VIPRE Engine For Bitdefender this field is not always populated, if it is the value will be one of: Bitdefender Engine  | 
engine  | 
  string  | 
  no  | 
  Managed Antivirus engine where this data originates from, either VIPRE or Bitdefender (field only present where v>1)  | 
Updated 3 months ago