Restore Objects from Quarantine |
Request Parameter
Returned Errors 1.If the Quarantine is disabled at the Dr.Web Server, the script returns the following error:
2.If the Quarantine is not available at the station, the script returns the following error:
Request Example For the request to restore object from the Quarantine, the object parameter is formed like the following: <object>%3A<station_id>%3A<q_time>. The <station_id> parameter is a station identifier specified in Get Quarantine State Information request. The response for this request contains <object> and <q_time> parameters. From the request example of Get Quarantine State Information: <station_id> = 1002 <object> = Fc45be5fbe1f9f0b64f9a58fa898b73d913ad494aabb4aa9341c96737600fa44 <q_time> = 20200422110324000 In the result, you have the following request:
XML and JSON response structure examples are described below.
Description of XML Response Parameters The <items /> element contains information on of all objects for which the restoring from the Quarantine was requested. •The <object /> element contains information on a specific Quarantine object. The <object /> element attribute:
The <object /> element value contains the information on a restored object similarly to the information that is passed in the object argument in the initial request.
Description of JSON Response Parameters The data block contains information about all objects for which the restoring from the Quarantine was requested. The data block elements:
|