Click or drag to resize
ITimecardApiGetTimecards Method
Gets time cards for given employees in a given time range.

Namespace: AMG.API
Assembly: 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
)

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: EmployeeTimecards
Returns array of time cards.
See Also