PUT api/timesheet
Updates timesheet records for one or more users, projects, and dates.
Request Information
URI Parameters
None.
Body Parameters
A list of timesheet records containing username, project ID, date, and hours worked.
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. |
Request Formats
application/json, text/json, application/scim+json
Sample:
[
{
"date": "2025-11-21T03:21:31.6019571+00:00",
"project": 2,
"username": "sample string 3",
"hours": 4.0,
"rmIngestTime": true,
"comment": "sample string 6"
},
{
"date": "2025-11-21T03:21:31.6019571+00:00",
"project": 2,
"username": "sample string 3",
"hours": 4.0,
"rmIngestTime": true,
"comment": "sample string 6"
}
]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
On success: HTTP 200 OK. On failure: HTTP 400 Bad Request with a descriptive error message.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample:
Sample not available.