Open topic with navigation

# Event

The `Event` action sends XML events as URL-encoded text strings to the ACI port instead of as XML files to the Event port. This option can be useful if the front-end application uses the IDOL ACI API or something similar.

Note: To use `Event`, you must enable the `ActionEvent` configuration parameter. See ActionEvent.

## Parameters

The `Event` action supports the following parameters.

Data

Specify the URL-encoded XML string.

Type: | String
Default: | None
Required: | Yes
Example: |
    data=encoded_string
where `encoded_string` is the XML event in the form of a URL-encoded text string.

InflateBytes

If the `Data` string is encoded in Base64 and is compressed with zlib, `InflateBytes` indicates the original size of the string. This value must be specified by the application that compressed the data.

Type: | Integer
Default: | None
Required: | No
Example: | `InflateBytes=1024`

## Example

    action=Event&Data=<?xml version='1.0' encoding='ISO-8859-1'?><events><queryinfo><ver>0.1</ver><url><![CDATA[action=Query&Spellcheck=True&Highlight=SummaryTerms]]></url><action>query</action><terms><term>This</term></terms><terms><term>is</term></terms><terms><term>an</term></terms><terms><term>event</term></terms><terms><term>test.</term></terms><numhits>12</numhits><ip>127.0.0.1</ip><timestamp>1200398400</timestamp><idolname>myIDOL</idolname></queryinfo></events>

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm