Set Antivirus

put

/filescanner

Sets the antivirus details for scanning files. Virus scanning is available to ensure that files loaded into Essbase are virus-free. Antivirus software should have ICAP support.

Request

There are no request parameters for this operation.

Back to Top

Response

200 Response

OK

The operation completed successfully.

400 Response

Bad Request

Failed to set the antivirus details.

Back to Top

Examples

The following example shows how to configure the antivirus scanner for Essbase.

This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.

Script with cURL Command

call properties.bat
curl -X PUT "https://myserver.example.com:9001/essbase/rest/v1/filescanner" -H Accept:application/json -H Content-Type:application/json -d '{"enabled": true, "host": "https://myserver.example.com", "port": 1344}' -u %User%:%Password%

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
  "enabled" : true,
  "host" : "https://myserver.example.com",
  "port" : 1344
}
Back to Top