Symptom
How to add users to a Static Group via OData API call?
Environment
- SAP SuccessFactors HCM Suite
- OData API
Resolution
Step 1: Fetch the groupId of the static group as explained in KBA 2807876 - How to fetch "groupId" field of Static Groups using SFOData.DynamicGroup entity?
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 is a list of users to be added to the static group.
Step 3: Response code 1 for the above query indicates successful addition of the user(s) to the static group.
See Also
- KBA 2807876 - How to fetch "groupId" field of Static Groups using SFOData.DynamicGroup entity?
- Function Import | SAP SuccessFactors API Reference Guide (OData V2) | SAP Help Portal
- KBA 3716650 - Add and Remove user from rbp group using odata api
Keywords
static group, add member to static group, dynamic group, odata api entity, function import , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , How To
SAP Knowledge Base Article - Public