Terminate a Dialog Activity Workflow item by raising a terminating event. The possible terminating events are defined in the Terminate Events Collection, so first you need to navigate to the collection.
You need to add the following parameters:
Object Type
Event
Make a POST request on the following URL:
http://<host name>:<port>/sap/opu/sdata/sap/wfactivitytaskprocessing/TerminateEvents_RaiseEvent?value=<workitem_id>&scheme_id=IWF_ACTIVITY_TASK_GW&scheme_agency_id=<SID_system>_<client>&event=<event_name>&object_type=<object_type>