WebSphere brand IBM WebSphere Sensor Events, Version 6.2

viewItem

Purpose

This Web service returns all tag attributes for an item, including tag attributes. If a timestamp is entered, it returns the historical attributes. It does not return the current position or outstanding events.

Syntax

LasItem viewItem(String className,KeywordValuePairs[] keyPairs,LocaleDescriptor locale,String timeStamp)

Input

className: A string that represents name of the class for the item.

keyPairs: This variable is a keyword-value pair that represents key properties. The keyword for each keyword-value pair is the name of a key property, and the value is the value for that key property.

locale: If you want to set the default value, you have to input null. See Localization and input parameters for more information about the locale descriptor.

timeStamp: If you want to set the default value, input null. If you want to get a tag from a specific time, set the timeStamp variable in the following format: yyyy-mm-dd hh:mm:ss.fffffffff

Output

You can query the following details from the returned object, LasItem:
  • Class name
  • Item ID
  • The time of the last update
  • Assigned groups
  • Key attributes
  • Optional attributes

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2009. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.