2

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

CharlesB
  • 86,532
  • 28
  • 194
  • 218
eav
  • 2,123
  • 7
  • 25
  • 34
  • If you're satisfied with the response you got, please [click the green check mark outline to the left of the answer to accept it](http://stackoverflow.com/faq#howtoask). – dkarp Jan 25 '11 at 15:50
  • of course, sorry ;)! thanks!! – eav Jan 25 '11 at 22:07

1 Answers1

3

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}
dkarp
  • 14,483
  • 6
  • 58
  • 65
  • I think the first one will do.. I don't need something with the command-line ;) i had the problem with the folderids, before.. – eav Jan 25 '11 at 09:06
  • getApptSummaries is not a static method so it cannot be called from a static context ! – SoukaProgrammer Oct 31 '14 at 10:58