GET api/timesheet/status/{id}?weekEnding={weekEnding}
Gets the timesheet status for a specified user for a given time period.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The userID of the specified user. |
integer |
Required |
weekEnding |
The date (in yyyy-mm-dd format) of Sunday of the given week |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
TimesheetStatusName | 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
Sample:
{ "userID": 1, "userName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "email": "sample string 5" }