REST query should work, but doesn't
I've seen examples in a few places (including this one: User Migration - ZimbraWiki ) of how to retrieve a list of all contacts that have been tagged with a certain tag.
The published format is:
Code:
http://server/zimbra/home/schemers/contacts.csv?query="tag:zimbra"
But when I try this:
Code:
http://192.168.0.112/zimbra/home/dreed/contacts.csv?query="tag:bureau"
I get a CSV file with the field header row, but no content. And several contacts are tagged with the 'bureau' tag.
If I leave off the query part of the URL, it returns all contacts as it should.
Why isn't the query working?
As an alternative, does anyone have an example of a SOAP call that returns all the fields for all contacts that match a tag?
Thanks.
"contacts.csv" says to constrain to the "Contacts" folder
Try somthing like this: Code:
http://192.168.0.112/zimbra/home/dreed/?fmt=csv&query=tag:bureau