GET api/timeDashboard/weekTotalsForTeam/{supervisorID}?forDate={forDate}&showFullTeam={showFullTeam}
Get time week totals for list of employees.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supervisorID | integer |
Required |
|
| forDate | date |
Required |
|
| showFullTeam | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of timeTeamWeekTotals| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeID | integer |
None. |
|
| WeekTotal | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmployeeID": 1,
"WeekTotal": 2
},
{
"EmployeeID": 1,
"WeekTotal": 2
}
]
application/xml, text/xml
Sample:
<ArrayOftimeTeamWeekTotals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<timeTeamWeekTotals>
<EmployeeID>1</EmployeeID>
<WeekTotal>2</WeekTotal>
</timeTeamWeekTotals>
<timeTeamWeekTotals>
<EmployeeID>1</EmployeeID>
<WeekTotal>2</WeekTotal>
</timeTeamWeekTotals>
</ArrayOftimeTeamWeekTotals>