SAP Knowledge Base Article - Public

3370154 - OData API call to JobApplication entity returning no results / Entity JobApplication with the given key is not found - Recruiting Management

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

  1. Run a GET query on the JobApplication entity.
  2. It returns no results.
  3. Run the query again using a different API user.
  4. It returns some of the job applications.

Scenario 2

  1. Run a GET query with an existing Job Application ID, e.g., /odata/v2/JobApplication(xxxx).
  2. It returns an error "Entity JobApplication with the given key xxxx is not found".
  3. Run the query again using a different API user.
  4. 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

Product

SAP SuccessFactors Recruiting all versions