Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using tRESTClient with API

Hi,

 

New to Talend and would appreciate some help on this issue!

 

We have built a basic pipeline to fix and standardise values in a few columns in a database. We have an API that we would like to use that can look at the records to be updated, and update this back in the database. This API has been tested outside of Talend and is working.

 

Any suggestions as to how to integrate the TRESTClient component into this pipeline build? Request and response media type is both JSON, assume some other Talend components will be required to convert/map/parse the data both before and after the TRESTClient component. At the moment the end point of our flow is at a TDBOutput and we're looking to replace this with the TRESTClient component.

 

Thanks

 

Labels (2)
1 Reply
lizzy1
Contributor III
Contributor III

I believe you want something like tRESTClient -> tExtractJSONFields -> (your current pipeline without TDBOutput) -> tWriteJSONFields->tRestClient

 

The first tRESTClient will do the get request to pull the information. Then you extract the JSON into columns, do your standardization, write the new JSON and push it through the API.