cancel
Showing results for 
Search instead for 
Did you mean: 

Batch records size of 300

sravankunadi
New Contributor II

I would like to get the marketo leads and i am using the Get leads by filter type REST API

My input batch size is 300 and would like to pass the input parameter to REST SNAP with the comma seperated value

Input Snap and data as shown below:

Uploading: image.png…

I would like to pass this input batch of records to my next API call to the filterValues=1234,4556,4566,etc till 300 records

lib.env.marketo.api+‘rest/v1/leads.json?filterType=id&filterValues=&fields=id,activeNurture,address’

Any inputs on how to pass the input records in a batch of 300 to the API

I have attached the complete pipeline

5 REPLIES 5

Hi @sravankunadi ,

You are missing the concatenation. where ever your are trying to replace the value dynamically you need to use the " or ' along with +. In your case, the expression should go like below.

lib.env.marketo.api+‘rest/v1/leads.json?filterType=id&filterCalues=’+$test+‘&fields=id,active,--------------------’