Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /system/group/{id}

Get /system/group/{id}

Description

Returns the group record with the supplied DBID.

Request Parameter

Id, the group record DBID.

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

GET https://10.106.94.152:8443/api/v2/system/group/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"landscape": 0,

"dbid": 0,

"elementClass": 0,

"name": "string",

"userGroup": true,

"description": "string",

"accessPolicy": 0,

"daysValid": 0,

"daysInactive": 0,

"guid": 0,

"globalModifiedDate": "2024-03-19T21:39:30.413Z",

"lastModifiedBy": "string",

"lastModifiedDate": 0,

"nameLabel": "string",

"members": [

{

"id": 0,

"name": "string",

"img": "string"

}

],

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-19T21:39:30.413Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string"

}

}

Get /system/group/{id}

Get /system/group/{id}

Description

Returns the group record with the supplied DBID.

Request Parameter

Id, the group record DBID.

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

GET https://10.106.94.152:8443/api/v2/system/group/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"landscape": 0,

"dbid": 0,

"elementClass": 0,

"name": "string",

"userGroup": true,

"description": "string",

"accessPolicy": 0,

"daysValid": 0,

"daysInactive": 0,

"guid": 0,

"globalModifiedDate": "2024-03-19T21:39:30.413Z",

"lastModifiedBy": "string",

"lastModifiedDate": 0,

"nameLabel": "string",

"members": [

{

"id": 0,

"name": "string",

"img": "string"

}

],

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-19T21:39:30.413Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string"

}

}