Symptom
You wish to update FODynamicRole via OData API and receive an error similar to the following:
"Property dynamicRoleAssignmentId is not upsertable. Please check the property setting in Admin Center > OData API Data Dictionary or the entity metadata"
Since dynamicRoleAssignmentId is a business key, you wish to understand how SAP SuccessFactors knows which record to update if the key is not specified in the request
Environment
SAP SuccessFactors OData API
Resolution
Please note dynamicRoleAssignmentId is not upsertable and gets generated automatically by the API server upon creation. In your payload, please ensure you are adding the externalCode, as follows:
Sample payload:
See Also
Keywords
dynamicRoleAssignmentId, FODynamicRole, externalCode, OData API, Property dynamicRoleAssignmentId is not upsertable. Please check the property setting in Admin Center > OData API Data Dictionary or the entity metadata , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , How To