Generate events to UI builder calendar from schedule entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 02:20 AM
Hi,
I am trying to generate events into the UI builder calendar component from schedule entries. Namely, I want to create an array of objects where each object represents an event in the calendar from the maintenance schedule:
I will be merging the maintenance schedule, blackout windows, and outages into one JSON. Outages are fine but I am struggling with how to get separate events in the calendar from schedule/schedule entries.
I was not able to find an API that would generate it, most API functions will just check if time is in schedule, but not return from when to when each entry is valid.
I need data which are behind this view
to generate data payload for this: