Zimbra REST API Reference:Get FreeBusy
|
Article Information |
|---|
| This article applies to the following ZCS versions. |
<< Back to Zimbra REST API Reference
REST API Method: Get FreeBusy
Gets the calendar.
URL
http://localhost:7070/home/john.doe/calendar.ifb?{params}
Go to Command Format
HTTP Method
GET
Formats
ifb (Go to Response Formats)
Requires Authentication
true (Go to Authentication)
Parameters
fmt. Optional. The response format. Defaults toifbstart. Optional. The start time range (milliseconds | yyyy/dd/mm | mm/dd/yyy | relative dates ).end. Optional. The end time range (milliseconds | yyyy/dd/mm | mm/dd/yyy | relative dates).
Relative Dates
Relative dates are either in the future (p/+/{not-specified}) or the past (m/-), along with a numeric value, followed by the units. For units, everything after the first character is ignored (except for the "mi" case):
- m(onths)
- mi(nutes)
- d(ays)
- w(eeks)
- h(ours)
- y(ears)
Examples:
start=1dayis "1 day from now"end=+2daysis "2 days from now"start=p1dayis "1 day from now"end=-2daysis "2 days ago"start=+60miis "60 minutes from now"end=+1weekis "1 week from now"end=+6monis "6 months from now"start=1yearis "1 year from now"
Usage Examples
Export free/busy data for all calendars that are configured to be included in free/busy data:
http://localhost:7070/home/john.doe/calendar.ifb
http://localhost:7070/home/john.doe/calendar?fmt=ifb
http://localhost:7070/home/john.doe/?fmt=ifb
Export free/busy data for all calendars that are configured to be included in free/busy data for the next 60 days:
http://localhost:7070/home/john.doe/calendar.ifb?start=0d&end=60d

