GET - All Tasks in a project with given status

Purpose

This API is used to retrieve all the tasks that have been added to a project and are either in progress or have been completed.

Request URL 

https://mail.zoho.com/api/tasks/groups/<GroupID>/projects/<projectId>?status=<Status>

Request Parameters

ParameterData TypeDescription
GroupID*LongThe unique identifier used for groups in the organization
projectId*LongThe unique identifer assigned to each project created for group tasks

* - Mandatory parameters

Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
status*Stringinprogress (or) completedThe status of completion of the given task
limit Integer 0 - 499 (default - 20)The number of tasks that you would like to retrieve
fromInteger0 - maximum limitThe task number from which the retrieval has to be done

* - Mandatory parameters

Response Codes

Please refer Response Codes.

Sample Request


				https://mail.zoho.com/api/tasks/groups/53658048/projects/17461000000006001?limit=1&from=0&status=inprogress			

Sample Response


				{
"status": {
"code": 200,
"description": "success"
},
"data": {
"paging": {
"nextPage": "/api/tasks/groups/53658048/projects/17461000000006001?from=1&limit=1&status=2"
},
"tasks": [
{
"owner": {
"name": "Rebecca",
"id": 53608806
},
"numberOfSubtasks": 0,
"modifiedTime": "2018-10-30T15:14:10+05:30",
"attachments": [],
"subtasks": [],
"description": "",
"project": {
"name": "General",
"id": "17461000000006001"
},
"title": "Blog Updates",
"priority": "Normal",
"tags": [],
"createdAt": "2018-10-30T15:14:10+05:30",
"followers": [],
"namespaceId": "53658048",
"id": "17461000000053006",
"assignee": Paula M,
"status": "In Progress"
}
]
}
}