ITimecardApiGetTimecardsLite Method |
Gets lightweight 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 EmployeeTimecardsLite[] GetTimecardsLite(
int[] employeeIds,
DateTime startDate,
DateTime endDate,
bool showAbsences
)
Function GetTimecardsLite (
employeeIds As Integer(),
startDate As DateTime,
endDate As DateTime,
showAbsences As Boolean
) As EmployeeTimecardsLite()
array<EmployeeTimecardsLite^>^ GetTimecardsLite(
array<int>^ employeeIds,
DateTime startDate,
DateTime endDate,
bool showAbsences
)
abstract GetTimecardsLite :
employeeIds : int[] *
startDate : DateTime *
endDate : DateTime *
showAbsences : bool -> EmployeeTimecardsLite[]
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:
EmployeeTimecardsLiteReturns array of lightweight time cards.
See Also