Zimbra Rest API - Get Tasks in progress

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

Zimbra Rest API - Get Tasks in progress

Postby clode_yes » Thu Jun 01, 2017 2:20 pm

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

Postby shrikant-prasad » Fri Jun 09, 2017 6:25 am

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

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests