Results 1 to 2 of 2

Thread: Zimbra calendar SOAP interface

  1. #1
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    6

    Default Zimbra calendar SOAP interface

    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.
    Last edited by ict4schools; 11-19-2009 at 02:05 AM.

  2. #2
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    6

    Default

    For the sake of debugging I have tried to use GetApptSummaryRequest, using the following request:
    Code:
    <SOAP-ENV:Body>
        <GetApptSummariesRequest xmlns="urn:zimbraMail" s="1258585200000" e="1258671599000"/>
      </SOAP-ENV:Body>
    It gets me all the items (5 of them). But appart from the appointment, which was showed by the SearchRequest, the other items are empty. So I guess they do really don't have an instance between that start and end date.

    How do I get all the appointments between begindate/time and enddate/time? With all items, even recurring?

Similar Threads

  1. ldap id2entry.bdb has bad LSN
    By pixelplumber in forum Administrators
    Replies: 5
    Last Post: 02-03-2010, 10:44 PM
  2. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  3. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  4. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  5. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •