Tried to do rescheduling using the endpoint /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule and got a response as per below:
{
"status": "Processing",
"operationId": "32-char-id"
}
How can I get the processing completion notified? I have tried to use notification channel but could not find anything back. How can I try to get the updated result?
The rescheduling run sends a notification when complete. The overall process bears some similarity to updating a schedule, including subscribing to be notified when the rescheduling run completes. In general the steps are:
Subscribe to the notification topic described in the "updating a schedule" link above.
Run your reschedule operation
Wait for the completion notification
In case of a missed notification, you can also fetch the run status from this api resource
Once the reschedule run is complete, fetch the result from this api resource
Follow the process to update the schedule (same as linked above), copying over the suggested changes from the reschedule run as desired
It's worth noting that a rescheduling run must be "applied" (step 6, above) before it is possible to run another reschedule request on the same business unit.