Symptom
- OData API call to JobApplication entity returning no results or only some depending on the API user.
- "Entity JobApplication with the given key is not found" when querying with an existing Job Application ID.
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
Scenario 1
- Run a GET query on the JobApplication entity.
- It returns no results.
- Run the query again using a different API user.
- It returns some of the job applications.
Scenario 2
- Run a GET query with an existing Job Application ID, e.g., /odata/v2/JobApplication(xxxx).
- It returns an error "Entity JobApplication with the given key xxxx is not found".
- Run the query again using a different API user.
- It returns the job application data.
Cause
The API user that runs the call does not have the necessary OData API admin permissions.
In this case, it only returns the Job Applications that the API user can access as an operator (Recruiter, Hiring Manager, etc.).
Resolution
Please assign the following permission to the API user via Manage Permission Roles:
- Recruiting Permissions -> OData API Application Export
Keywords
RCM, Job Application, Candidate, OData API, NotFoundException, OData API Application Export, Permission, RBP , KBA , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM , Recruiting Management , LOD-SF-RCM-APP , Applicants and Job Applications , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem