Symptom
Reassign Job Requisition via API does not Work For OperatorTeam.
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
Reproducing the Issue
- Run the method "reassignJobReq" via OData API;
- Change the Operators and the OperatorTeam;
- The system returns a confirmation of change.
Cause
The system returns a confirmation because you are reassigning the operators, but the OperatorTeam is not supported on Reassign Job Requisition.
Resolution
The Reassign Job Requisition operator via API, follows the same idea as it does on the UI. On the UI you can only Reassign the Job Requisition from Operators.
The Operator Teams cannot be reassigned, they can only be changed through the the Job Requisition itself, and the same happens if you are changing the operators through an API call.
To change the OperatorTeams on the UI, you will need to do an Upsert on the JobRequisition entity and update the recruiterTeam field or hiringManagerTeam field, updating the values inside that field. Here would be an example of Upsert:
OBS: Remember that if you have a Group associated to the Team, the user must be part of it.
Keywords
operator, team, recruiterteam, hiringmanagerteam, api, odata, upsert, insert, update, reassign, job, requisition. , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem