Get Free Busy

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
16113Chewie71
Outstanding Member
Outstanding Member
Posts: 367
Joined: Fri Sep 12, 2014 10:17 pm

Get Free Busy

Postby 16113Chewie71 » Tue Feb 17, 2009 3:10 pm

Is there a CLI command to get free/busy information for a user? I found a way to get it from a URL that looks like this...

https://servername/home/username/Calendar?fmt=ifb
>

...also tried just getting a certain range...


The">https://servername/home/username/Calendar?fmt=ifb&before=3/1/2009
The URL works to get the whole f/b calendar....but not specifying a range. Is there any CLI way to grab the free/busy?
Thanks,

Matt


rosch
Advanced member
Advanced member
Posts: 138
Joined: Sat Sep 13, 2014 1:34 am

Get Free Busy

Postby rosch » Fri Apr 19, 2013 7:12 am

[quote user="16113Chewie71"]

The URL works to get the whole f/b calendar....but not specifying a range. Is there any CLI way to grab the free/busy?

[/QUOTE]
I realise this is an old thread but for the sake of completeness I will post my answer:

You can run zmmailbox as the zimbra user together with the suffix of the url between quotes, like so:

zmmailbox -z -m user@domain.com getRestURL "/calendar.ifb?start=0d&end=5d"

Replace user@domain.com with your actual user account.
speno
Advanced member
Advanced member
Posts: 56
Joined: Sat Sep 13, 2014 1:08 am

Get Free Busy

Postby speno » Sat Apr 20, 2013 8:57 am



zmsoap -z -t mail -m username GetFreeBusyRequest @uid="someuser@somedomain" @e="1350499000000" @s="1350050243000"

@uid is the target of the Free/Busy request.

@e is the end date.

@s is the start date.
And I believe username is the user to initiate the request from. Since you can hide free/busy info in some situations, not all users would be able to see the target's freebusy info.
In this example, the long date codes such as 1350499000000 and 1350050243000 are unix epoch times (1350499000 or Wed Oct 17 14:36:40 EDT 2012) with three additional digits on the end (000) representing milliseconds.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 15 guests