Results 1 to 4 of 4

Thread: Query Calendar Via SOAP

  1. #1
    shahins is offline Member
    Join Date
    Oct 2007
    Posts
    10
    Rep Power
    7

    Angry Query Calendar Via SOAP

    Hi,
    Can anyone provide me with a sample code (preferably in Java) that takes username, password, begintime, endtime; and returns all the calendar entries in that time interval?
    I have already digged into the documents and the source code for Zimbra and I found them quite confusing and useless for a newbie. So please do not refer me to the documents as I have gone through them already. All I need is a little sample code demonstrating how a simple query like this is done.
    Thanks

    P.S. I have tried the REST api and after implementing it, I realized the server had a bug and it was returning all the entries in the calendar. So, REST won't help me either.

  2. #2
    jhahm is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    57
    Rep Power
    9

    Default

    Hi, I don't have any Java code to show you, but what may be closest to what you want is SearchRequest made by the Zimbra web client. Run the web client with "?dev=1" in the URL to bring up the debug window. Login, go to calendar view, clear the debug window and click on Refresh button to see the request the client makes to get a week's worth of data. Notice it specifies types="appointment" and sets calExpandInstStart and calExpandInstEnd for time range.

    This request returns list of appointments and their instances in the time range. The distinction is there because appointments can be recurring.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    shahins is offline Member
    Join Date
    Oct 2007
    Posts
    10
    Rep Power
    7

    Default

    Thanks for the reply. I don't have Zimbra client installed here, but having a sample of <SearchRequest> with all the parameters would be as helpful. If you have such a sample would you please send it to me?
    Thanks

  4. #4
    jhahm is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    57
    Rep Power
    9

    Default

    Hi, I suggest you download and install a test server. Once you have it up and running, it's just a matter of adding "?dev=1" to the URL. As an alternative you could try the Hosted Demo Account at www.zimbra.com site.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing Calendar Organizer script
    By snsparrish in forum Administrators
    Replies: 4
    Last Post: 05-02-2011, 04:41 AM
  2. Calendar Insert SOAP Question
    By phingers in forum Developers
    Replies: 0
    Last Post: 09-26-2007, 07:02 AM
  3. Outlook/Zimbra Private Appointments Issue
    By Smurthey in forum Zimbra Connector for Outlook
    Replies: 0
    Last Post: 03-09-2007, 07:29 AM
  4. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM
  5. Replies: 2
    Last Post: 02-26-2007, 11:37 AM

Posting Permissions

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