Fortinet black logo

Online Help

Get Number of Malware Documents

Copy Link
Copy Doc ID e0288d11-27c1-11ec-8c53-00505692583a:569630

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

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"

}