GET - Completed Tasks in a project
Purpose
This API is used to retrieve all tasks that have been completed in a specific project.
Request URL
https://mail.zoho.com/api/tasks/groups/<GroupID>/projects/<projectId>
Request Parameters
Parameter | Data Type | Description |
GroupID* | Integer | The unique identifier used for groups in the organization |
projectId* | Integer | The unique identifier assigned to each project created for a group task |
* - Mandatory parameters
Request Body
Parameter | Data Type | Allowed Values | Description |
status* | String | completed | The status of the completion of the tasks |
Response Codes
Please refer Response Codes.
Sample Request
CopiedSample URL:
https://mail.zoho.com/api/tasks/groups/53658048/projects/17461000000006006?status=completed
Sample Response
Copied{
"status": {
"code": 200,
"description": "success"
},
"data": {
"tasks": [
{
"owner": {
"name": “Rebecca”,
"id": 42522589
},
"numberOfSubtasks": 1,
"modifiedTime": "2018-11-08T13:48:38+05:30",
"attachments": [
{
"name": "2.png",
"id": 1
}
],
"subtasks": [
{
"owner": {
"name": “Rebecca”,
"id": 42522589
},
"modifiedTime": "2018-11-08T13:45:36+05:30",
"completedAt": "2018-11-08T13:45:36+05:30",
"attachments": [],
"description": "",
"project": {
"name": “Marketing”,
"id": "17461000000006006"
},
"title": “Blog Updates”,
"priority": "Normal",
"tags": [],
"createdAt": "2016-09-02T16:40:16+05:30",
"followers": [],
"namespaceId": "53658048",
"id": "17461000000006008",
"assignee": null,
"status": "Completed"
},
],
"dueDate": "14/06/2017",
"description": "Announcements and blog posts regarding the latest update",
"project": {
"name": "General",
"id": "17461000000006006"
},
"title": "Announcements",
"priority": "Normal",
"tags": [],
"createdAt": "2016-09-02T16:04:59+05:30",
"followers": [],
"namespaceId": "53658048",
"id": "17461000000006003",
"assignee": null,
"status": "Completed"
}
]
}
}