Fortinet Document Library

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

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>