Is it possible to turn OFF alarms programmatically?

Now that I've finally got alarms to show up on my Sun Calendar events, I'm wondering if it's possible to programmatically turn OFF a reminder after one has been set.

If, for example, an alarm has been set, using:

"&alarmStart=20060209T140000&alarmEmails=user1;user2",

how do I go back and modify the same event to no longer have an alarm set on it?

I've tried setting the "alarmStart" time to 0, but that makes no difference.

I can turn off the reminders using a web browser, but I would like to be able to do it programmatically. Any ideas?

Thanks,

MK

[620 byte] By [MK@large] at [2007-11-25 21:49:37]
# 1

Okay. I went back and read Chapter 6 (http://docs.sun.com/source/819-0025/pmWCAPcommon.html#wp97646) ... so far I'd been concentrating on Chapter 7 of the Guide. :)

In case anyone else is wondering: the answer is to pass in an empty date string for alarmStart, and set the value of "replace" to 1, like so:

storeevent.wcap?id=sessionID&mod=1&calid=calendarid&uid=event_id 8;alarmStart=&replace=1

Hope that helps someone else who's running into the same issue.

Cheers,

MK

MK@large at 2007-7-5 0:59:22 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...