SAP Knowledge Base Article - Public

3090009 - EmpEmployment entity's "okToRehire" field is not upsertable - SAP SuccessFactors OData API


Passing the "okToRehire" field in an EmpEmployment upsert request returns an ERROR with the following message:

<d:message>Property okToRehire is not upsertable. Please check the property setting in Admin Center &gt; OData API Data Dictionary or the entity metadata.</d:message>

Sample request


NOTE: Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


SAP SuccessFactors HXM Suite


"okToRehire" is a field that's associated to an employee's termination, therefore it is available as read-only in the EmpEmployment entity and cannot be upserted.


If you wish to change this field (and other information related to termination), you must perform an upsert to the EmpEmploymentTermination entity.

Please refer to this page from the Employee Central OData API Reference Guide: EmpEmploymentTermination


<d:message>Property okToRehire is not upsertable. Please check the property setting in Admin Center &gt; OData API Data Dictionary or the entity metadata.</d:message>, upsert, payload, message, error, response, integration, change, modify, edit, call, request, insert, post, employee, central, employment, rehire, termination, terminate
, KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , Problem


SAP SuccessFactors HXM Suite all versions