time-clock
Set a complete clocking record in one call
Sets clock-in, clock-out, and optional breaks for the event that best matches the member and the provided time. Supports three input variants:1. TIMESTAMPS (unix ms)2. ISO_DATE (ISO-8601 date time + optional worked hours)3. SHIFT_DATE (date + HH:mm:ss times). Use conflictBehavior to control what happens when clocking already exists. NOTE: event matching uses a ±12-hour window around the date and time specified by in at. If no event AND allowCreateUnplannedShift is true, a new shift will be created.
post/v1/public/time-clock/set
Request body
Response
Example response
{
"premiums": [
{
"names": {
"en": "night bonus",
"fr": "prime de nuit"
},
"calculationType": "AMOUNT: flat amount (+ 15$), HOURS: flat amount of hours (+ 1h), HOURLY_MULTIPLIER: multiply hourly rate (x 1.5/h), HOURLY_BONUS: flat hourly bonus (+ 1$/h)",
"code": "241"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.