ITimecardApiGetTimecards Method |
Gets time cards for given employees in a given time range.
Namespace: AMG.APIAssembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax EmployeeTimecards[] GetTimecards(
int[] employeeIds,
DateTime startDate,
DateTime endDate,
bool showAbsences
)
Function GetTimecards (
employeeIds As Integer(),
startDate As DateTime,
endDate As DateTime,
showAbsences As Boolean
) As EmployeeTimecards()
array<EmployeeTimecards^>^ GetTimecards(
array<int>^ employeeIds,
DateTime startDate,
DateTime endDate,
bool showAbsences
)
abstract GetTimecards :
employeeIds : int[] *
startDate : DateTime *
endDate : DateTime *
showAbsences : bool -> EmployeeTimecards[]
Parameters
- employeeIds
- Type: SystemInt32
Employee IDs - startDate
- Type: SystemDateTime
Inclusive start date to filter out time cards. - endDate
- Type: SystemDateTime
Inclusive end date to filter out time cards. - showAbsences
- Type: SystemBoolean
When true returns also empty time card for days for which employee was scheduled to work but was absent.
Return Value
Type:
EmployeeTimecardsReturns array of time cards.
See Also