PUT api/timesheet/actuals

Updates actuals data for one or more projects and dates.

Request Information

URI Parameters

None.

Body Parameters

A list of actual records, each containing project ID, date, and actual value.

Collection of ActualRecord
NameDescriptionTypeAdditional information
project

Project id, the hours will be added to this project

integer

None.

username

The unique user name

string

None.

date

The Date that the fee was incurred

date

None.

amount

The Amount of the charg for these hours

decimal number

None.

Request Formats

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

Sample:
[
  {
    "project": 1,
    "username": "sample string 2",
    "date": "2025-11-21T03:20:13.06301+00:00",
    "amount": 4.0
  },
  {
    "project": 1,
    "username": "sample string 2",
    "date": "2025-11-21T03:20:13.06301+00:00",
    "amount": 4.0
  }
]

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.