system.kanoa.schedule.getExistingEventAdjustedTimes
Description
Checks the existingEvent time against an eventToSchedule time and returns the existingEvent with adjusted time and an action i.e 'adjust' or 'delete'.Syntax
getExistingEventAdjustedTimes(scheduleOption, eventToSchedule, existingEvent)Parameters:
Returns:
Dictionary
Dictionary for eventToSchedule| Parameter | Type | Required | Notes |
|---|---|---|---|
| startDate | datetime | Start of the event to schedule | |
| endDate | datetime | End of the event to schedule |
Dictionary
Dictionary for existingEvent| Parameter | Type | Required | Notes |
|---|---|---|---|
| startDate | datetime | Start of the existing event | |
| endDate | datetime | End of the existing event |