Results 1 to 7 of 7

Thread: Is there a SOAP API for fetching others' public calendar entries

  1. #1
    sgbeal is offline Intermediate Member
    Join Date
    Sep 2011
    Posts
    17
    Rep Power
    3

    Default Is there a SOAP API for fetching others' public calendar entries

    Hello, developers,

    My company would like to replace our internal shared calendar with one using our Zimbra server. We know how to get the free/busy info, and that's all working fine, but yesterday i hit a wall...

    a) Free/Busy is returning a lot of 1-second slots. From what i can tell (though i cannot say with 100% certainty), there refer to repeating appointments. Since there is no way to map these to their origin appointment (and therefore now way to know their durations), i've got to exclude these from the end user's view. That's the smaller problem, though...

    b) Insofar as i can tell, the only way to fetch calendar data is via the SearchRequest. Also insofar as i can tell, it offers no way to fetch public calendar entries for _other_ users.

    So my questions are:

    1) Is there a Request for fetching public calendar entries for users other than the one who is logged in?

    2) Is the "query" parameter for SearchRequest documented anywhere? The requests i've snooped from the ajax client just send cryptic numbers, e.g. "inid:\"10\" OR inid:\"16000\"".

    :-?

  2. #2
    sgbeal is offline Intermediate Member
    Join Date
    Sep 2011
    Posts
    17
    Rep Power
    3

    Default

    Sorry, i should have mentioned: Zimbra Server 7.1.1_GA_3196.

  3. #3
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    Im not sure to #1, but I have a quick response for #2 at the moment:

    There is a <query> tag within <SearchRequest> that you can use. For example, if you are using SearchRequest in mail:

    <SearchRequest>
    <query>is:unread</query>
    </SearchRequest>

    You can extrapolate that to calendar.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  4. #4
    sgbeal is offline Intermediate Member
    Join Date
    Sep 2011
    Posts
    17
    Rep Power
    3

    Default

    Quote Originally Posted by Krishopper View Post
    There is a <query> tag within <SearchRequest> that you can use. For example, if you are using SearchRequest in mail:

    <SearchRequest>
    <query>is:unread</query>
    </SearchRequest>

    You can extrapolate that to calendar.
    There's the catch, though - it doesn't appear to be documented anywhere that i've found. is:unread would (i presume) apply to mails, but not for appointments (again: i presume/assume).

    Today our Zimbra admin found access rights for allowing a specific user to read other calendars, but i have been unable to confirm that it works as we need because i can't seem to get any calendar/appointment results from SearchRequest. My suspicion is that i need the proper query=string, but i have no clue what needs to go into that string.

  5. #5
    sgbeal is offline Intermediate Member
    Join Date
    Sep 2011
    Posts
    17
    Rep Power
    3

    Default

    BTW: i've found the query string documentation, and i have a tip for the documentors...

    The file soap.txt uses the following notation for query strings: {query-string}. However, a grep for "query-string" does not reveal anything useful. The secrets i've been looking for are in query.txt, which a grep does not reveal because it does not use the same notation used by the file soap.txt.

    So, my recommendation: when a given grammar element refers to an external element, e.g. {query-string}, then make sure the element being referred to also has that denotation somewhere nearby ("within grepping distance"). i've been looking for literally 3 days for this, and the documentation was hidden right under my nose.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by sgbeal View Post
    BTW: i've found the query string documentation, and i have a tip for the documentors...
    You should file a bug report, posting here is next to useless.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    sgbeal is offline Intermediate Member
    Join Date
    Sep 2011
    Posts
    17
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    ...posting here is next to useless.
    Thanks for the tip - i've come to the same conclusion .

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Subscribing User to Calendar through SOAP Api
    By RobTucker in forum Developers
    Replies: 1
    Last Post: 01-15-2013, 09:40 AM
  2. zmzimletctl deploy zimbra_posixaccount.zip - ERROR -
    By todd_dsm in forum Administrators
    Replies: 0
    Last Post: 04-02-2009, 01:41 PM
  3. GAL not working with Active Directory
    By ardiederich in forum Installation
    Replies: 13
    Last Post: 02-12-2008, 08:01 PM
  4. Calendar entries are uneditable after username change.
    By Guest6400 in forum Administrators
    Replies: 2
    Last Post: 06-11-2007, 09:18 AM
  5. Calendar entries uneditable...
    By Guest6400 in forum Administrators
    Replies: 2
    Last Post: 03-30-2007, 03:57 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
  •