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
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

On success: HTTP 200 OK. On failure: HTTP 400 Bad Request with a descriptive error message.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/scim+json

Sample:

Sample not available.