Params

Param name Description
work_time_entry
required

Validations:

  • Must be a Hash

work_time_entry[user_id]
optional

User ID. Falls back to current user’s ID.

Validations:

  • Must be a Integer

work_time_entry[start_time]
required

Work-time start, e.g. "2025-11-17T08:00:00.000Z".

Validations:

  • Must be a Integer

work_time_entry[end_time]
required

Work-time end, e.g. "2025-11-17T08:00:00.000Z".

Validations:

  • Must be a Integer

work_time_entry[total_break_minutes]
optional

Total breaks duration in minutes.

Validations:

  • Must be a Integer

work_time_entry[description]
optional

Work-time entry description.

Validations:

  • Must be a String

work_time_entry[entry_type]
optional

Entry type. Default: "regular".

Validations:

  • Must be one of: regular, on_call, travel, training, staggered.

work_time_entry[treat_extra_time_as]
optional

Whether to treat overtime as flex or as paid overtime.

Validations:

  • Must be one of: not_selected, flex, paid_overtime.