GET api/timesheet/GetThisWeekTimesheetForUser
Retrieves the timesheet record for a specific user and week-ending date.
Request Information
URI Parameters
None.
Body Parameters
An object containing the user ID and week-ending date.
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:18.4060676+00:00",
"wkEnding": "2025-11-21T03:21:18.4060676+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 the timesheet record for the specified user and week. On failure: HTTP 400 Bad Request with a descriptive error message.
DataRowResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| dataInfo | DataSet |
None. |
Response Formats
application/json, text/json
Sample:
{}
application/scim+json
Sample:
{
"dataInfo": null
}