Symptom
Is it possble to move the Job Requisition throughout the approval process using only OData API?
Environment
SAP SuccessFactors Recrutiing Management
Resolution
Yes, this has become possible on b1811.
Five different methods have been implemented: geJobReqApprovalActions, sendJobReqToNextStep, sendJobReqtoPreviousStep, approveOrDeclineJobReqForm(Approve and Decline) and sendJobReqFormToUser.
.
Function: getJobReqApprovalActions
Description: This method is to get the form button actions.
Input parameters: formDataId and userSysId
Type: POST
Sample URL: /odata/v2/getJobReqApprovalActions?formDataId=27528L&usersSysId='170799'&$format=json
.
Function: sendJobReqToNextStep
Description: This method send the form to the next step on the approval process.
Input parameters: jobReqId and comment
Type: POST
Sample URL: /odata/v2/sendJobReqToNextStep?jobReqId=30084L
.
Function: sendJobReqToPreviousStep
Description: Send the form to the previous step
Input parameters: jobReqId and comment
Type: POST
Sample URL: /odata/v2/sendJobReqToPreviousStep?jobReqId=20783L&comment='abc'&$format=json
.
Function: approveOrDeclineJobReqForm
Description: This method allows you to Approve or Decline a job req peding approval.
Input parameters: jobReqId, actionType and comment
Type: POST
Approve Sample URL: /odata/v2/approveOrDeclineJobReqForm?jobReqId=30944L&actionType=APPROVE
Decline Sample URL: /odata/v2/approveOrDeclineJobReqForm?jobReqId=30684L&actionType=DECLINE
.
Function: sendJobReqFormToUser
Description: Reassging job req form to a specific user.
Input parameters: jobReqId and userId
Sample URL: /odata/v2/sendJobReqFormToUser?jobReqId=30924L&userId='88990'
See Also
Keywords
decline, approve, send, requisition, route, map, comment, job, req, approval, process, odata, using, requisition, move, around, next, previous, step , KBA , LOD-SF-RCM-API , Webservices & APIs , How To