Optimize 10.11 | webMethods Optimize Documentation | Administering webMethods Optimize | For Developers | Configuring and Using the Web Service Data Collector | Sending Event and Dimensional Data | addStronglyTypedEvent (event) and addStronglyTypedEvents (events)
 
addStronglyTypedEvent (event) and addStronglyTypedEvents (events)
The addStronglyTypedEvent method sends a single strongly typed event. The addStronglyTypedEvents method sends multiple strongly typed events.
Note:
This method is deprecated, and it is supported only for backward compatibility. In a future release, the addStronglyTypedEvent and addStronglyTypedEvents methods will be removed.
Input Parameters (all parameters are required unless specified as optional)
The following table describes the input parameters.
event
Document Container for event information.
eventType
String Type of the event (such as OrderProcess).
pairs
Document List Container for the list of key/value event data.
Parameter
Value
attribute
String Attribute name (such as Revenue).
value
String or key/value Attribute value (such as 500).
timestamp
String The time when the event occurred. The time zone parameter of the date must be set to "GMT" in Designer. For input from Integration Server or Designer, the time must be in the following format:
yyyy-MM-dd’T’HH:mm:ss.SSS’Z’
yyyy-MM-dd’T’HH:mm:ss.SSSZ
yyyy-MM-dd’T’HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss.SSS
Note:
If left blank, this field defaults to the current data and time.
auth
Not used.
_port
Not used.