SAP Knowledge Base Article - Public

2285351 - OData API entity EmpJob returns NULL Response

Symptom

Odata Entity EmpJob doesn't fetch values out dispite employment job information is currently present in the Success Factors UI.

result retrived after the OData call :

{
"d" :

{ "results" : [ ] }

}

Environment

SuccessFactors Odata 

Reproducing the Issue

trigger the URL from any rest client 

https://apiURL/odata/v2/EmpJob?$format=json

response:

{
"d" :

{ "results" : [ ] }

}

Cause

missing permissions

Resolution

  • Identify the User Role of the OData user who is queryying this URL.
  • Open the permission settings of the API user's role as shown in the below screenshot.
  • Traverse to Employee Central API under Administrator Permissions if the below boxed permissions are enabled, if these permissions are not enabled please have them enabled and try to reproduce the issue

empJob.JPG

Keywords

odata permission , EC odata permissions , employee job , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Suite 1602 ; SAP SuccessFactors HCM Suite 1605