Fortinet black logo

Administration Guide

Network devices - bulk

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

Network devices - bulk

Display all network devices.

URL = https://<servername>:8443/api/network/device/

Return value

Type

Description

Description

String

System description of the device.

Hardware Type

String

Type of network device:

Switch

Wswitch

Printer

server

ID

Integer

ID that uniquely identifies the network device.

IP Address

String

IP Address of the network device, such as "192.168.1.1".

Name

String

System name of the device

SysOID

String

OID of the device, such as 1.3.6.1.4.1.14823.1.1.32.

Example XML format:

<networkDeviceSearchResult>

<status>success</status>

<limit>25</limit>

<networkDevices>

<description>Summit300-24 - Version 7.6e.1 (Build 4) by Release_Master 03/13/06 11:53:13</description>

<hardwareType>switch</hardwareType>

<id>943</id>

<ipAddress>192.168.5.100</ipAddress>

<name>Stk Master</name>

<sysOid>1.3.6.1.4.1.1916.2.67</sysOid>

</networkDevices>

<nextOffset>0</nextOffset>

<offset>0</offset>

<total>1</total>

</networkDeviceSearchResult>

Network devices - bulk

Display all network devices.

URL = https://<servername>:8443/api/network/device/

Return value

Type

Description

Description

String

System description of the device.

Hardware Type

String

Type of network device:

Switch

Wswitch

Printer

server

ID

Integer

ID that uniquely identifies the network device.

IP Address

String

IP Address of the network device, such as "192.168.1.1".

Name

String

System name of the device

SysOID

String

OID of the device, such as 1.3.6.1.4.1.14823.1.1.32.

Example XML format:

<networkDeviceSearchResult>

<status>success</status>

<limit>25</limit>

<networkDevices>

<description>Summit300-24 - Version 7.6e.1 (Build 4) by Release_Master 03/13/06 11:53:13</description>

<hardwareType>switch</hardwareType>

<id>943</id>

<ipAddress>192.168.5.100</ipAddress>

<name>Stk Master</name>

<sysOid>1.3.6.1.4.1.1916.2.67</sysOid>

</networkDevices>

<nextOffset>0</nextOffset>

<offset>0</offset>

<total>1</total>

</networkDeviceSearchResult>