Re: Can I use REST API to search List?

Anonymous
Not applicable

Can I use REST API to search List?

Using REST API, I can either get the whole List, or get one list by List ID
http://developers.marketo.com/documentation/rest/get-multiple-lists/
http://developers.marketo.com/documentation/rest/get-list-by-id/

My question is:
I have two thousands of List, can I use the REST API to search so that I get a subset of the LIst from the REST API based on my search criteria such as by List name, program name, workspace name, created at?
Tags (1)
5 REPLIES 5
Anonymous
Not applicable

Re: Can I use REST API to search List?

Anonymous
Not applicable

Re: Can I use REST API to search List?

Thanks.
Anonymous
Not applicable

Re: Can I use REST API to search List?

Murtza,

I tested that I can get the lists by giving exact list name, programName, or workspaceName using the API: http://developers.marketo.com/documentation/rest/get-multiple-lists/

However, I do not know how to search the list if I know a partial name. For examples, how do I search name "Marketing Contacts" if I only use word "marketing"? Similarly, Can I search programName or workspaceName by their partial name value correspondingly? If yes, what's the API syntax?
Anonymous
Not applicable

Re: Can I use REST API to search List?

I do not think it's possible to use partial list names. 
Anonymous
Not applicable

Re: Can I use REST API to search List?

The workaround would be not to specify a list name in this API call. This will return all lists. Then do matching on your end.