WebSphere brand IBM WebSphere Sensor Events, Version 6.2

registerItem

Purpose

This Web service can register an item to a tag.

Syntax

ItemIDWithTimeStamp registerItem(int itemID,String tagID,String lastUpdateTime,LocaleDescriptor locale)

Input

itemID: The item ID is from type int (integer). If an item is not yet registered to tag, you can register the item using its ID. The item ID is an attribute of the item.

tagID: A string that has to be unique. To unregister a tag ID, enter blanks or “ as the tag ID.

lastUpdateTime: If you want to set the default value, you have to input null. If you want to use an item from a specific time, you have to set the lastUpdateTime. It is an attribute of an item.

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.

Output

The output from the Web service is an object from the type, ItemIDWithTimeStamp. This contains the item ID and the timestamp of the last update for the new item.


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.