Optimize 10.7 | webMethods Optimize Documentation | Administering webMethods Optimize | For Developers | Configuring and Using the Web Service Data Collector | Sending Event and Dimensional Data | addEvent (event) and addEvents (events)
 
addEvent (event) and addEvents (events)
The addEvent method sends a single event. The addEvents method sends multiple events. The addEvents method does not support Web service callbacks.
Input Parameters (all parameters are required unless specified as optional)
The following table describes the input parameters.
event
Document Container for the list of event attributes.
attributes
Document ListContainer for event attribute information.
Parameter
Value
name
String Attribute name (such as Revenue).
value
String or key/value Attribute value (such as 500).
eventType
String Type of the event (such as OrderProcess).
time
String Time to associate with the eventType. 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.