Get /host/device-identity
Description
Returns all Device Identity record which match 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[String] |
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/host/device-identity |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "success",
"errorMessage": null,
"results": [
{
"dbid": 1,
"source": "DHCPv4",
"physAddress": "00:50:56:B5:EB:29",
"ipAddress": null,
"hostName": "S108DVQRI__QHD91",
"entityTag": "network",
"os": "FortiSwitch",
"createTime": "2023-08-25T17:40:54.000+0000",
"lastHeardTime": "2023-09-28T19:11:26.000+0000",
"registered": true,
"vendorOUI": "00:50:56",
"vendorName": "VMware, Inc.",
"dpcRuleName": null,
"dpcRuleId": -1,
"entity": {
"name": "Network",
"tag": "network",
"imageFile": "icons/device/generated/network_16.png",
"id": 9
}
}
"registered": {
"filtered": 1,
"total": 1
}
}
}