Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /policy/logical-network-configuration

Get /policy/logical-network-configuration

Description

Returns a list of Host Registration Request 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/logical-network-configuration

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-04-25T22:28:25.864Z",

"name": "string",

"note": "string",

"taskID": 0,

"access": "string",

"accessAction": 0,

"alias": true,

"logicalNetwork": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-04-25T22:28:25.864Z",

"id": 0,

"name": "_b7Y'ht|Dx *{wm&V&)_ Y",

"description": "string",

"guid": 0,

"globalModifiedDate": "2024-04-25T22:28:25.865Z",

"dbid": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-04-25T22:28:25.865Z",

"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-04-25T22:28:25.865Z",

"elementId": 0,

"logicalNetworkID": 0,

"rfc5176MessageType": "string",

"rfc5176AttributeGroup": 0,

"elementID": 0,

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"networkID": 0,

"yamsEventTag": "string",

"accessValue": "string",

"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/logical-network-configuration

Get /policy/logical-network-configuration

Description

Returns a list of Host Registration Request 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/logical-network-configuration

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-04-25T22:28:25.864Z",

"name": "string",

"note": "string",

"taskID": 0,

"access": "string",

"accessAction": 0,

"alias": true,

"logicalNetwork": {

"lastModifiedBy": "string",

"lastModifiedDate": "2024-04-25T22:28:25.864Z",

"id": 0,

"name": "_b7Y'ht|Dx *{wm&V&)_ Y",

"description": "string",

"guid": 0,

"globalModifiedDate": "2024-04-25T22:28:25.865Z",

"dbid": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-04-25T22:28:25.865Z",

"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-04-25T22:28:25.865Z",

"elementId": 0,

"logicalNetworkID": 0,

"rfc5176MessageType": "string",

"rfc5176AttributeGroup": 0,

"elementID": 0,

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"networkID": 0,

"yamsEventTag": "string",

"accessValue": "string",

"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

}