attendance_schedules

Create attendance schedule

Creates an expected work shift for a user.

Returns the created attendance schedule.

For repeating schedules, specify repeat_schedule (weekly/bi_weekly) and weekdays. Use repeat_until to set an end date. Use excluded_dates to skip specific dates.

post/v2/organizations/{organization_id}/attendance_schedules

Request

Path parameters

organization_idinteger required

Request body

user_idinteger required

User ID

start_datestring date required

Attendance Schedule Start Date

start_timestring required

Attendance Schedule Start Time, 24 hour time in 30 minutes intervals (h:mm)

durationinteger required

Shift duration in seconds

minimum_timeinteger required

Minimum shift time in seconds

use_time_zone'organization' | 'user' required

What time zone to use

repeat_schedule'never' | 'weekly' | 'bi_weekly' required

Shift repetition schedule

weekdaysstring[]

Shift repetition week days

repeat_untilstring date

Shift end date

excluded_datesstring[]

Excluded dates from the repetition schedule

Response

attendance schedule created

Changes

No recorded changes to this operation across all 1 revision of this API.