SAP Knowledge Base Article - Public

2807876 - How to fetch Static Groups data using DynamicGroup OData API?

Symptom

How to fetch Static Groups data (e.g. groupId, groupName) using DynamicGroup OData API?

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP SuccessFactors HXM Suite

Resolution

  1. Make sure the Set User Permissions > Manage Role-Based Permission Access permission is granted to the API user
  2. Use the query: GET http://<api-server>/odata/v2/DynamicGroup?$filter=staticGroup eq true
  3. The response received would contain the data for Static Groups:

Response.PNG

Keywords

Static Group, DynamicGroup, groupId, ODATA, staticGroup, GET, Dynamic Group, staticGroup, query, retrieve, read , KBA , ss_anonymizedkba , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM Suite all versions