GET api/timesheet/status/{id}?weekEnding={weekEnding}
Retrieves the timesheet status for a specific user for a given week ending date.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the user whose timesheet status is being queried. |
integer |
Required |
| weekEnding |
The week-ending date for which the timesheet status is requested. |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK with the user's timesheet status and basic profile information. On failure: HTTP 400 Bad Request with a descriptive error message.
TimesheetStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| userID |
The unique userID of the listed user |
integer |
None. |
| userName |
The unique username of the listed user |
string |
None. |
| firstName |
The listed user's first name |
string |
None. |
| lastName |
The listed user's last name |
string |
None. |
|
The listed user's email address |
string |
None. |
Response Formats
application/json, text/json, application/scim+json
Sample:
{
"userID": 1,
"userName": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"email": "sample string 5"
}