Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /dynamic/dynamic-connection/{id}

Get /dynamic/dynamic-connection/{id}

Description

Returns a list of record matching 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

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/dynamic/dynamic-connection/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"firewall": "string",

"source": "string",

"protocol": "string",

"device": "string",

"country": "string",

"countryID": "string",

"hostname": "string",

"srcAddr": "string",

"srcMac": "string",

"srcPort": "string",

"destAddr": "string",

"destMac": "string",

"destPort": "string",

"sentBytes": 0,

"rcvdBytes": 0,

"sentPackets": 0,

"rcvdPackets": 0,

"addedDate": "2024-04-17T22:37:54.461Z",

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-04-17T22:37:54.461Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string"

}

],

"filtered": 0,

"total": 0

}

Get /dynamic/dynamic-connection/{id}

Get /dynamic/dynamic-connection/{id}

Description

Returns a list of record matching 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

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/dynamic/dynamic-connection/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"firewall": "string",

"source": "string",

"protocol": "string",

"device": "string",

"country": "string",

"countryID": "string",

"hostname": "string",

"srcAddr": "string",

"srcMac": "string",

"srcPort": "string",

"destAddr": "string",

"destMac": "string",

"destPort": "string",

"sentBytes": 0,

"rcvdBytes": 0,

"sentPackets": 0,

"rcvdPackets": 0,

"addedDate": "2024-04-17T22:37:54.461Z",

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-04-17T22:37:54.461Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string"

}

],

"filtered": 0,

"total": 0

}