GSD WebDAV Calendar routes

Multiple database configuration


In case web-dav is connected to more than one database, each request should have a databaseAlias prefix. When there is only one database configured for particular web-dav service databaseAlias should remain empty.

GET

GET databaseAlias/cal/:username/:calendarId

Method that returns particular calendar

GET databaseAlias/publicCal/upcoming/:username

This functionality is only available since DOCUframe version 5.9.5.55!
Method that returns upcoming events for specific user. This will return events only if the user decides to share his events, and those events are public. To share the events user have to go in DOCUframe to the menu Settings/Current user/Properties and on the page Dav-Assignment select a check box Share my calendars.

DELETE

DELETE databaseAlias/cal/:username/:calendarId

Method that deletes particular calendar

DELETE databaseAlias/cal/:username/:calendarId/:icsId

Method that deletes particular ics

MOVE

MOVE databaseAlias/cal/:username/:iscId

Method that moves ics from one calendar to another calendar

Request

Headers

Field Value
Destination calendarIdTo/addressbookIdFrom

PROPFIND

PROPFIND databaseAlias/cal/:username

Method that allows to fetch properties from an url

Request

Body

Body for above route must contain <c:checksum-versions> tag

PROPFIND databaseAlias/cal/:username/:calendarId

Method that allows to fetch properties from an url

PROPFIND databaseAlias/cal/:username/outbox

Method that allows to fetch properties from an url

PROPFIND databaseAlias/cal/:username/inbox

Method that allows to fetch properties from an url

PROPFIND databaseAlias/cal/:username/notifications

Method that allows to fetch properties from an url

Body

Body for all above PROPRIND methods must be in XML format according to WebDav protocol

PROPPATCH

PROPPATCH databaseAlias/cal/:username/:calendarId

Method that allows to update properties of provided calendar

Body

Body for this method must be in XML format according to WebDav protocol

PUT

PUT databaseAlias/card/:username/:calendarId/:iscId

Method that creates ics in a particular calendar

Request

Headers

Field Value
If-None-Match *

Body

Body in VCALENDAR format

PUT databaseAlias/card/:username/:addressbookId/:iscId

Method that updates ics in a particular calendar

Request

Headers

Field Description
If-Match last datestamp of vcalendar

Body

Body in VCALENDAR format

Report

REPORT databaseAlias/card/:username/:calendarId

Method that allows to fetch properties for calendar

Body

Body in list of vcardIds in XML format according to WebDav protocol