trevorburke | 2020-07-07 21:14:10 UTC | #1
I understand some WFM API resources were deprecated recently, and I'm trying to fix our processes whereby we load agent schedule data into our warehouse.
I believe I've found the solution in: /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query. However, it appears to require managementUnitId in the request body. How do I relate a businessUnitId to a managementUnitId? I was under the impression that businessUnitId replaced managementUnitId
Thanks!
Langsford_Jay | 2020-07-09 14:07:42 UTC | #2
No, business units are a 'layer' on top of management units. A business unit can contain 1 or more management units.
To fetch MUs for a given BU, you need to use: https://developer.mypurecloud.com/api/rest/v2/workforcemanagement/#get-api-v2-workforcemanagement-businessunits--businessUnitId--managementunits
See the following articles below for more information in general on business units.
https://help.mypurecloud.com/articles/business-unit-key-principles/
https://help.mypurecloud.com/articles/workforce-management-auto-migration-key-concepts/
system | 2020-08-09 14:14:47 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 8220