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.


Re: Iterate a REST Response


Could you please refer to this related topic about:

Let us know if it is OK with you.

Best regards


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

Cloud Free Trial

Try Talend Cloud free for 30 days.


Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.