Search

getClockIns

Retrieve timeclock records.

An employee can be clocked in with API call clockIn and clocked out with clockOut.

Timeclock records are used for Time and Attendance Report. (If you have the module enabled on your ERPLY account, see Reports » Commission, timeclock » Time and Attendance Report.)

Input parameters

Parameter nameDescriptionPossible valueRequired
timeclockRecordIDTimeclock record IDInteger
employeeIDEmployee IDInteger
warehouseIDWarehouse IDInteger
notClockedOutIf set to 1, fetches only those timeclock records which have not been closed yetInteger (0 or 1)
inUnixTimeFromUnix timestamp
inUnixTimeUntilUnix timestamp
outUnixTimeFromUnix timestamp
outUnixTimeUntilUnix timestamp

Response

Field nameTypeDescription
timeclockRecordIDInteger
employeeIDInteger
warehouseIDInteger
InUnixTimeUnix timestampClock-in time
OutUnixTimeUnix timestampClock-out time. If employee has not clocked out yet, this field is set to 0.

This API call returns error 1006 if timeclock module is not enabled on this account.