Fortinet black logo

Administration Guide

Control task - scan by endpoint ID

Copy Link
Copy Doc ID 8bec453a-b242-11e9-a989-00505692583a:888091
Download PDF

Control task - scan by endpoint ID

Scan by endpoint ID.

URL = https://<servername>:8443/api/control/scan/{id}

Return values:

  • Status: status
  • Message: errorMessage
Example request

curl -k -u '<username>:<password>' -H "accept: application/xml" -X POST https://<servername>:8443/api/control/scan/18

Example XML format

<scanResult>

<status>success</status>

<errorMessage></errorMessage>

</scanResult>

Control task - scan by endpoint ID

Scan by endpoint ID.

URL = https://<servername>:8443/api/control/scan/{id}

Return values:

  • Status: status
  • Message: errorMessage
Example request

curl -k -u '<username>:<password>' -H "accept: application/xml" -X POST https://<servername>:8443/api/control/scan/18

Example XML format

<scanResult>

<status>success</status>

<errorMessage></errorMessage>

</scanResult>