Skip to main content

system.kanoa.schedule.adjustExistingEvents(scheduleTimes, scheduleBlockList, scheduleOption, -)

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


Parameters

scheduleTimes List of Dictionaries

- endDateDateTime
- startDateDateTime

scheduleBlockList List of Dictionaries: list of scheduleBlockInfo dictionaries
scheduleOption String: 'fixed' or 'override'
- userId: (int)


Returns

None


Example