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
| - endDate | DateTime | |
| - startDate | DateTime |
scheduleBlockList List of Dictionaries: list of scheduleBlockInfo dictionaries
scheduleOption String: 'fixed' or 'override'
- userId: (int)
Returns
None
Example