https://api.totalsynergy.com/api/v2/Organisation/testOrg/Tasks/30021
Id | long value - id of task |
{
"id": 69,
"projectId": 3,
"stageId": 15,
"stageName": "Professional Development",
"workBreakdownId": 0,
"sort": 0,
"number": "0.0",
"expenseTypeId": 0,
"expenseType": "",
"name": "Conferences",
"note": "",
"canDelete": false,
"canChangetask": false,
"percent": 0,
"color": "#aaa",
"startDate": null,
"endDate": null,
"startDateAsInt": 0,
"endDateAsInt": 0,
"blockAllDays": true,
"budgetAmount": 0,
"budgetUnits": 0,
"targetSortPositionTaskId": 0,
"tags": "",
"unitSummary": 0,
"totalExTaxSummary": 0,
"noteCount": 0,
"unAllocatedHours": 0,
"delete": false,
"taskRates": []
}
{Response body}
https://api.totalsynergy.com/api/v2/Organisation/testOrg/Tasks/AvailableForTimesheets?stageId=1
StageId | long value - id of stage to search for tasks |
[
{
"id": 1,
"stageId": 1,
"relationId": 0,
"projectId": 0,
"projectName": null,
"name": "CAD Plan / Preparation",
"groupId": 1,
"group": "Stage Tasks",
"percentComplete": 0
},
{
"id": 1,
"stageId": 1,
"relationId": 0,
"projectId": 0,
"projectName": null,
"name": "CAD Plan / Preparation",
"groupId": 2,
"group": "General Project Tasks",
"percentComplete": 0
},
.....
{
"id": 18,
"stageId": 1,
"relationId": 0,
"projectId": 0,
"projectName": null,
"name": "Travel",
"groupId": 2,
"group": "General Project Tasks",
"percentComplete": 0
}
]