Access user resources
Added by IBM contributorAnna G O'Neal | Edited by Claudia R Elbourn on June 26, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Provide the Calendaring Extensions to WebDAV (CalDAV) client with access to CalDAV resources of users.

Table 1. API details

Method Resource address
PROPFIND PROPFIND /.well-known/caldav

The following code provides a sample implementation of the API. For details about using the API in your own development environment, see the Internet Engineering Task Force (IETF) Request for Comments (RFC) resources at the end of this topic.

Sample request



User-Agent: iOS/5.0.1 (9A405) Preferences/1.0

Content-Length: 181

Accept: */*

Accept-Language: en-us

Accept-Encoding: gzip, deflate

Depth: 0

Content-Type: text/xml

Authorization: Basic <base64 encoding of user_email:password>

Connection: keep-alive

Proxy-Connection: keep-alive

<?xml version="1.0" encoding="UTF-8"?>

<A:propfind xmlns:A="DAV:">







Sample response

HTTP/1.1 207 Multi-Status

Server: nginx

Content-Type: application/xml;charset=utf-8

Cache-Control: private, max-age=0

Expires: Thu May 03 08:14:14 GMT 2012

DAV: 1, access-control, calendar-access, calendar-schedule, calendar-proxy, calendar-auto-schedule

Date: Thu, 03 May 2012 08:14:14 GMT

Content-Length: 850

Connection: close

Set-Cookie: JSESSIONID=13EB392B5A9AD916EED4B4F9391B0651; Path=/calendar; Secure

<D:multistatus xmlns:CS="" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:">


<D:href>/calendar/r/dav/w ellknow n/</D:href>






<D:principal-URL xmlns:ns4="">




<D:status>HTTP/1.1 200 OK</D:status>




<A:current-user-principal xmlns:A="DAV:"/>


<D:status>HTTP/1.1 404 Not Found</D:status>




Related Resources

Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol

Defining Well-Known Uniform Resource Identifiers (URIs)