Next Topic

Previous Topic

Book Contents

devicelist_xml

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

Syntax

http://localhost/KNM/extract.xsi?cmd=devicelist_xml&apikey=D05200B0CFAF0437BA8EF9ED6E8889D1

cmd

devicelist_xml

apikey

KNM user's API Key

Returned data

An xml document.

XML fields

DEVICELIST

Root of tree

DEVICE

Root of asset

NAME

Name of the asset

DESC

Description of the asset

ID

ID Number of asset

MONITOR

Root of asset

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>