Version:

Version:

Version:

Version:


Table of Contents

Online Help

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

roleId

<12345>

Long

Login user identity, 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>

Content-Type: application/json

roleId: 36241

companyId: 8059334

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

roleId

<12345>

Long

Login user identity, 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>

Content-Type: application/json

roleId: 36241

companyId: 8059334

Response Variables

Name

Type

Description

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

Sample Response

{

"count":3,

"message":"malware"

}