Never mind I figured it out. The python library I was using ( https://pypi.python.org/pypi/icalendar) mistakenly uses a colon instead of a semicolon after ATTENDEE and ORGANIZER... weird that never got caught or maybe I'm doing something wrong there. Anyways, disregard. Atli. On 19 March 2014 13:26, Atli Thorbjornsson <atlithorn@gmail.com> wrote:
Hi all, I'm writing a client for the CalendarServer and hit a small snag. I'm testing the outcome via Calendar app on OS X.
I can PUT vcalendar items with rrule to the server and they come out correctly. I can PUT a recurrence with a changed DTEND to the server and it comes out correctly.
When I add an ATTENDEE to the recurrence however I have problems.
If I do it via the calendar app I can see that it triggers this after the put: "implicit REQUEST - organizer:..." and the attendee gets a copy of the vcalendar.
When I run my put request however this does not happen. The contents of the requests are identical but is there anything special I need to do to trigger this? I might be missing something in the headers?
Here is my post-data to create a recurrence with changed DTEND and ATTENDEE
PUT /calendars/__uids__/MjoxOnVzZXJz/calendar/e1f28de99f062e471cf04c582cc1e994.ics
BEGIN:VCALENDAR VERSION:2.0 PRODID:Sling RestAPI BEGIN:VEVENT SUMMARY:Cleaning the 4th floor DTSTART:20140501T120000Z DTEND:20140501T160000Z DTSTAMP:20140319T131700Z UID:e1f28de99f062e471cf04c582cc1e994 SEQUENCE:3 CREATED:20140319T131700Z LOCATION:2 RRULE:FREQ=WEEKLY;COUNT=10;BYDAY=MO,TU,WE,TH,FR END:VEVENT BEGIN:VEVENT SUMMARY:Cleaning the 4th floor DTSTART:20140502T120000Z DTEND:20140502T150000Z DTSTAMP:20140319T131700Z UID:e1f28de99f062e471cf04c582cc1e994 RECURRENCE-ID:20140502T120000Z SEQUENCE:4 ATTENDEE:CN="One sling";CUTYPE=INDIVIDUAL;EMAIL="1@sling.is ";PARTSTAT=NEEDS-ACTION;RSVP=TRUE;SCHEDULE-STATUS="1.2":urn:uuid:MToxOnVzZXJz CREATED:20140319T131700Z ORGANIZER:CN="Two sling";EMAIL="2@sling.is":urn:uuid:MjoxOnVzZXJz END:VEVENT END:VCALENDAR
Thanks, Atli.