cancel
Showing results for 
Search instead for 
Did you mean: 

Update values to initial

0 Kudos

I have an entity type with quite some fields. When we want to update the data for this entity type we only sent over the changed fields for performance reasons. In the implementation we only update the fields that have a value. We run into the problem that if we want to update a property back to the initial value, the implementation does not see this as an update.

Can I find out which fields are passed as a payload in the update?

If this is not possible, how should I solve this issue?

Do we always have to sent all fields for the update?

Thanks, Paul Lauwers
Applicaiton Engineer

IFF

Accepted Solutions (1)

Accepted Solutions (1)

SyambabuAllu
Contributor
0 Kudos

Hi Paul,

Try with PATCH method for your requirement.

Thanks,

Syam

0 Kudos

PATCH could be an option. I see that the Get Entity and Update Entity method are called. Is there a way that I can determine the HTTP-method in the Get Entity call. I can skip a lot of code when it is a PATCH.

Answers (0)