g4gcal_addEvent will add an event to the specified calendar.
Returns: 0 for successful add, -1 for error.
Event ID (output) - The ID of the event that is created.
Error Message (output) - Error message
Settable Variables (use g4gcal_setValue):
id (required) - Your Google ID
calendar_id (required) - The ID of the calendar to add an event to. This should be a valid Calendar ID from field GGCCALID in file G4GCALPF.
event_title (required) - The title of the event to add.
start_date (required) - The date the event starts.
start_time (required) - The time the event starts (in 24 hour format).
end_date (required) - The date the event ends.
end_time (required) - The time the event ends (in 24 hour format. For example, 1:30pm would be 133000)
event_key - The event key to specify on the event. The default is blank and no event key will be added.
event_location - The location of the event. The default is blank.
event_description - A description of the event. The default is blank.
reminder - Whether or not to specify a reminder. *DFT is the default and will use the default reminder set up in the specific calendar which will set up the event with the default reminder type as well as the default reminder time. The other values are email, sms, and popup (case sensitive).
reminder_time - Enter the number of minutes before the event begins to activate the reminder. This value is only used if the Reminder parameter is not *DFT.
send_note - Specify if you wish to send notifications for the event. The default value is *NO. Use *YES if you wish notifications to be sent to those attending.
ccsid - The CCSID to use. The default is 1208.
debug - Specify *YES to turn on debug, or *NO to turn off debug. The default is *NO.
debug_file - Specify the fully qualified file name for the main debug file. The default is /tmp/g4g_[id]_addCalendarEventDebug.txt