Zimbra REST API Reference:Get Calendar: Difference between revisions
Line 23: | Line 23: | ||
<ul> | <ul> | ||
<li><code>fmt</code>. Optional. The response format. Defaults to <code>ics</code></li> | <li><code>fmt</code>. Optional. The response format. Defaults to <code>ics</code></li> | ||
<li><code>view</code>. Optional. Designates the display when using the <code>html</code> format. Options include: day, week, workWeek, month. | |||
<li><code>query</code>. Optional. A query keyword.</li> | <li><code>query</code>. Optional. A query keyword.</li> | ||
</ul> | </ul> |
Revision as of 21:06, 16 January 2010
<< Back to Zimbra REST API Reference
REST API Method: Get Calendar
Gets the calendar.
URL
http://localhost:7070/home/john.doe/calendar?{params}
Formats
ics,json,xml,rss,atom,html
(Go to Response Formats)
Requires Authentication
true
(Go to Authentication)
Parameters
fmt
. Optional. The response format. Defaults toics
view
. Optional. Designates the display when using thehtml
format. Options include: day, week, workWeek, month.query
. Optional. A query keyword.
Usage Examples
Download the calendar as a iCalendar (ICS) file:
http://localhost:7070/home/john.doe/calendar
http://localhost:7070/home/john.doe/calendar?fmt=ics
Retrieve the calendar in XML format:
http://localhost:7070/home/john.doe/calendar?fmt=xml
Retrieve the calendar in JSON format:
http://localhost:7070/home/john.doe/calendar?fmt=json