Apama 10.15.4 | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The Cumulocity IoT Transport Connectivity Plug-in | Using events | Updating an existing event
 
Updating an existing event
You can update the text field.
send Event("<EVENT_ID>","c8y_SampleEvent","<SOURCE>",<TIME>,
"Event Updated",new dictionary<string,any>) to Event.SEND_CHANNEL;
Where
*<EVENT_ID> is the identifier of the previously created event. The presence of <EVENT_ID> indicates that the request is for updating an existing event.
Note: 
The params dictionary cannot be manipulated to delete fragments in the Event. However, the fragments in the Event can be deleted using the Cumulocity IoT REST API, which can be invoked in EPL by using GenericRequest events. For more information, see Invoking other parts of the Cumulocity IoT REST API in this documentation and REST usage in the Cumulocity IoT OpenAPI documentation.