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 TimesheetRecordName | 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. |
Request Formats
application/json, text/json
Sample:
[ { "date": "2024-12-22T06:24:08.824752+00:00", "project": 2, "username": "sample string 3", "hours": 4.0, "rmIngestTime": true }, { "date": "2024-12-22T06:24:08.824752+00:00", "project": 2, "username": "sample string 3", "hours": 4.0, "rmIngestTime": true } ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.