Symptom
How to add users to a Static Group via ODATA API Call?
Environment
- SAP SuccessFactors HCM Suite
- OData API
Resolution
Step 1: Use KBA 2807876 - How to fetch groupID field for Static Groups via ODATA API Entity DynamicGroup? in order to find the groupId of the static group to which you want to add the users
Step 2: Use the below API GET Call to add the users to the static group:
Here groupId should be the ID of the static group received in Step 1, userIds should contain the user Ids of the users that you want to add to the Static Group.
Step 3: Response code 1 for the above query indicates successfull addition of the user to the static group.
PS: StaticGroup and DynamicGroup doesn't allow to create multiples groups for a single user according to the SAP SuccessFactors HCM Suite OData API: Reference Guide
See Also
Keywords
static group, add member to static group, dynmaic grioup, odata api entity, multiple groups , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , How To