Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /policy/access/supporting-info

Get /policy/access/supporting-info

Description

Returns the information necessary to create an Access Policy.

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/policy/access/supporting-info

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"accessProfiles": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-07T22:54:59.468Z",

"name": "string",

"note": "string",

"guid": 0,

"globalModifiedDate": "2024-03-07T22:54:59.468Z",

"groupIDs": [

0

],

"filterSet": [

"string"

],

"weeklySchedule": {

"version": 0,

"startTimeOfDay": 0,

"endTimeOfDay": 0,

"daysOfWeek": 0,

"validTime": true,

"alwaysOn": true,

"startTimeOfDayAM": true,

"endTimeOfDayAM": true,

"startTimeOfDayHours": 0,

"endTimeOfDayHours": 0,

"startTimeOfDayMinutes": 0,

"endTimeOfDayMinutes": 0

},

"catchAll": true,

"locationIDs": [

0

],

"dbid": 0,

"locationOperator": "OR",

"groupOperator": "OR",

"groupNames": [

"string"

],

"radiusFilterSet": [

{

"enabled": true,

"methodType": {

"id": 0,

"name": "string",

"shortName": "string"

},

"version": 0,

"encrypted": true,

"priority": 0,

"attributeFilters": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"methodTypeString": "string"

}

],

"locationNames": [

"string"

]

}

],

"accessConfigs": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-07T22:54:59.468Z",

"name": "string",

"note": "string",

"taskID": 0,

"access": "string",

"accessAction": 0,

"alias": true,

"logicalNetwork": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-07T22:54:59.468Z",

"id": 0,

"name": "S;^wv^|pQwC\"-_Bb",

"description": "string",

"guid": 0,

"globalModifiedDate": "2024-03-07T22:54:59.468Z",

"dbid": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-07T22:54:59.468Z",

"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-07T22:54:59.468Z",

"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"

]

}

]

}

Get /policy/access/supporting-info

Get /policy/access/supporting-info

Description

Returns the information necessary to create an Access Policy.

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/policy/access/supporting-info

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"accessProfiles": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-07T22:54:59.468Z",

"name": "string",

"note": "string",

"guid": 0,

"globalModifiedDate": "2024-03-07T22:54:59.468Z",

"groupIDs": [

0

],

"filterSet": [

"string"

],

"weeklySchedule": {

"version": 0,

"startTimeOfDay": 0,

"endTimeOfDay": 0,

"daysOfWeek": 0,

"validTime": true,

"alwaysOn": true,

"startTimeOfDayAM": true,

"endTimeOfDayAM": true,

"startTimeOfDayHours": 0,

"endTimeOfDayHours": 0,

"startTimeOfDayMinutes": 0,

"endTimeOfDayMinutes": 0

},

"catchAll": true,

"locationIDs": [

0

],

"dbid": 0,

"locationOperator": "OR",

"groupOperator": "OR",

"groupNames": [

"string"

],

"radiusFilterSet": [

{

"enabled": true,

"methodType": {

"id": 0,

"name": "string",

"shortName": "string"

},

"version": 0,

"encrypted": true,

"priority": 0,

"attributeFilters": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"methodTypeString": "string"

}

],

"locationNames": [

"string"

]

}

],

"accessConfigs": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-07T22:54:59.468Z",

"name": "string",

"note": "string",

"taskID": 0,

"access": "string",

"accessAction": 0,

"alias": true,

"logicalNetwork": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-07T22:54:59.468Z",

"id": 0,

"name": "S;^wv^|pQwC\"-_Bb",

"description": "string",

"guid": 0,

"globalModifiedDate": "2024-03-07T22:54:59.468Z",

"dbid": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-07T22:54:59.468Z",

"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-07T22:54:59.468Z",

"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"

]

}

]

}