system.kanoa.schedule.checkForScheduleOverlap
Description
Checks a new event to schedule or modify, against the asset's current schedule and shift schedule if required and returns a list of start and endDates available.Syntax
getEventScheduleAdjustedTimes(scheduleOption, eventToSchedule, existingEvent)Parameters:
Returns:
Dictionary
Dictionary for eventToSchedule / existingEvent| Parameter | Type | Required | Notes | 
|---|---|---|---|
| startDate | datetime | Start of the event | |
| endDate | datetime | End of the event | |
| assetPath | string | Path of the asset | 
Dictionary
Dictionary for scheduleConfig| Parameter | Type | Required | Notes | 
|---|---|---|---|
| shiftTimeOnly | bool | If true, restrict scheduling to shift times | |
| intelligentScheduling | bool | When enabled, checks for overlap with existing events |