Symptom
How to update an already anonymized candidate profile through SFAPI
Environment
SAP SuccessFactors Recruiting Management
Resolution
You will need to engage your implementation partner to make changes to the candidate profile through SFAPI.
Below is some sample code how to update a candidate's first name and last name in the candidate profile using SFAPI.
Please note you can update the candidate profile through SFAPI even when the candidate is anonymized.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<update xmlns="urn:sfobject.sfapi.successfactors.com">
<type>Candidate$10</type>
<sfobject>
<id>1472</id>
<type>Candidate$10</type>
<firstName>Joe</firstName>
<lastName>Soap</lastName>
</sfobject>
</update>
</Body>
</Envelope>
Note: It is not possible to update the jobApplication entity which has already been anonymized. Doing so will return an error in the response payload "operation is not supported as this application has been anonymized".
Keywords
API purge, SFAPI, Candidate, jobapplication, operation, anonymized, , KBA , LOD-SF-RCM-API , Webservices & APIs , How To