PUT api/timesheet/ResetTimeForUser
Resets the recorded time entries for a specific user based on the provided timesheet information.
Request Information
URI Parameters
None.
Body Parameters
An object containing user ID, cutoff date, and flags indicating whether to apply cutoff and reset cost data.
TimesheetRowInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| tHours | decimal number |
None. |
|
| userId | integer |
None. |
|
| username | integer |
None. |
|
| p_node | integer |
None. |
|
| timesheetID | decimal number |
None. |
|
| entryDate | date |
None. |
|
| wkEnding | date |
None. |
|
| hasAmount | boolean |
None. |
|
| isBillable | boolean |
None. |
|
| noFileIngest | boolean |
None. |
|
| userroleid | integer |
None. |
|
| roleid | integer |
None. |
|
| cutOffDate | string |
None. |
|
| cuttOffWeekend | string |
None. |
|
| hasCutOff | boolean |
None. |
|
| isTimesheetMultiProject | boolean |
None. |
|
| metaFormGUID | string |
None. |
|
| metadata | string |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"tHours": 1.0,
"userId": 2,
"username": 3,
"p_node": 4,
"timesheetID": 5.0,
"entryDate": "2025-11-21T03:21:17.4913317+00:00",
"wkEnding": "2025-11-21T03:21:17.4913317+00:00",
"hasAmount": true,
"isBillable": true,
"noFileIngest": true,
"userroleid": 11,
"roleid": 12,
"cutOffDate": "sample string 13",
"cuttOffWeekend": "sample string 14",
"hasCutOff": true,
"isTimesheetMultiProject": true,
"metaFormGUID": "sample string 17",
"metadata": "sample string 18"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
On success: HTTP 200 OK with a boolean `true` indicating the reset was successful. On failure: HTTP 400 Bad Request with a generic error message.
booleanResponse Formats
application/json, text/json, application/scim+json
Sample:
true