Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /logging/event-alarm-mapping/count

Get /logging/event-alarm-mapping/count

Description

Returns the count of all event to alarm mapping 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/logging/event-alarm-mapping/count

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"state": "string",

"alarmName": "string",

"eventName": "string",

"clearEventName": "string",

"severity": 0,

"elementType": "string",

"elementID": 0,

"notifyGroupID": 0,

"alarmAction": {

"emailMessage": "string",

"valuesForDiff": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"primaryTask": {

"emailMessage": "string",

"name": "string"

},

"secondaryTask": {

"emailMessage": "string",

"name": "string"

},

"duration": 0,

"clearTask": {

"emailMessage": "string",

"name": "string"

},

"message": "string",

"name": "string"

},

"paused": true,

"version": 0,

"scriptName": "string",

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T00:28:19.831Z",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"modifyAuditSummary": "string",

"addAuditSummary": "string",

"notifyGroup": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T00:28:19.831Z",

"landscape": 0,

"dbid": 0,

"elementClass": 0,

"name": "string",

"userGroup": true,

"description": "string",

"accessPolicy": 0,

"daysValid": 0,

"daysInactive": 0,

"guid": 0,

"globalModifiedDate": "2024-03-05T00:28:19.831Z",

"nameLabel": "string"

},

"rule": {

"satisfiedByTime": true,

"type": "string",

"name": "string",

"version": 0

},

"elementTypeAuditType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

}

}

],

"filtered": 0,

"total": 0

}

Get /logging/event-alarm-mapping/count

Get /logging/event-alarm-mapping/count

Description

Returns the count of all event to alarm mapping 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/logging/event-alarm-mapping/count

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"state": "string",

"alarmName": "string",

"eventName": "string",

"clearEventName": "string",

"severity": 0,

"elementType": "string",

"elementID": 0,

"notifyGroupID": 0,

"alarmAction": {

"emailMessage": "string",

"valuesForDiff": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"primaryTask": {

"emailMessage": "string",

"name": "string"

},

"secondaryTask": {

"emailMessage": "string",

"name": "string"

},

"duration": 0,

"clearTask": {

"emailMessage": "string",

"name": "string"

},

"message": "string",

"name": "string"

},

"paused": true,

"version": 0,

"scriptName": "string",

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T00:28:19.831Z",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"modifyAuditSummary": "string",

"addAuditSummary": "string",

"notifyGroup": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T00:28:19.831Z",

"landscape": 0,

"dbid": 0,

"elementClass": 0,

"name": "string",

"userGroup": true,

"description": "string",

"accessPolicy": 0,

"daysValid": 0,

"daysInactive": 0,

"guid": 0,

"globalModifiedDate": "2024-03-05T00:28:19.831Z",

"nameLabel": "string"

},

"rule": {

"satisfiedByTime": true,

"type": "string",

"name": "string",

"version": 0

},

"elementTypeAuditType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

}

}

],

"filtered": 0,

"total": 0

}