SAP Knowledge Base Article - Public

2622432 - How to create an Offer approval via OData API

Symptom

How to create / Insert the Offer approval

Environment

Successfactors Bizx Recruiting

Resolution

Please find the sample payload to use to create an offer approval .

https://apisalesdemo4.successfactors.com:443/odata/v2/JobOffer?$format=json

{"__metadata":
{"uri":"JobOffer","type":"SFOData.JobOffer"},
"applicationId":"*****",
"approvers":[
{"__metadata":{"uri":"JobOfferApprover","type":"SFOData.JobOfferApprover"}
,"username":"****"

}
],
"templateId":"*****"

}

In this case the user details you are using for ODATA is the Originator for the Approval . There is also a validation to check if the user has the permission to create the offer approver.

If the access is not there you will not be able to create the offer.

Keywords

KBA , LOD-SF-RCM-INT , Integrations & Intelligent Services , Problem

Product

SAP SuccessFactors HCM Core 1711