SAP Knowledge Base Article - Public

2659412 - External employee / staff - OData API EmpJOB upsert error - WorkOrder for contingent worker does not exist


You are trying to upsert the following JobInfo (EmpJob) fields and you get an error:


Example payload:

"__metadata": {
"uri": ",startDate=datetime'2018-02-21T00:00:00',userId='123')",
"type": "SFOData.EmpJob"
"employmentType": "11",
"standardHours": "40",
"position": "11111111",
"location": "2222",
"costCenter": "33333",


ERROR response:

<?xml version="1.0" encoding="utf-8"?>
<content type="application/xml">
<d:editStatus m:null="true"></d:editStatus>
<d:message>WorkOrder for contingent worker 123 does not exist. Import the WorkOrder record for contingent worker 123 before importing Job History records.
<d:index m:type="Edm.Int32">0</d:index>
<d:httpCode m:type="Edm.Int32">500</d:httpCode>
<d:inlineResults m:type="Bag(SFOData.UpsertResult)"></d:inlineResults>


SuccessFactors Employee Central - OData API

Reproducing the Issue

Run your OData POST (upsert) and observe the error


Missing permissions


Your API user doesn't have permissions on work order . Please provide the permissions and check. 
Work Order related permissions are present in "Miscellaneous Permissions"


  • WorkOrder for contingent worker does not exist
  • OData API EmpJob upsert fail
  • External employee / staff
  • Job information interface fail
, KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , How To


SAP SuccessFactors HXM Core all versions