Symptom
You want to Delete JobRequisitions via SFAPI.
You also want to know the permission details to perform the deletion.
Environment
SuccessFactors System
Resolution
We may delete jobRequisitions using the below request xml:
In this example, We have used the SFAPI entity "JobRequisition$1" and the jobRequisition id "123"
Request XML
<soapenv:Body> <urn:delete> <urn:type>JobRequisition$1</urn:type> <urn:sfobject> <urn:id>123</urn:id> <urn:type>JobRequisition$1</urn:type> </urn:sfobject> </urn:delete> </soapenv:Body>
Response XML
<result> <jobStatus>OK</jobStatus> <message /> <objectEditResult> <id>123</id> <errorStatus>OK</errorStatus> <editStatus>DELETED</editStatus> <index>0</index> <message>Successfully deleted</message> </objectEditResult> </result>
To do this, Required permissions are to be enabled from Admin Tools in SF Company instance -
Navigation
Admin Tools - Manage permission Roles - (select the role to which the user is assigned to) - Click on "Permissions" box -Under Recruiting Permissions - Put a check mark on Delete Job Requisitions.
Keywords
SFAPI Delete operation, delete req id , KBA , LOD-SF-RCM-API , Webservices & APIs , How To