Validate Antivirus
post
/essbase/rest/v1/filescanner/actions/validate
Validates the antivirus details. Virus scanning is available to ensure that files loaded into Essbase are virus-free. Antivirus software should have ICAP support.
Request
Supported Media Types
- application/json
- application/xml
Antivirus details.
Root Schema : AVClientInfo
Type:
Show Source
object
-
enabled:
boolean
true if the virus scanner is enabled; false otherwise.
-
host:
string
Host for the virus scanner ICAP server.
-
port:
integer(int32)
Port for the virus scanner ICAP server.
Response
Supported Media Types
- application/json
- application/xml
200 Response
OK
The operation completed successfully.
400 Response
Bad Request
Failed to validate the antivirus details.
Examples
The following example shows how to validate 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 POST "https://myserver.example.com:9000/essbase/rest/v1/filescanner/actions/validate" -H Accept:application/json -H Content-Type:application/json -d '{"host": "https://myserver.example.com", "port": 1344}' -u %User%:%Password%