Forum Discussion

sravankunadi's avatar
sravankunadi
New Contributor II
3 years ago

Batch records size of 300

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

    • Supratim's avatar
      Supratim
      Contributor III

      @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.

      • sravankunadi's avatar
        sravankunadi
        New Contributor II

        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.

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