system.kanoa.schedule.addScheduleBlockException
Description
Adds a schedule block exception. Formerly called addRecurringException.Syntax
addScheduleBlockException(scheduleBlockId, exceptionDate, userId)- scheduleBlockId (int) - ID of the schedule block.
- exceptionDate (datetime) - Date of the exception.
- userId (int) - User ID.
- Schedule block exception ID.
Code Example
# Example Usage:
schedule_block_id = 789
exception_date = ...
user_id = 101
exception_id = system.kanoa.schedule.addScheduleBlockException(schedule_block_id, exception_date, user_id)