SAP Knowledge Base Article - Public

2701624 - How to identify the mandatory fields when upserting a record via ODATA API


When trying to upsert a record for ODATA API, you received the following error message as an example:

ERROR firstName is a required field and cannot be blank., nationality is a required field and cannot be blank., gender is a required field and cannot be blank.

Failed record info: PerPersonal/personIdExternal=XXXX

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


SuccessFactors BizX


Identifying all the required fields for an ODATA API entity can be found in the required column section of  ODATA API data dictionary.

For example, in the given error it was indicated that firstName,nationality and gender are all required field. To check this via ODATA API data dictionary:

1. Go to Admin center

2. ODATA API Data Dictionary


You can crossed check the required fields via Manage Business Config for entity in used for this example under Personal Information under the Mandatory section.


See Also

 2819154 - What is Odata API Data Dictionary? 


ODATA API Data Dictionary , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem


SAP Jam Collaboration 1805