The business units in our Org have a start date of the week as Sunday. This cannot be changed in Genesys once created. If this must be changed, the only option is to create a new business unit and move the mgmt units from the old BU to the new BU.
Due to a change in the payroll cycle from Sun-Sat to Mon-Sun, we created a new business unit and moved a mgmt unit to the new business unit with start date of the week as Monday and created the schedules in the new BU.
After this change, we are unable to access the agentschedules via this API for the schedules in the old business unit.
The schedules in the new Business unit are accessible.
Note: The management Unit ID has not changed. We just moved the Mgmt unit between BUs.
This API only needs the mgmt unit ID as an input parameter.
Hey thanks for reaching out, and apologies for the wait (you caught us on vacation).
The expected behavior depends on which route you're using to attempt to access the old schedules.
If you're using the published schedule search route, then these schedules would be completely inaccessible because this route only considers the current active schedule in the business unit (BU) the management unit (MU) now belongs to.
If you want to access schedules for the moved MU from the old (BU), you'll have to directly pull the schedules from the old business unit.
Note, for the schedules in the old BU, if the MU is in a different division than the old BU, that the user making the request will have to have access the the division of the BU even if they have access to the division of the MU in the new BU.