List of calendar events using Zimbra SOAP API

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
User avatar
haba713
Posts: 2
Joined: Fri Apr 06, 2018 7:15 am

List of calendar events using Zimbra SOAP API

Post by haba713 »

Which Zimbra SOAP API operation should be used for getting a list of calendar events?

The SOAP operation GetCalendarItemSummaries seems to return nothing. I've tested against the API version 8.8.15.

(This question was posted also to StackOverflow.)
User avatar
jeastman
Zimbra Employee
Zimbra Employee
Posts: 82
Joined: Tue Mar 29, 2016 1:36 pm

Re: List of calendar events using Zimbra SOAP API

Post by jeastman »

Hi haba713,

I find the easiest way to get a list of calendar events is to use a search (https://files.zimbra.com/docs/soap_api/ ... earch.html).

If you are interested in getting GetCalendItemSummaries to work properly, you will need to make sure to specify the s (start) and e (end) parameters correctly, along with the actual ID of the calendar you want to look at. This will do some "magic" looking at recurring events and give you instances (usually). Again, I find I am guaranteed to get the results I am looking for by doing a search.
John Eastman
Post Reply