Fortinet black logo

Administration Guide

Network devices - bulk

Copy Link
Copy Doc ID 8bec453a-b242-11e9-a989-00505692583a:669690
Download PDF

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>

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>