Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /logging/connection

Get /logging/connection

Description

Returns all Network Session Event records which match the supplied 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<String>
start Optional Integer

count

Optional

count

sortKey

Optional

sortKey

sortDir

Optional

sortDir

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/logging/connection

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"client": 0,

"ip": "string",

"port": 0,

"type": "string",

"time": "2023-09-28T21:44:22.082Z",

"ident": "string",

"mac": "string",

"location": "string",

"logicalNetwork": "string",

"netID": "string",

"cliConfigName": "string",

"sessionID": "string",

"isRadius": true,

"radiusAttributeDefaultGroup": "string",

"radiusAttributeLogicalNetworkGroup": "string",

"enhancedSnapshot": "string",

"eventType": "string"

}

],

"filtered": 0,

"total": 0

}

Get /logging/connection

Get /logging/connection

Description

Returns all Network Session Event records which match the supplied 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<String>
start Optional Integer

count

Optional

count

sortKey

Optional

sortKey

sortDir

Optional

sortDir

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/logging/connection

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"client": 0,

"ip": "string",

"port": 0,

"type": "string",

"time": "2023-09-28T21:44:22.082Z",

"ident": "string",

"mac": "string",

"location": "string",

"logicalNetwork": "string",

"netID": "string",

"cliConfigName": "string",

"sessionID": "string",

"isRadius": true,

"radiusAttributeDefaultGroup": "string",

"radiusAttributeLogicalNetworkGroup": "string",

"enhancedSnapshot": "string",

"eventType": "string"

}

],

"filtered": 0,

"total": 0

}