Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use trestclient in a loop

i need to loop the offset value in the below link in the url of trestclient

"https://flow.pluralsight.com/v3/customer/core/repos/?offset=0"

my api data consists on more than 5000 records but the api gives only 100 records of out put so if i can loop the offset values continuously then i can get till the end of the page.

the output of this api also gives the "next" in which it contains the next page value.

Labels (4)
4 Replies
fdenis
Master
Master

hi,

you may use something like that.


0683p000009M9tS.png

Anonymous
Not applicable
Author

as i am new to talend could you explain briefly and what url to be put into trestclient_2

fdenis
Master
Master

it's depend on your first return message and the pagination specification!
sorry
Anonymous
Not applicable
Author

Actually i am new to talend so please can you explain it briefly

because if i an giving the same url i it looping the same data multiple times