Fortinet black logo

Administration Guide

Specific profiled devices

Copy Link
Copy Doc ID 825689eb-200d-11e9-b6f6-f8bc1258b856:31515
Download PDF

Specific profiled devices

Retrieve a specific profiled device.

https://<servername>:8443api/deviceprofiler/profiled/{id}

Return value

Type

Description

deviceType

String

The type of the device determined by the profiling rule.

id

Long

The record ID

ipAddress

String

Primary IP Address

ipAddresses

String

Alternate IP Addresses

location

String

Location

macAddress

String

MAC Address

name

String

Host name

role

String

Role

rule

Matched Device Profiling Rule

Example request

curl -k -u 'username:password' -H "accept: application/xml" -X GET https://localhost:8443/api/deviceprofiler/profiled/3602

Example XML format

<profiledDeviceResult>

<status>success</status>

<profiledDevice>

<deviceType>Registered Host</deviceType>

<id>3602</id>

<ipAddress>192.168.35.55</ipAddress>

<ipAddresses>192.168.35.55 (IPv4)</ipAddresses>

<location>Dell-3324 Port 15</location>

<macAddress>08:00:27:2F:27:00</macAddress>

<name>Win7QA</name>

<role>NAC-Default</role>

<rule>

<id>2</id>

<name>Windows (DHCP)</name>

</rule>

</profiledDevice>

</profiledDeviceResult>

Specific profiled devices

Retrieve a specific profiled device.

https://<servername>:8443api/deviceprofiler/profiled/{id}

Return value

Type

Description

deviceType

String

The type of the device determined by the profiling rule.

id

Long

The record ID

ipAddress

String

Primary IP Address

ipAddresses

String

Alternate IP Addresses

location

String

Location

macAddress

String

MAC Address

name

String

Host name

role

String

Role

rule

Matched Device Profiling Rule

Example request

curl -k -u 'username:password' -H "accept: application/xml" -X GET https://localhost:8443/api/deviceprofiler/profiled/3602

Example XML format

<profiledDeviceResult>

<status>success</status>

<profiledDevice>

<deviceType>Registered Host</deviceType>

<id>3602</id>

<ipAddress>192.168.35.55</ipAddress>

<ipAddresses>192.168.35.55 (IPv4)</ipAddresses>

<location>Dell-3324 Port 15</location>

<macAddress>08:00:27:2F:27:00</macAddress>

<name>Win7QA</name>

<role>NAC-Default</role>

<rule>

<id>2</id>

<name>Windows (DHCP)</name>

</rule>

</profiledDevice>

</profiledDeviceResult>