Symptom
Error encountered while updating a job application through OData API: "jobReqId required, with the index 0".
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Try to upsert a job application through API
- An error is received.
POST: .../odata/v2/upsert?$format=json
Sample Request:
{
"__metadata":{
"type":"SFOData.JobApplication",
"uri": "JobApplication(application=xxx)"
},
"samplefield": "xxx"
}
Sample Response:
Cause
- The request contains an incorrect applicationId.
- The applicationId provided in the request belongs to an application of a deleted job requisition.
Resolution
Please provide a valid applicationId in the Upsert request.
While it is possible to retrieve the application ids of deleted job requisitions using API, it will not allow any update/upsert operation.
See Also
Keywords
Application entity, Odata, Deleted applications, jobReqId required with the index 0 , KBA , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM-APP , Applicants and Job Applications , Problem