WebSphere brand IBM WebSphere Sensor Events, Version 6.2

viewItemById

Purpose

This Web service returns the current or historical details of a given item. The condition for this Web service is the method, getLasItemDetail, which returns a LasItemDetail and contains all the information for an item.

Syntax

LasItem viewItemById(String itemID,LocaleDescriptor locale,String timeStamp)

Input

itemID: The item ID of the item to be viewed. You can get the item ID using the getItemID() method of the TagDetail.

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.