I have a Baikal CalDav Backend running on an Embedded Linux server. I can successfully create a calendar with the MKCALENDAR call with the following body:
<C:mkcalendar xmlns:D='DAV:'xmlns:C='urn:ietf:params:xml:ns:caldav'> <D:set> <D:prop> <D:displayname>Test Calendar</D:displayname> <C:calendar-description>Calendar Description</C:calendar-description> </D:prop> </D:set> </C:mkcalendar> However I have been unable to find an example of how to add events to this calendar.
I have tried the following with no luck:
<C:mkcalendar xmlns:D='DAV:'xmlns:C='urn:ietf:params:xml:ns:caldav'> <D:set> <D:prop> <D:displayname>Test Calendar</D:displayname> <C:calendar-description>I Am Testing</C:calendar-description> <C:calendar-data> <![CDATA[ BEGIN:VCALENDAR BEGIN:VEVENT UID:test123 SUMMARY:Test Event DTSTART=20140920T080000 DTEND=20140920T170000 END:VEVENT END:VCALENDAR]]> </C:calendar-data> </D:prop> </D:set> </C:mkcalendar> Can someone please point me in the right direction in adding events to CalDav calendars using html calls.