system.kanoa.schedule.getExistingEventAdjustedTimes(scheduleOption, eventToSchedule, existingEvent)
Checks the existing event time against an eventToSchedule time and returns the existingEvent with adjusted time and an action i.e 'adjust' or 'delete'
Parameters
scheduleOption String: 'fixed', 'override'
eventToSchedule Dictionary: scheduleBlockInfo
| - endDate | DateTime | |
| - startDate | DateTime |
existingEvent Dictionary: scheduleBlockInfo
| - endDate | DateTime | |
| - scheduleBlockId | Integer | |
| - startDate | DateTime |
Returns
existingEvent Dictionary scheduleBlockInfo
dateAdjusted Boolean
Example