PUT api/timesheet/weekly
Updates weekly timesheet records for one or more users and projects.
Request Information
URI Parameters
None.
Body Parameters
A list of weekly timesheet records, each containing username, week-ending date, and daily hours per project.
Collection of TimesheetWeeklyRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| weekEnding |
Week Ending date in the format yyyy-mm-dd, this should represent a Sunday. |
date |
None. |
| username |
The unique user name |
string |
None. |
| hours |
All resourced items for this user for this week |
Collection of TimesheetWeeklyHours |
None. |
| rmIngestTime |
If it's ingested |
boolean |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
[
{
"weekEnding": "2025-11-21T03:19:45.0669248+00:00",
"username": "sample string 2",
"hours": [
{
"project": 1,
"resource": 2,
"mon": 3.0,
"tues": 4.0,
"wed": 5.0,
"thurs": 6.0,
"fri": 7.0,
"sat": 8.0,
"sun": 9.0,
"monComment": "sample string 10",
"tuesComment": "sample string 11",
"wedComment": "sample string 12",
"thursComment": "sample string 13",
"friComment": "sample string 14",
"satComment": "sample string 15",
"sunComment": "sample string 16"
},
{
"project": 1,
"resource": 2,
"mon": 3.0,
"tues": 4.0,
"wed": 5.0,
"thurs": 6.0,
"fri": 7.0,
"sat": 8.0,
"sun": 9.0,
"monComment": "sample string 10",
"tuesComment": "sample string 11",
"wedComment": "sample string 12",
"thursComment": "sample string 13",
"friComment": "sample string 14",
"satComment": "sample string 15",
"sunComment": "sample string 16"
}
],
"rmIngestTime": true
},
{
"weekEnding": "2025-11-21T03:19:45.0669248+00:00",
"username": "sample string 2",
"hours": [
{
"project": 1,
"resource": 2,
"mon": 3.0,
"tues": 4.0,
"wed": 5.0,
"thurs": 6.0,
"fri": 7.0,
"sat": 8.0,
"sun": 9.0,
"monComment": "sample string 10",
"tuesComment": "sample string 11",
"wedComment": "sample string 12",
"thursComment": "sample string 13",
"friComment": "sample string 14",
"satComment": "sample string 15",
"sunComment": "sample string 16"
},
{
"project": 1,
"resource": 2,
"mon": 3.0,
"tues": 4.0,
"wed": 5.0,
"thurs": 6.0,
"fri": 7.0,
"sat": 8.0,
"sun": 9.0,
"monComment": "sample string 10",
"tuesComment": "sample string 11",
"wedComment": "sample string 12",
"thursComment": "sample string 13",
"friComment": "sample string 14",
"satComment": "sample string 15",
"sunComment": "sample string 16"
}
],
"rmIngestTime": true
}
]
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.