Zimbra Rest API - Get Tasks in progress

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
clode_yes
Posts: 1
Joined: Thu Jun 01, 2017 1:41 pm

Zimbra Rest API - Get Tasks in progress

Post 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
shrikant-prasad
Posts: 11
Joined: Fri Jun 09, 2017 4:57 am

Re: Zimbra Rest API - Get Tasks in progress

Post 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>"
Post Reply