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

sravankunadi
New Contributor II

image

@sravankunadi I am not 100% sure what you are looking for but looks like you can try filterValues=group.toString() this option to pass all 300 data as comma separated values.

Thanks Supratim.

I have used in the mapper and when i am trying to pass to the REST GET call, i am not able to make the successfull API call.
image

REST GET API Call (Passing the parameter $test as shown below)

image

Any help on this please?