Hello, I’m working with Zoho projects API and I have a problem when I try know the difference between a task and subtask into the projects task list.
I need to know if one task is a task or subtask.
Thank’s
I’m using next code:
<form method="post" action="https://projectsapi.zoho.com/portal/torrentclosures/api/private/xml/tasks?authtoken=xxxxxxxxxxxxxxxxxxxxxx">
Project Id:<input type="text" name="projId" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
Flag:<input type="hidden" name="flag" value="allflag">
User:<input type="text" name="uname" value="all">(all or AnyUser or userid)
Milestone status<input type="text" name="mstatus" value="all">(or completed)
Display Type<input type="text" name="dispType" value="upcoming">(or delayed or misc)
<input type="submit" value="Get Project Tasks">
</form>
And one example of result is:
Task
<TaskDetails>
<TaskDetail>
<todolistitem_Startdate>06/02/2014 00:00</todolistitem_Startdate>
<Details>
<TaskOwnerDetail>
<todolistitem_owner_zuid>91b65049c7445adab2cb84e94a5990d8</todolistitem_owner_zuid>
<todolistitem_owner>Fernando Gómez Fuentes</todolistitem_owner>
</TaskOwnerDetail>
</Details>
<Tasklist_id>53d34b83ab5305c119bca8c164f453502a292998f290dfc5</Tasklist_id>
<todolistitem_Enddate>20/02/2014 23:59</todolistitem_Enddate>
<pcompletion>100</pcompletion>
<todolistitem_title>
<![CDATA[ Programación de la primera fase de la aplicación ]]>
</todolistitem_title>
<added_by>0584d14f5367d440b2cb84e94a5990d8</added_by>
<todolistitem_duration>11</todolistitem_duration>
<priority>None</priority>
<todolistitem_id>53d34b83ab5305c119bca8c164f4535023ca193a53051b7d</todolistitem_id>
<todolistitem_id>53d34b83ab5305c1cc0872f36cf6e5fc2a292998f290dfc5</todolistitem_id>
<iscompleted>true</iscompleted>
<personname>e.jimenez</personname>
<tasklist_title>Nuevo sistema de creación de productos</tasklist_title>
</TaskDetail>
</TaskDetails>
//////////////////////////////////////////////////////////////////////////////////////////////
Subtask
<TaskDetails>
<TaskDetail>
<todolistitem_Startdate>10/02/2014 00:00</todolistitem_Startdate>
<Details>
<TaskOwnerDetail>
<todolistitem_owner_zuid>9c5890e228015ec5b2cb84e94a5990d8</todolistitem_owner_zuid>
<todolistitem_owner>a.reina</todolistitem_owner>
</TaskOwnerDetail>
</Details>
<Tasklist_id>53d34b83ab5305c119bca8c164f453502a292998f290dfc5</Tasklist_id>
<todolistitem_Enddate>11/02/2014 23:59</todolistitem_Enddate>
<pcompletion>100</pcompletion>
<todolistitem_title>
<![CDATA[
Reglas de formación para el código de los componentes
]]>
</todolistitem_title>
<added_by>91b65049c7445adab2cb84e94a5990d8</added_by>
<todolistitem_duration>2</todolistitem_duration>
<priority>None</priority>
<todolistitem_id>53d34b83ab5305c1cc0872f36cf6e5fc2a292998f290dfc5</todolistitem_id>
<iscompleted>true</iscompleted>
<personname>Fernando Gómez Fuentes</personname>
<tasklist_title>Nuevo sistema de creación de productos</tasklist_title>
</TaskDetail>
</TaskDetails>
Writer is a powerful online word processor, designed for collaborative work.