GET api/timesheet?week={week}&user={user}&project={project}
Returns a full list of timesheet data
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
week |
The date for the week ending (Sunday) to limit results to this one week, use format year-month-day |
date |
None. |
user |
User id to limit results to, leave blank to return all users |
integer |
Default value is 0 |
project |
Project id to limit results to, leave blank to return all projects |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Timesheet info
Collection of TimesheetRecordName | Description | Type | Additional information |
---|---|---|---|
date |
The date of the entry. |
date |
None. |
project |
Project id, the hours will be added to this project |
integer |
None. |
username |
The unique user name |
string |
None. |
hours |
Hours for this user on this item on this day |
decimal number |
None. |
rmIngestTime |
If it's ingested |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "date": "2024-09-08T03:18:36.2706553+00:00", "project": 2, "username": "sample string 3", "hours": 4.0, "rmIngestTime": true }, { "date": "2024-09-08T03:18:36.2706553+00:00", "project": 2, "username": "sample string 3", "hours": 4.0, "rmIngestTime": true } ]