I'm looking a way to publish the schedule automaticaly with API.
explanation : A first version of schedule is released and has been published for all agents, each night the timeoff are imported from HR system in time off request menu. When the manager comes back on the schedule each morning, they have to manually click on the button "show time off request differences", click OK then click publish for republish the Schedule.
Is there a way to automatically publish the schedule ? (for avoid to manually click on show time off request differences in the schedule then click publish)?
Yes, I have found an API for reschedule for take in consideration the time off :
/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule
But I'm wondering how we can republish automatically the schedules with API.
thanks
jeremy
There is currently no direct way to do what you're looking for. I would recommend putting an idea in the ideas portal here: https://genesyscloud.ideas.aha.io/ideas
That said, doing what you want is technically possible to accomplish via the API, though far from trivial. It can be accomplished via the rescheduling api, applying the reschedule result to the schedule and then uploading the changed schedule to genesys cloud, but the process would be pretty complicated and comes with a great many caveats and limitations that would make me reluctant to recommend it.