I'm using the Zimbra SOAP API to get todays appointments. I do also want the instance details so I could use those to detect unique items.
I have, in the day on which i'm searching 5 appointments, but when I search I get only 1 appointment, not 5. Some recurring items are left out. But on some occasions (other dates for example), they are not left out. So I don't understand the behavior of the SearchRequest on the appointments.
This is my SOAP Request:
Code:
<SOAP-ENV:Body>
<SearchRequest xmlns="urn:zimbraMail" types="appointment" limit="500" fetch="all" calExpandInstStart="1258585200000" calExpandInstEnd="1258671599000">
<query>appt-start:11/19/2009 sort:dateasc</query>
</SearchRequest>
</SOAP-ENV:Body> I do saw this note in the documentation:
Code:
***IMPORTANT NOTE: Calendar Items that have no instances within
that range are COMPLETELY EXCLUDED from the results (e.g. not even
an <appt> element>. Calendar Items with no data (such as Tasks
with no date specified) are included, but with no instance
information***
But because there are appointments on that day, I guess that they should not be excluded.
I see other people using GetApptSummariesRequest, but since the documentation says it's deprecated, I wanted to use SearchRequest, as it's mentioned. However I find it does not find all appointments.
Sorry for the lack of explaination, but at the moment I cannot do any better.