planningSlotSuggestions
Finds free windows for one execution of a course framework. The per-day resource profile comes from the framework planned lessons; availability is checked against real terms and the placed slots of the scenario.
Type: [PlanningSlotSuggestion!]!
Arguments
courseFrameworkID:String! — UID of the course framework.maxSuggestions:Int— Maximum number of suggestions.resourceTypes: [String!] — Restrict the check to these resource kinds (ROOM, PERSON, MATERIAL). Empty = all.scenarioID:String! — UID of the planning scenario.searchFrom: DateTimeISO! — Start of the search horizon.searchTo: DateTimeISO! — End of the search horizon (latest course start).siteID:Int— Restrict rooms to this site.
Example
Abschnitt betitelt „Example“query($courseFrameworkID: String!, $maxSuggestions: Int, $resourceTypes: [String!], $scenarioID: String!, $searchFrom: DateTimeISO!, $searchTo: DateTimeISO!, $siteID: Int) { planningSlotSuggestions(courseFrameworkID: $courseFrameworkID, maxSuggestions: $maxSuggestions, resourceTypes: $resourceTypes, scenarioID: $scenarioID, searchFrom: $searchFrom, searchTo: $searchTo, siteID: $siteID) { days { date finish moduleName sessionLabel } finish reason score siteID start }}