Next Topic

Previous Topic

Book Contents

devicelist_xml

The devicelist_xml command returns an xml document containing a list on all devices and monitors that the user can access.

Syntax

http://localhost:8080/extract.xsi?cmd=devicelist_xml&user=Admin

cmd

device_xml

user

KNM user username

Returned data

An xml document.

XML fields

DEVICELIST

Root of tree

DEVICE

Root of device

NAME

Name of the device

DESC

Description of the device

ID

ID Number of device

MONITOR

Root of device

ID

ID Number of Monitor

NAME

Name of the monitor

Example

<DEVICELIST>
	<DEVICE>
		<NAME>Fileserver</NAME>
		<DESC>Office fileserver</DESC>
		<ID>955</ID>
			<MONITOR>
				<ID>8</ID>
  				<NAME>Bandwidth test</NAME>
  			</MONITOR>
	</DEVICE>
</DEVICELIST>