GET - All subtasks under a Task

Purpose

This API is used to retrieve all the subtasks that have added under a particular task.

Request URL 

Group Tasks:

https://mail.zoho.com/api/tasks/groups/<GroupID>/<entityId>/subtasks

Personal Tasks:

https://mail.zoho.com/api/tasks/me/<entityId>/subtasks

Request Parameters

ParameterData TypeDescription
GroupID*LongThe unique identifier used for groups in the organization
entityId*LongThe unique identifer assigned to each task

* - Mandatory parameters

Response Codes

Please refer Response Codes.

Sample Request


				Group Tasks:
https://mail.zoho.com/api/tasks/groups/<53658048>/<48184000000091002>/subtasks

Personal Tasks:
https://mail.zoho.com/api/tasks/me/<48184000000091002>/subtasks			

Sample Response


				Group Tasks:
{
    "status": {
        "code": 200,
        "description": "success"
    },
    "data": {
        "tasks": [
            {
                "owner": {
                    "name": "Rebecca",
                    "id": 54136518
                },
                "modifiedTime": "2018-03-28T12:49:59+05:30",
                "attachments": [],
                "parentTask": {
                    "owner": {
                        "name": "Rebecca",
                        "id": 54136518
                    },
                    "modifiedTime": "2018-03-28T12:49:53+05:30",
                    "attachments": [],
                    "reminder": {
                        "dateTime": "2018-03-28T15:00:00+05:30",
                        "emailReminder": false,
                        "popupReminder": true
                    },
                    "dueDate": "28/03/2018",
                    "description": "",
                    "project": {
                        "name": "General",
                        "id": "48184000000006002"
                    },
                    "title": "Blogs",
                    "priority": "Normal",
                    "tags": [],
                    "createdAt": "2018-03-27T20:54:59+05:30",
                    "followers": [],
                    "namespaceId": "54224987",
                    "id": "48184000000091001",
                    "assignee": null,
                    "status": "In Progress"
                },
                "description": "",
                "project": {
                    "name": "General",
                    "id": "48184000000006002"
                },
                "title": "Testimonials",
                "priority": "Normal",
                "tags": [],
                "createdAt": "2018-03-28T12:49:59+05:30",
                "followers": [],
                "namespaceId": "54224987",
                "id": "48184000000092001",
                "assignee": null,
                "status": "In Progress"
            }
        ]
    }
}