Zimbra REST API Reference:Get Calendar: Difference between revisions

Line 45: Line 45:
<pre>
<pre>
http://localhost:7070/home/john.doe/calendar?fmt=json
http://localhost:7070/home/john.doe/calendar?fmt=json
</pre>
Retrieve the calendar HTML "month" view:
<pre>
http://localhost:7070/home/john.doe/calendar.html
</pre>
<pre>
http://localhost:7070/home/john.doe/calendar?fmt=html
</pre>
Retrieve the calendar HTML "workWeek" view:
<pre>
http://localhost:7070/home/john.doe/calendar?fmt=html&view=workWeek
</pre>
</pre>



Revision as of 21:07, 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 to ics
  • view. Optional. Designates the display when using the html 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

Retrieve the calendar HTML "month" view:

http://localhost:7070/home/john.doe/calendar.html
http://localhost:7070/home/john.doe/calendar?fmt=html

Retrieve the calendar HTML "workWeek" view:

http://localhost:7070/home/john.doe/calendar?fmt=html&view=workWeek


Verified Against: Zimbra Collaboration Suite 6.0 Date Created: 01/16/2010
Article ID: https://wiki.zimbra.com/index.php?title=Zimbra_REST_API_Reference:Get_Calendar Date Modified: 2010-01-16



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search