POST TimeTrackingTimesheet/GetByProjects
Get a list of Time Tracking Time Sheet entries for selected projects.
Request Information
URI Parameters
None.
Body Parameters
List of selected project ID's.
Collection of integerRequest Formats
application/json, text/json
[ 1, 2 ]
Response Information
Resource Description
Collection of Time Tracking TimesheetName | Type | Additional information | Description |
---|---|---|---|
ID | integer |
None. |
|
TimeTrackingUserId | integer |
Required |
|
TimeTrackingProjectId | integer |
Required |
|
TimeTrackingTaskId | integer |
Required |
|
TimeTrackingCustomerId | integer |
Required |
|
Date | date |
Required |
|
Hours | decimal |
Required |
|
Comments | string |
None. |
|
SystemGenerated | bool |
None. |
Indicates whether the time sheet was system generated. |
BilledAmount | decimal |
None. |
|
BilledHours | decimal |
None. |
|
WrittenOffHours | decimal |
None. |
|
WrittenOffAmount | decimal |
None. |
|
WeeklyEntries | Collection of Date And Hours Struct |
Read Only / System Generated |
For reporting purposes - only populated with the GetWeeklyByDate and GetWeeklyByDateAndUser calls. Represents a full week of time sheet entries for a project. Returns a list of a minified Time Sheet. |
MonthlyEntries | Collection of Date And Hours Struct |
Read Only / System Generated |
For reporting purposes - only populated with the GetMonthlyByDate and GetMonthlyByDateAndUser calls. Represents a full month of time sheet entries for a project. Returns a list of a minified Time Sheet. |
Locked | bool |
Read Only / System Generated |
Time Sheets which have been billed will be in a Locked state. |
LockedPartially | bool |
Read Only / System Generated |
Indicates if a Time Sheet has been partially billed. |
BillableHours | decimal |
Read Only / System Generated |
|
BillableAmount | decimal |
Read Only / System Generated |
|
$SaveAndToggle | bool |
Read Only / System Generated |
For internal use only. |
Response Formats
application/json, text/json
[ { "ID": 1, "TimeTrackingUserId": 2, "TimeTrackingProjectId": 3, "TimeTrackingTaskId": 4, "TimeTrackingCustomerId": 5, "Date": "2024-11-15", "Hours": 7.0, "Comments": "sample string 8", "SystemGenerated": true, "BilledAmount": 10.0, "BilledHours": 11.0, "WrittenOffHours": 12.0, "WrittenOffAmount": 13.0, "WeeklyEntries": [ { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 }, { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 } ], "MonthlyEntries": [ { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 }, { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 } ], "Locked": true, "LockedPartially": true, "BillableHours": 16.0, "BillableAmount": 17.0, "$SaveAndToggle": true, "$TrackingCode": "sample string 19" }, { "ID": 1, "TimeTrackingUserId": 2, "TimeTrackingProjectId": 3, "TimeTrackingTaskId": 4, "TimeTrackingCustomerId": 5, "Date": "2024-11-15", "Hours": 7.0, "Comments": "sample string 8", "SystemGenerated": true, "BilledAmount": 10.0, "BilledHours": 11.0, "WrittenOffHours": 12.0, "WrittenOffAmount": 13.0, "WeeklyEntries": [ { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 }, { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 } ], "MonthlyEntries": [ { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 }, { "ID": 1, "TimesheetIDs": [ 1, 2 ], "Date": "2024-11-15", "Hours": 3.0, "Comments": "sample string 4", "SystemGenerated": true, "SystemGeneratedHours": 6.0, "BilledHours": 7.0, "WrittenOffHours": 8.0, "WrittenOffAmount": 9.0, "ConsolidatedEntries": 10, "Locked": true, "LockedPartially": true, "BillableHours": 13.0, "BillableAmount": 14.0 } ], "Locked": true, "LockedPartially": true, "BillableHours": 16.0, "BillableAmount": 17.0, "$SaveAndToggle": true, "$TrackingCode": "sample string 19" } ]