
24 Jan
2011
24 Jan
'11
12:23 p.m.
Hi, On 21.01.2011, at 10:08, Roy Kaldung wrote:
Is it possible to do boolean searches (using the API) - (for example: from=email@address.com or freetextfield1=somevalue) or do I have to do two separate searches and intersect the results myself?
Hi, Checkout the optional parameter ContentSearch of the API.
http://dev.otrs.org/cvs/Kernel/System/Ticket.html#item_ticketsearch One additional note, the ContentSearch param: # content search (AND or OR) (optional) ContentSearch => 'AND', is only for From, To, Cc, Subject and Body. So here you can do an boolean search (I improved the documentation just right now). For the use case above From OR FreeText1 it's not working.
Roy
-Martin http://edenhofer.de/