Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-2011, 09:21 AM
Intermediate Member
 
Posts: 17
Default Zimbra REST API search problems

Hi,
I have to get xml data from Zimbra using the Zimbra REST API. But I have some problems when getting result using these URLs (that I wrote). Here are my URLs and problems

Inbox :
I used this request to get emails :

Code:
http://zimbra.server.com/home/plinard/?fmt=xml&query=from:taichimaro
But response doesn't contain the date when the email was sent, and sometimes, the email's message is not fully loaded (I see three dots ...).

Agenda :
I want to search for a calendar, if it exists or not, for example : "JUGEvents" calendar, I used this request, but the problem is that it returns all the calendar's data if it exists :

Code:
http://zimbra.server.com/home/plinard/JUGEvenets?fmt=xml
Can I have the list of all calendars instead of using this method ?

Contacts :
I can get the contacts with no problem, but zimbra searchs in all the contact fields. Example : If I want to search for a contact who have the last name "taichimaro", I get all the contacts that even have a function called "taichimaro" or anything else, so I'd like to say to Zimbra : Give me the contact who have for the property "lastName" the value "taichimaro" :

Code:
http://zimbra.server.com/home/plinard/contacts?fmt=xml&query=(taichimaro)
Thnx in advance.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.