GET api/timesheet?week={week}&user={user}&project={project}
Retrieves a detailed list of timesheet records for a specified week, user, and/or project.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| week |
Optional week-ending date to filter timesheet entries. |
date |
None. |
| user |
Optional user ID to filter timesheet entries by user. |
integer |
Default value is 0 |
| project |
Optional project ID to filter timesheet entries by project. |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK with a list of timesheet records including username, date, project ID, and hours logged. On failure: HTTP 400 Bad Request with a descriptive error message.
Collection of TimesheetRecord| Name | 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. |
| comment |
Entry comment |
string |
None. |
Response Formats
application/json, text/json, application/scim+json
Sample:
[
{
"date": "2025-11-21T01:50:12.1597677+00:00",
"project": 2,
"username": "sample string 3",
"hours": 4.0,
"rmIngestTime": true,
"comment": "sample string 6"
},
{
"date": "2025-11-21T01:50:12.1597677+00:00",
"project": 2,
"username": "sample string 3",
"hours": 4.0,
"rmIngestTime": true,
"comment": "sample string 6"
}
]