deleteEvent

From LongJump Support Wiki
Functions.deleteEvent(String eventId)
Deletes the event for the eventId.
To retrieve the ID of the event to be deleted, use Functions.searchRecords() API.

Syntax

Result = Functions.deleteEvent(String eventID)

Parameters

eventID
The identifier of the event

Return

Result object
Example
This example invokes deleteEvent to remove the event identified by eventID.
String eventID = "";
// Some code to populate the eventID, through searchRecords/getRecord API
Functions.deleteEvent(eventID);