Clock in for the day

This will clock the user in for the day. If there are any automatic first activities configured for the facility, then that activity will also be started. For example, these properties must be sent as the request body (in JSON format) for this POST body (UserAttendanceDTO Object) API call:
  • userid: matthew.cenci@infor.com
  • action: clock in
  • prepunchgraceperiod: 10
  • postpunchgraceperiod: 10

These conditions may generate these messages:

If the ‘action’ field in the POST body is not clockin or clockout, this message will display:
Invalid Timeclock Action specified - must be clockin or clockout
If the ‘prepunchgraceperiod’ is less than 0 or more than 59, this message will display:
Pre-Punch grace period must be an integer between 0 and 59 (minutes)
If the ‘postpunchgraceperiod’ is less than 0 or more than 59, this message will display:
Post-Punch grace period must be an integer between 0 and 59 (minutes)
If the passed in user is not an active user in WMS, this message will display:
Invalid user id specified, or user is not active
If the user has already clocked in, and attempts to clock in again, this message will display:
User has an active attendance record; please clock out before attempting to clock in