Skip to main content

system.kanoa.schedule.adjustExistingEvents

Description

Takes a list of scheduleTimes to be scheduled and a list of scheduleBlocks to be modified, and depending on the scheduleOption, will either have its start or end time modified, or deleted. If recurring scheduleBlock is affected, then an exception will be created

Syntax

adjustExistingEvents(scheduleTimes, scheduleBlockList, scheduleOption, userId)
  • Parameters
      scheduleTimes (list[dict])
      - startDate (datetime)
      - endDate (datetime)
  • Returns
      None