Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /policy/access-configuration

Get /policy/access-configuration

Description

Returns a list of Access Configuration records matching the supplied filter.

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

filter Optional Array
start Optional Integer
count Optional Integer
sortKey Optional String
sortDir Optional String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/policy/access-configuration

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-06T23:31:56.110Z",

"name": "string",

"note": "string",

"taskID": 0,

"access": "string",

"accessAction": 0,

"alias": true,

"logicalNetwork": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-06T23:31:56.110Z",

"id": 0,

"name": "quW/ODuLVsP)?%rW^@pjP<M",

"description": "string",

"guid": 0,

"globalModifiedDate": "2024-03-06T23:31:56.110Z",

"dbid": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-06T23:31:56.110Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

}

},

"sendGroupsToFirewall": true,

"firewallGroups": [

0

],

"radiusAttributeGroupId": 0,

"guid": 0,

"globalModifiedDate": "2024-03-06T23:31:56.110Z",

"yamsEventTag": "string",

"accessValue": "string",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"logicalNetworkID": 0,

"task": {

"elementType": "string",

"nameTag": "string",

"eventTag": "string",

"scheduledObjectType": "string",

"taskType": "string",

"landscape": 0,

"id": 0,

"state": "string",

"version": 0

},

"logicalNetworkName": "string",

"accessActionStr": "string",

"id": 0,

"requestedTags": [

"string"

],

"tags": [

"string"

]

}

],

"filtered": 0,

"total": 0

}

Get /policy/access-configuration

Get /policy/access-configuration

Description

Returns a list of Access Configuration records matching the supplied filter.

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

filter Optional Array
start Optional Integer
count Optional Integer
sortKey Optional String
sortDir Optional String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/policy/access-configuration

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-06T23:31:56.110Z",

"name": "string",

"note": "string",

"taskID": 0,

"access": "string",

"accessAction": 0,

"alias": true,

"logicalNetwork": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-06T23:31:56.110Z",

"id": 0,

"name": "quW/ODuLVsP)?%rW^@pjP<M",

"description": "string",

"guid": 0,

"globalModifiedDate": "2024-03-06T23:31:56.110Z",

"dbid": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-06T23:31:56.110Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

}

},

"sendGroupsToFirewall": true,

"firewallGroups": [

0

],

"radiusAttributeGroupId": 0,

"guid": 0,

"globalModifiedDate": "2024-03-06T23:31:56.110Z",

"yamsEventTag": "string",

"accessValue": "string",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"logicalNetworkID": 0,

"task": {

"elementType": "string",

"nameTag": "string",

"eventTag": "string",

"scheduledObjectType": "string",

"taskType": "string",

"landscape": 0,

"id": 0,

"state": "string",

"version": 0

},

"logicalNetworkName": "string",

"accessActionStr": "string",

"id": 0,

"requestedTags": [

"string"

],

"tags": [

"string"

]

}

],

"filtered": 0,

"total": 0

}