This content has been marked as final. Show 5 replies
Can you try replacing <staticListId>MyProgram.MyList</staticListId> with the Id of your list
To find your list Id open it up in Marketo and the URL it should look something like:
#ST stands for static list and
3889 is the list Id in this case.
Thank you Cathal for helping me.
I've tried with the following code (my list URL is https://app-abq.marketo.com/#ST29654B2LA1) :
But the results is the same. I'm using 2.7 API Endpoint.
By the way I have edited my first post because I'm using the <staticListName> tag when I call the API with the list name. It was a typo.
I am not sure what the error is. As an alternate solution, you could use the REST API for this use case. We have sample code for getting multiple leads with a list id: http://developers.marketo.com/documentation/rest/get-multiple-leads-by-list-id/
Thank you Murtza.
I made it works using the Java SDK wrapper so basically I'm happy with that. But just to know it the error is from my side or not, did you reproduce the error ? or is it working for you ?
PS: The REST API works perfectly