问题描述
|
在我的Zimbra对REST API的查询中,我想获取仅与联系人名称匹配的元素:
http://zimbra.server.com/home/plinard/contacts?fmt=xml&query=(taichimaro)
但是Zimbra即使返回taichimaro作为函数或phoneNumber也会返回每个联系人,那么如何告诉他我想在lastName而不是在所有字段上进行搜索?
n
解决方法
这是在字段中执行的操作:
示例:姓氏
http://zimbra.server.com/home/plinard/contacts?fmt=xml&query=(FIELD[lastname]:taichimaro)
示例:公司
http://zimbra.server.com/home/plinard/contacts?fmt=xml&query=(FIELD[company]:stackoverflow)
这是显示所有属性的链接:
希望它可以对大家有所帮助:)
Zimbra Web客户端搜索提示