Fortinet Document Library

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

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>