Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /host/scan/count/all

Get /host/scan/count/all

Description

Returns the count of all Scan Results in the database.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

Get https://10.106.94.152:8443/api/v2/host/scan/count/all

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"userID": "string",

"hostName": "string",

"policy": "string",

"location": "string",

"status": 0,

"type": 0,

"version": 0,

"testTime": 0,

"state": "string",

"macs": [

{}

],

"tests": [

{}

],

"epcconfigName": "string",

"operatingSystem": "string",

"applications": "string"

}

],

"filtered": 0,

"total": 0

}

Get /host/scan/count/all

Get /host/scan/count/all

Description

Returns the count of all Scan Results in the database.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

Get https://10.106.94.152:8443/api/v2/host/scan/count/all

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"userID": "string",

"hostName": "string",

"policy": "string",

"location": "string",

"status": 0,

"type": 0,

"version": 0,

"testTime": 0,

"state": "string",

"macs": [

{}

],

"tests": [

{}

],

"epcconfigName": "string",

"operatingSystem": "string",

"applications": "string"

}

],

"filtered": 0,

"total": 0

}