Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /dynamic/dynamic-connection/{id}

Post /dynamic/dynamic-connection/{id}

Description

Updates a record.

Parameter

Id, the DBID of the firewall session.

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

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

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"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": "2023-11-03T18:20:26.495Z",

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2023-11-03T18:20:26.495Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

Sample Response

{

"status": "success",

"errorMessage": null

}

Post /dynamic/dynamic-connection/{id}

Post /dynamic/dynamic-connection/{id}

Description

Updates a record.

Parameter

Id, the DBID of the firewall session.

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

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

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"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": "2023-11-03T18:20:26.495Z",

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2023-11-03T18:20:26.495Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

Sample Response

{

"status": "success",

"errorMessage": null

}