Retrieve calendar properties
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

Retrieve a set of properties of a particular calendar based on the email address of the calendar user.

Table 1. API details

Method Resource address
PROPFIND PROPFIND/calendar/r/dav/calendar/<user_email><calendar_guid>/, where <user_email> is email address of the user, and <calendar_guid> is the globally unique identifier of the calendar.

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



Host: mail-usw

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

Content-Length: 181

Accept: */*

Depth: 0

Accept-Encoding: gzip, deflate

Content-Type: text/xml

Accept-Language: en-us


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:">


<B:getctag xmlns:B=""/>




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 07:52:29 GMT 2012

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

Date: Thu, 03 May 2012 07:52:30 GMT

Content-Length: 693

Connection: close

Set-Cookie: JSESSIONID=8841B7ECB71E8BADB7F92EFCA40A73FA; Path=/calendar; Secure

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





<CS:getctag xmlns:ns4="">1336031324000</CS:getctag>


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




<A:sync-token xmlns:A="DAV:"/>


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





Related Resources

Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol

Calendaring Extensions to WebDAV (CalDAV)