Iterate a REST Response

Four Stars

Iterate a REST Response

Hello everyone I could use some help:

 

I have a project where I do a REST Request with a tRESTClient and the answer that generates is an undefined number of a certain object. That object is composed of several variables like name, ID etc.

 

I want to map them all as global variables. How can I iterate a map or something so that I can do that? Kinda like a globalMap.put("ID"+{iterativeVariable}, first ID) etc.

 

Thank you in advanced.

Moderator

Re: Iterate a REST Response

Hello,

Could you please refer to this related topic about:https://community.talend.com/t5/Design-and-Development/how-to-iterate-tRESTClient-page-number-from-M...?

Let us know if it is OK with you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now