Restore Objects from Quarantine |
Request Parameters
Returned errors 1.If the Quarantine is disabled at the 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 From the returned XML on the Get the Quarantine State request, take the following parameters: <object> = F165CBF1C530C32147A070211842E753CE9104B4C3A7F1A74FE1B83BF8BDA5F0 <station_id> = 50393916-d21d-b211-a829-e404ce518192 <q_time> = 1395854422 For the request to restore object from the Quarantine, the object parameter is formed like the following: <object>:<station_id>:<q_time>. In the result, you have the following request: http://192.168.1.1:9080/api/quarantine/restore.ds?object=F165CBF1C530C32147A070211842E753CE9104B4C3A7F1A74FE1B83BF8BDA5F0:50393916-d21d-b211-a829-e404ce518192:1395854422 Response Documents Structure
Description of XML Response Parameters •The <items /> element contains information on all objects for which the restoring from the Quarantine was requested. ▫The <object /> element contains information on a specific Quarantine object. The <object /> element attributes:
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:
|