Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /logging/event-types/count

Get /logging/event-types/count

Description

Returns the count of all Event Type records that match the provided filter.

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

Request Body Parameters

Name

Required

Type

filter Optional Array

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/host/logging/event-types/count

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"state": "string",

"eventTag": "string",

"elementType": "string",

"alarmTag": "string",

"version": 0,

"systemOnly": true,

"ncm": true,

"groupID": 0,

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T22:29:34.028Z",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"modifyAuditSummary": "string",

"addAuditSummary": "string"

}

],

"filtered": 0,

"total": 0

}

Get /logging/event-types/count

Get /logging/event-types/count

Description

Returns the count of all Event Type records that match the provided filter.

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

Request Body Parameters

Name

Required

Type

filter Optional Array

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/host/logging/event-types/count

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"state": "string",

"eventTag": "string",

"elementType": "string",

"alarmTag": "string",

"version": 0,

"systemOnly": true,

"ncm": true,

"groupID": 0,

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T22:29:34.028Z",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"modifyAuditSummary": "string",

"addAuditSummary": "string"

}

],

"filtered": 0,

"total": 0

}