Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /radius/dictionary

Post /radius/dictionary

Description

Create user-defined RADIUS dictionary entry.

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/radius/dictionary

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"type": "string",

"attribute": "string",

"value": "string",

"format": "string",

"vendor": "string",

"vendorId": 0,

"hasTag": true,

"encryptMethod": 0,

"custom": true,

"definedValues": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

}

}

Sample Response

{

"status": "success",

"errorMessage": null,

"result": {

"dbid": 6302,

"type": "integer",

"attribute": "Acct-Authentic",

"value": "42",

"hasTag": false,

"custom": false,

"definedValues": {

"1": "RADIUS",

"2": "Local",

"3": "Remote",

"4": "Diameter"

}

}

}

Post /radius/dictionary

Post /radius/dictionary

Description

Create user-defined RADIUS dictionary entry.

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/radius/dictionary

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"type": "string",

"attribute": "string",

"value": "string",

"format": "string",

"vendor": "string",

"vendorId": 0,

"hasTag": true,

"encryptMethod": 0,

"custom": true,

"definedValues": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

}

}

Sample Response

{

"status": "success",

"errorMessage": null,

"result": {

"dbid": 6302,

"type": "integer",

"attribute": "Acct-Authentic",

"value": "42",

"hasTag": false,

"custom": false,

"definedValues": {

"1": "RADIUS",

"2": "Local",

"3": "Remote",

"4": "Diameter"

}

}

}