deleteEvent

From LongJump Support Wiki
Revision as of 00:32, 14 December 2011 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);