Symptom
Is it possible to close or reopen a job requisition using SFAPI?
Environment
SAP SuccessFactors Recruiting Management
Resolution
- Use an UPDATE operation on the JobRequisition Entity.
- In the payload request include Job Req ID, Job Req Status and Job Req Internal Status.
For Example:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header />
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<update xmlns="urn:sfobject.sfapi.successfactors.com">
<type>JobRequisition$3</type>
<sfobject>
<urn:type xmlns:urn="urn:sfobject.sfapi.successfactors.com">JobRequisition$3</urn:type>
<id>294069</id>
<status xmlns="">Open</status>
<jobReqStatus xmlns="">1</jobReqStatus>
</sfobject>
</update>
</s:Body>
</s:Envelope> - If you are closing a job requisition, include jobCloseDate.
Note: You can only re-open the requisition based on previous jobReqStatus. If the requisition is still in pre-approved state when it was closed, you can only re-open it in the pre-approved state.
See Also
2709004 - Closing a job requisition using SFAPI
Keywords
Close, open, reopen, job requisition, api, sfapi, status, jobReqStatus , KBA , LOD-SF-RCM-API , Webservices & APIs , How To
Product
SAP SuccessFactors Recruiting all versions