Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /system/debug/database/relations

Get /system/debug/database/relations

Description

Queries the relations table, a polymorphic associative table between various other tables.

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

relType Required String($byte)
leftType

Required

String($byte)

rightType

Required

String($byte)

leftID

Required

String($byte)

rightID

Required

String($byte)

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/system/debug/database/relations

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

relType: xxxxxxxxx

leftType: xxxxxxxxx

rightType: xxxxxxxxx

leftID: xxxxxxxxx

rightID: xxxxxxxxx

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"state": "string",

"type": "string",

"leftType": "string",

"rightType": "string",

"version": 0,

"leftID": 0,

"rightID": 0

}

]

}

Get /system/debug/database/relations

Get /system/debug/database/relations

Description

Queries the relations table, a polymorphic associative table between various other tables.

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

relType Required String($byte)
leftType

Required

String($byte)

rightType

Required

String($byte)

leftID

Required

String($byte)

rightID

Required

String($byte)

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/system/debug/database/relations

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

relType: xxxxxxxxx

leftType: xxxxxxxxx

rightType: xxxxxxxxx

leftID: xxxxxxxxx

rightID: xxxxxxxxx

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"state": "string",

"type": "string",

"leftType": "string",

"rightType": "string",

"version": 0,

"leftID": 0,

"rightID": 0

}

]

}