Fortinet white logo
Fortinet white logo

Online Help

Get Number of Malware Documents

Get Number of Malware Documents

Description

Get the total number of malware documents.

URL

/api/v1/dashboard/malware

Request Headers

Key

Value

Type

Description

companyId <12345> Integer Company ID - Company ID can be obtained through Get Resource Map
Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCWP
Content-Type application/json String

Sample Request:

Request URL

GET https://www.forticwp.com/api/v1/dashboard/malware

Request Header

Authorization: Bearer <Authorization_Token>

companyId: <Company_ID>

Content-Type: application/json

Response Variables

Name

Type

Description

count Integer Number of malware documents
message String Violation type, e.g., "malware"

Sample Response

{

"count":3,

"message":"malware"

}

Get Number of Malware Documents

Get Number of Malware Documents

Description

Get the total number of malware documents.

URL

/api/v1/dashboard/malware

Request Headers

Key

Value

Type

Description

companyId <12345> Integer Company ID - Company ID can be obtained through Get Resource Map
Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCWP
Content-Type application/json String

Sample Request:

Request URL

GET https://www.forticwp.com/api/v1/dashboard/malware

Request Header

Authorization: Bearer <Authorization_Token>

companyId: <Company_ID>

Content-Type: application/json

Response Variables

Name

Type

Description

count Integer Number of malware documents
message String Violation type, e.g., "malware"

Sample Response

{

"count":3,

"message":"malware"

}