Symptom
- How to delete JobRequisitions via SFAPI?
- What are the permissions needed to delete them?
"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
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
- Go to 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, Req, ID, Requisition, JobRequisitions, Permission. , KBA , LOD-SF-RCM-API , Webservices & APIs , How To
Product
SAP SuccessFactors HCM Core all versions
SAP Knowledge Base Article - Public