Reputation: 2171
I've a question about the soap-java implementation for zimbra.
I'm writing a java-client which should show calendar entries from a USER. for example: user=testuser, all entries between 01.01.2011 and 31.01.2011.
I searched the web, but Zimbra SOAP API doesn't have any good documentation...
PS: connection is ok, i could send a mail from my java application
Upvotes: 2
Views: 1904
Reputation: 14763
If you're using the ZMailbox SOAP client, ZMailbox.getApptSummaries
will give you a List
of ZApptSummaryResult
objects representing all appointments overlapping between your start and end dates:
List<ZApptSummaryResult> appts;
TimeZone tz = TimeZone.getDefault();
appts = ZMailbox.getApptSummaries(null, startTime, endTime, null, tz, null);
If you're using the zmmailbox
command-line client, use the gaps
command:
zmmailbox gaps {start-date-spec} {end-date-spec}
Upvotes: 3