Get Free Busy
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...
...also tried just getting a certain range...
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?
I realise this is an old thread but for the sake of completeness I will post my answer:
Originally Posted by Chewie71
You can run zmmailbox as the zimbra user together with the suffix of the url between quotes, like so:
Replace email@example.com with your actual user account.
zmmailbox -z -m firstname.lastname@example.org getRestURL "/calendar.ifb?start=0d&end=5d"
@uid is the target of the Free/Busy request.
zmsoap -z -t mail -m username GetFreeBusyRequest @uid="someuser@somedomain" @e="1350499000000" @s="1350050243000"
@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.