Need best API to add divisions to roles without hardcoding subjectIds.
What the best method and API to add divisions dynamically to roles without hardcoding subjectIds?
Please advise. This is in the context of creating a new user automatically based on what's in Dayforce and creating a user, assigning User to a division, assigning Roles with related Divisions etc.
In terms of the id's for roles/divisions and such you can gather those.
I tend to use powershell and GC tool to automate some admin tasks but you can also do with other SDKs like Python.