Get /host/device-types
Description
Returns all private Client Filters, used multifilter queries. If allowed, shared Client Filters are also included.
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-types |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "success",
"errorMessage": null,
"results": [
{
"id": 28,
"name": "Alarm System",
"tag": "security",
"smIcon": "/applets/icons/device/generated/security_16.png",
"lgIcon": "/applets/icons/device/generated/security_16.png",
"isDefault": true
},
{
"id": 32,
"name": "Android",
"tag": "android",
"smIcon": "/applets/icons/device/generated/android_16.png",
"lgIcon": "/applets/icons/device/generated/android_16.png",
"isDefault": true
}
]
}