Fortinet black logo

Online Help

Get Number of DLP Documents

Copy Link
Copy Doc ID f5cba41d-b79a-11ec-9fd1-fa163e15d75b:246019

Number of DLP Documents

Description

Get the total number of DLP sensitive documents.

URL

/api/v1/dashboard/document/dlp

Method: Get

Request Headers

Key

Value

Type

Description

companyId <12345> String Company ID in FortiCWP, 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/document/dlp

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

roleId: 36241

companyId: 8059334

Response Variables

Name

Type

Description

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

Sample Response

{

"count":107,

"message":"sensitive"

}

Number of DLP Documents

Description

Get the total number of DLP sensitive documents.

URL

/api/v1/dashboard/document/dlp

Method: Get

Request Headers

Key

Value

Type

Description

companyId <12345> String Company ID in FortiCWP, 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/document/dlp

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

roleId: 36241

companyId: 8059334

Response Variables

Name

Type

Description

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

Sample Response

{

"count":107,

"message":"sensitive"

}