How can i pass value to tRestclient (Query parameter) from a previous tMap field in Talend Open studio?

Five Stars

How can i pass value to tRestclient (Query parameter) from a previous tMap field in Talend Open studio?

Note that I don't see any tRESTResponse in Open Studio.


Accepted Solutions
Community Manager

Re: How can i pass value to tRestclient (Query parameter) from a previous tMap field in Talend Open studio?

Hi
You need to iterate the input rows and add the parameters in Query parameters table list.
eg:
..tMap--out1--tFlowToIterate--iterate-->tRestClient
in Query parameters table list, add the parameter and set it's value like:
out1.columntName

The tRestRequest and tRestResponse components exist in Open Studio for ESB, not in Open Studio for Data Integration.

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post


All Replies
Community Manager

Re: How can i pass value to tRestclient (Query parameter) from a previous tMap field in Talend Open studio?

Hi
You need to iterate the input rows and add the parameters in Query parameters table list.
eg:
..tMap--out1--tFlowToIterate--iterate-->tRestClient
in Query parameters table list, add the parameter and set it's value like:
out1.columntName

The tRestRequest and tRestResponse components exist in Open Studio for ESB, not in Open Studio for Data Integration.

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog