SAP Knowledge Base Article - Public

3008780 - ODATA query on the JobRequisitionOperator entity to get all operator names

Symptom

When the same user is assigned to multiple roles in the Job Requisition, and when you run a query which is similar to the one mentioned below to get all the operator details  :

https://apix.successfactors.com/odata/v2/JobRequisitionOperator?$format=JSON


The user who has multiple roles will be shown in the response only once and not multiple times based on the other roles the same user has.



Environment

SAP SuccessFactors Recruiting Management

Cause

Our Product Management team has confirmed this behavior. 

When the same user is assigned with multiple roles in a job requisition, ODATA always fetches the user only once in JobReqOperator ODATA query.



Resolution

Add All operators in the query which you need to report.

You can use an API query which is similar to the one mentioned below to get all list of values for different operators :

https://apiX.successfactors.com/odata/v2/JobRequisition(ID)?$format=JSON&$expand=recruiter,vpOfStaffing,approver,originator&$select=recruiter,vpOfStaffing,approver,originator

Keywords

oData, job requisition, JobRequisitionOperator, operator, operatorRole , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting 2011