Symptom
It is required to fetch user information from static group via OData API.
Environment
- SAP SuccessFactors HCM suite
- Odata API
Cause
The static group ID is required to fetch, but only dynamic group are supported by API.
Resolution
To fetch user information from a static group, use the getUsersByDynamicGroup function import in the OData API.
Endpoint: https://<Hostname>/odata/v2/getUsersByDynamicGroup?groupId=<groupId>
- groupId: ID of the static group (E.g., 7228L)
- activeOnly (Optional): Set to True to get only active user, false for both active and inactive users. Default is False.
Note: The custom function getUsersByDynamicGroup parameter ‘groupId’ only supports Permission Groups as defined in the Admin Center's Manage Permission Groups screen.
See Also
Keywords
LOD-SF-INT-API, OData API, function import, static group, dynamic group, getUsersByDynamicGroup, DynamicGroup, API , KBA , LOD-SF-INT-DRM , Data Replication Monitor , How To