Symptom
You notice the below error message when you run the UserPermissions Odata API
"COE_ENTITY_NOT_FOUND"
"invalid entity (or function) name: UserPermissions"
Environment
Successfactors
Reproducing the Issue
Run the below odata api request
Request
https://apiX.successfactors.com/odata/v2/UserPermissions
Response
{
"error": {
"code": "COE_ENTITY_NOT_FOUND"
"message": {
"lang": "en-US"
"value": "invalid entity (or function) name: UserPermissions"
}-
}-
}
Cause
UserPermissions API cannot be consumed directly.
Resolution
UserPermissions odata API entity cannot be accessed directly.
It has to bind data record, then do an expand to fetch the corresponding user permission,
Example -
/odata/v2/User('avikas')?$expand=userPermissionsNav
Below is the API response.
See Also
http://help.sap.com/saphelpiis_cloud4hr/EN/SuccessFactors_HCM_Suite_OData_API_Handbook_en.pdf
http://help.sap.com/saphelpiis_cloud4hr/EN/SuccessFactors_HCM_Suite_OData_API_Reference_en.pdf
Keywords
UserPermissions api error , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , Problem