Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /host/device-identity/count/all

Get /host/device-identity/count/all

Description

Returns the count of all Device identity records in the database.

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/host/device-identity/count/all

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"source": "string",

"physAddress": "string",

"ipAddress": "string",

"hostName": "string",

"entityTag": "string",

"os": "string",

"createTime": "2024-04-17T17:51:42.087Z",

"lastHeardTime": "2024-04-17T17:51:42.087Z",

"registered": true,

"vendorOUI": "string",

"vendorName": "string",

"dpcRuleName": "string",

"dpcRuleId": 0,

"entity": {

"name": "string",

"tag": "string",

"imageFile": "string",

"id": 0

}

}

],

"filtered": 0,

"total": 0,

"totals": {

"entityTag": [

{

"name": "string",

"count": 0

}

],

"os": [

{

"name": "string",

"count": 0

}

],

"source": [

{

"name": "string",

"count": 0

}

],

"vendorName": [

{

"name": "string",

"count": 0

}

],

"vendorOUI": [

{

"name": "string",

"count": 0

}

],

"rogues": {

"filtered": 0,

"total": 0

},

"registered": {

"filtered": 0,

"total": 0

}

}

}

Get /host/device-identity/count/all

Get /host/device-identity/count/all

Description

Returns the count of all Device identity records in the database.

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/host/device-identity/count/all

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"source": "string",

"physAddress": "string",

"ipAddress": "string",

"hostName": "string",

"entityTag": "string",

"os": "string",

"createTime": "2024-04-17T17:51:42.087Z",

"lastHeardTime": "2024-04-17T17:51:42.087Z",

"registered": true,

"vendorOUI": "string",

"vendorName": "string",

"dpcRuleName": "string",

"dpcRuleId": 0,

"entity": {

"name": "string",

"tag": "string",

"imageFile": "string",

"id": 0

}

}

],

"filtered": 0,

"total": 0,

"totals": {

"entityTag": [

{

"name": "string",

"count": 0

}

],

"os": [

{

"name": "string",

"count": 0

}

],

"source": [

{

"name": "string",

"count": 0

}

],

"vendorName": [

{

"name": "string",

"count": 0

}

],

"vendorOUI": [

{

"name": "string",

"count": 0

}

],

"rogues": {

"filtered": 0,

"total": 0

},

"registered": {

"filtered": 0,

"total": 0

}

}

}