Symptom
You have noticed that entity DGPeoplePool is marked as "Supported Operations: Query"in OData API Data Dictionary, However when you tried to run a query for DGPoeplePool the API reponse giveing an error code as "ServerErrorException" and error message as "Query on this entity is unsupported!".
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental".
Environment
SuccessFactors
Reproducing the Issue
- Run a OData API Query For Eg: https://apisalesdemo4.successfactors.com/odata/v2/DGPeoplePool
- You may see the API response as below :
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>ServerErrorException</code>
<message lang="en-US">Query on this entity is unsupported!</message></error>
Cause
OData API DGPeoplePool supports query through custom function.
Resolution
- Query using the following custom functions and you can get DGPeoplePool in 'Custom Functions' field:
- getExpandedDynamicGroupById
- getExpandedDynamicGroupByName
- getExpandedDynamicGroupByNameAndSubType
Please refer SAP SuccessFactors HCM Suite OData API: Reference Guide : https://help.sap.com/viewer/28bc3c8e3f214ab487ec51b1b8709adc/latest/en-US/0b3a24f8de0648729b3afb531895e6bf.html?q=DgPeoplePool
See Also
https://launchpad.support.sap.com/#/notes/2215682
Keywords
DGPoeplePool, Supported Operations, Query, 'DGPoeplePool Supports query', OData API, 'OData API Data Dictionary' , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , Problem