Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /ssid

Get /ssid

Description

Returns a summary of all SSIDs associated with the supplied device.

Note: This REST API is introduced in v7.2.6.

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

device Optional Integer
group Optional Integer
name Optional String
domain Optional String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/ssid

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"total": 0,

"results": [

{

"id": 0,

"name": "string",

"devID": 0,

"devName": "string",

"domainID": 0,

"domName": "string",

"networkPolicyFromDev": true,

"radiusFromDev": true,

"priRadiusServer": "string",

"secRadiusServer": "string",

"radiusMode": "string",

"defaultRag": "string",

"radiusServerCfg": "string",

"defaultAccessVal": "string",

"deadAccessVal": "string",

"regAccessVal": "string",

"quarAccessVal": "string",

"authAccessVal": "string"

}

]

}

Get /ssid

Get /ssid

Description

Returns a summary of all SSIDs associated with the supplied device.

Note: This REST API is introduced in v7.2.6.

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

device Optional Integer
group Optional Integer
name Optional String
domain Optional String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/ssid

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"total": 0,

"results": [

{

"id": 0,

"name": "string",

"devID": 0,

"devName": "string",

"domainID": 0,

"domName": "string",

"networkPolicyFromDev": true,

"radiusFromDev": true,

"priRadiusServer": "string",

"secRadiusServer": "string",

"radiusMode": "string",

"defaultRag": "string",

"radiusServerCfg": "string",

"defaultAccessVal": "string",

"deadAccessVal": "string",

"regAccessVal": "string",

"quarAccessVal": "string",

"authAccessVal": "string"

}

]

}