Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Alpha549
Creator II
Creator II

Implement a patch REST method

Hello everyone,

 

I'm wondering something. How could I do if I had to implement a patch REST method ?

What I thought :

 

If an attribute is not in the body, it's value will be null in the job.

However, the key must be passed in the body to identify the targeted object.

Using this key, I could first get this object data.

And then, update the object only if the value of the attribute passed in the body is not null.

 

Is that a correct point of view ?

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

Here is a related topic about patch method with trestclient and feel free to let us know if it is what you are looking for.

https://community.talend.com/s/question/0D53p00007vCkxDCAS/patch-method-with-trestclient

Best regards

Sabrina