POST TimeTrackingTimesheet/GetWrittenOffByProjects
Gets list of written off time sheet entries for selected projects. Written off time is set when time on a time sheet is unbillable.
Request Information
This method supports OData queries.
URI Parameters
None.
Body Parameters
List of selected project ID's
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
Response Information
Resource Description
This collection is wrapped in a paging response object.
Paging response of Time Tracking TimesheetName | Type | Additional information | Description |
---|---|---|---|
TotalResults | integer |
None. |
|
ReturnedResults | integer |
None. |
|
Results | Collection of Time Tracking Timesheet |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalResults": 1, "ReturnedResults": 2, "Results": [ { "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" } ] }