Admin Portal
upsertTimeEntry
Use upsertTimeEntry to update an existing time entry or to insert a new time entry for an employee
When to use:
- When an employee forgets to clock in or clock out for a shift
- When an employee forgets to add a break in a shift
- When the clock in or clock out time for a shift needs amending
What it does:
- Inserts a time entry if no existing timeEntryId is provided
- Updates an exiting time entry if a timeEntryId is provided
- Ensures there is no overlap between inserted and updated time entries and any other shifts on the same day
- Triggers time card recalculation in accordance with the overtime rules for the policy
Note:
- To remove a shift entirely use the
deleteTimeEntryAPI - Use workDate when inserting a timeEntry, and timeEntryId when updating an existing time entry
POST
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Response
Time entry upserted
