Symptom
How to GET the Operator and the OperatorTeam via OData API in Recruiting Management.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Recruiting Management
Resolution
The Recruiting Management module has two different entities where this information can be found:
- JobRequisitionOperator: This entity stores all the operators information, every single one of them, being it part of an OperatorTeam, or the Operator itself.
It is possible to query the information, but this entity has a combined Key for filtering.
GET: https://apisalesdemo4.successfactors.com:443/odata/v2/JobRequisitionOperator?$format=json&$top=1
Result:
As it is possible to see on the result, it is not possible to differentiate one operator from an operatorTeam on this entity, since it is only a list of operators for some specific requisition. - JobRequistion: This entity would be the most adequate to use to query the operators/operatorTeams, as this would give you different fields for each one of them, and you can filter more easily, since the key is only the Id of the Job Requisition.
Inside the JobRequisition entity, we have one field for the Operator, for example "recruiter" and one field for the operatorTeam, for example "recruiterTeam".
GET operator: https://apisalesdemo4.successfactors.com:443/odata/v2/JobRequisition(57)?$format=json&$expand=recruiter&$select=recruiter
Result:
GET operatorTeam: https://apisalesdemo4.successfactors.com:443/odata/v2/JobRequisition(57)?$format=json&$expand=recruiterTeam&$select=recruiterTeam
Result:
Differently from the recruiter field, this result will have multiple entries, one for each user that is part of the Team.
Keywords
operator, team, operatorteam, odata, api, job,requisition, jobrequisition, get, query, operators, jobrequisitionoperator , KBA , LOD-SF-RCM-API , Webservices & APIs , How To
Product
SAP SuccessFactors Recruiting all versions