I just noticed some unexpected behavior today with the Architect API. If I send a PUT request to the ivrs endpoint to update the DNIS list on an IVR and don't include any flow properties (openHoursFlow, closedHoursFlow, scheduleGroup) those properties get cleared out. This happens when the flow is set to "Always route to call flow" with no schedule as well. I would think this is a bug since I don't expect the API to clear fields not included in the request. Has anyone else experienced this?
One question/suggestion, I know the PureCloud UI doesn't allow saving an IVR without some call flow associated, would it make sense for the API to throw an error in a situation like this? Based on the docs it seems it already does if a schedule group is provided without an open and close flow, but adding an error if you don't provide an open flow at all might be helpful.