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
Parameter | Data Type | Description |
GroupID* | Long | The unique identifier used for groups in the organization |
projectId* | Long | The unique identifer assigned to each project created for group tasks |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
status* | String | inprogress (or) completed | The status of completion of the given task |
limit | Integer | 0 - 499 (default - 20) | The number of tasks that you would like to retrieve |
from | Integer | 0 - maximum limit | The task number from which the retrieval has to be done |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copiedhttps://mail.zoho.com/api/tasks/groups/53658048/projects/17461000000006001?limit=1&from=0&status=inprogress
Sample Response
Copied{
"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"
}
]
}
}