I'm using the WFM API to pull some agent schedules and in the result I see the following for the activity code:
The highlighted activity code is shown as "3" but when I pull the activities via GetWorkforcemanagementBusinessunitActivitycodes() the activity codes are GUIDs. I trying to figure out how to correlate the two so that I can get the actual activity the agent is scheduled for.
Default activity codes use short integer values as their IDs to save space when they are repeated thousands of times in queries like this. ActivityCodeID=3 is a valid value (Meeting), which you can see if you do a GET on the businessunits/activityCodes route.
This:
GET api/v2/workforcemanagement/businessunits/{buid}/activitycodes
That does help. Thank you. Apparently the schedule I pulled was only using the default activities. When I looked at the details of the GET you posted I saw what you are talking about.