POST TimeTrackingTimesheet/GetWeeklyByDate
Get a list of Time Tracking Time Sheet entries for one week by Date.
Request Information
This method supports OData queries.
URI Parameters
None.
Body Parameters
The TimeTrackingTimesheetRequestModel.
Time Tracking Timesheet Request ModelName | Type | Additional information | Description |
---|---|---|---|
Date | nullable date |
None. |
Any date in the desired week. |
TimeTrackingUserId | nullable integer |
None. |
The Time Tracking User Id for which all Time Tracking Entries will be retrieved. |
Request Formats
application/json, text/json
Sample:
{ "Date": "2024-11-15", "TimeTrackingUserId": 1 }
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" } ] }