Page 1 of 1

Zimbra Rest API - Get Tasks in progress

Posted: Thu Jun 01, 2017 2:20 pm
by clode_yes
Hi everyone,

I would like to get all tasks with status in-progress with the Zimbra Rest API.
I can get all tasks with this url : http://localhost:7070/home/john.doe/tasks
But how can I use the query parameters to filter on status ?
I don't find any example on the Net.

Thanks,
Claude

Re: Zimbra Rest API - Get Tasks in progress

Posted: Fri Jun 09, 2017 6:25 am
by shrikant-prasad
Query parameters can be passed using "query" param. Example can be found in following link:
https://wiki.zimbra.com/wiki/Zimbra_RES ... :Get_Tasks

But the lucene search is not defined for status field of task. Only one working is for task name:
example:
tasks?fmt=xml&query=subject:<task_name>"