Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /settings/integration/trap-mib/update

Post /settings/integration/trap-mib/update

Description

Updates the trap object with mib file name change if supplied name is different from original name and updates the trap object with mib file name change if the supplied name is same as original name.

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
name Required String
oid Required String
label Required String
entOid Required String
ipOid Required String
macOid Required String
userOid Required String
specificType Required String
alarmCause Required String
evtFormat Required String
eventFormat Required String
enterpriseOID Required String
ipaddressOID Required String
macaddressOID Required String
userIDOID Required String

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/settings/integration/trap-mib/update

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

name: "xxxxxxxxxxxxx"

oid: "xxxxxxxxxxxxx"

label: "xxxxxxxxxxxxx"

entOid: "xxxxxxxxxxxxx"

ipOid: "xxxxxxxxxxxxx"

macOid: "xxxxxxxxxxxxx"

userOid: "xxxxxxxxxxxxx"

specificType: "xxxxxxxxxxxxx"

alarmCause: "xxxxxxxxxxxxx"

evtFormat: "xxxxxxxxxxxxx"

eventFormat: "xxxxxxxxxxxxx"

enterpriseOID: "xxxxxxxxxxxxx"

ipaddressOID: "xxxxxxxxxxxxx"

macaddressOID: "xxxxxxxxxxxxx"

userIDOID: "xxxxxxxxxxxxx"

Sample Response

{

"status": "string",

"errorMessage": "string"

}

Post /settings/integration/trap-mib/update

Post /settings/integration/trap-mib/update

Description

Updates the trap object with mib file name change if supplied name is different from original name and updates the trap object with mib file name change if the supplied name is same as original name.

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
name Required String
oid Required String
label Required String
entOid Required String
ipOid Required String
macOid Required String
userOid Required String
specificType Required String
alarmCause Required String
evtFormat Required String
eventFormat Required String
enterpriseOID Required String
ipaddressOID Required String
macaddressOID Required String
userIDOID Required String

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/settings/integration/trap-mib/update

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

name: "xxxxxxxxxxxxx"

oid: "xxxxxxxxxxxxx"

label: "xxxxxxxxxxxxx"

entOid: "xxxxxxxxxxxxx"

ipOid: "xxxxxxxxxxxxx"

macOid: "xxxxxxxxxxxxx"

userOid: "xxxxxxxxxxxxx"

specificType: "xxxxxxxxxxxxx"

alarmCause: "xxxxxxxxxxxxx"

evtFormat: "xxxxxxxxxxxxx"

eventFormat: "xxxxxxxxxxxxx"

enterpriseOID: "xxxxxxxxxxxxx"

ipaddressOID: "xxxxxxxxxxxxx"

macaddressOID: "xxxxxxxxxxxxx"

userIDOID: "xxxxxxxxxxxxx"

Sample Response

{

"status": "string",

"errorMessage": "string"

}