SAP Knowledge Base Article - Public

3576211 - How to fetch user information from Static Groups via ODATA API on SuccessFactors system

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

Function Import | SAP Help Portal

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

Product

SAP SuccessFactors HCM Suite all versions