PUT api/timesheet

Ingest timesheet information, each record is for a user per week.

Request Information

URI Parameters

None.

Body Parameters

The Users details

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "date": "2024-10-17T16:34:34.429201+00:00",
    "project": 2,
    "username": "sample string 3",
    "hours": 4.0,
    "rmIngestTime": true
  },
  {
    "date": "2024-10-17T16:34:34.429201+00:00",
    "project": 2,
    "username": "sample string 3",
    "hours": 4.0,
    "rmIngestTime": true
  }
]

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

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.