开发者

Zimbra Rest API defining parameters in request URL

In my Zimbra's queries for REST API, I want to get elements that match only with the name of contact :

http://zimbra.server.com/home/开发者_StackOverflowplinard/contacts?fmt=xml&query=(taichimaro)

But Zimbra returns every contact even if he find taichimaro as the function or phoneNumber, so how to tell him that I want to search on the lastName and not on all the fields ?

Thnx


This is how to do it for a field :

Example : LastName

http://zimbra.server.com/home/plinard/contacts?fmt=xml&query=(FIELD[lastname]:taichimaro)

Example : Company

http://zimbra.server.com/home/plinard/contacts?fmt=xml&query=(FIELD[company]:stackoverflow)

Here is a link that shows all the attributes : Hope it can help everybody :)

Zimbra Web Client Search Tips

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜