I'm trying to help my users by making programmatic modifications to some of their calendar entries. I've read all the available blog and docs on updating items using REST, but my updates don't appear to do anything. Also, there's an appalling lack of usable examples of sending actual files.
I'm using the recommended posting command line:
I have an ics file that looks like this:curl -u 'myuserassword' \
--data-binary '@./test.ics' \
'https://server.example.com/service/home/myuser/calendar?fmt=ics'
I then try changing something in the file, like the summary or start time. The curl completes with no errors (if I remove the BEGIN:VCALENDAR I do get an error back) but the entry never gets updated.BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
ORGANIZER:MAILTO:bevan@example.com
UID:f0359778-ce86-4dd0-aaeb-11e7a5308ba9
SUMMARY:Iron Mountain Intro
DESCRIPTION:The following is a new meeting request
DTSTART;TZID="(GMT-08.00) Pacific Time (US & Canada)":20070927T100000
DTEND;TZID="(GMT-08.00) Pacific Time (US & Canada)":20070927T110000
LOCATION:Pasadena Boardroom
STATUS:CONFIRMED
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
ATTENDEE;CN=Pasadena Boardroom;CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT;PARTSTAT
=NEEDS-ACTION;RSVP=TRUE:MAILTOasadena@example.com
DTSTAMP:20070918T182540Z
SEQUENCE:0
END:VEVENT
END:VCALENDAR
Has anyone gotten this sort of thing to work properly and update an existing entry?


LinkBack URL
About LinkBacks
assword' \




