Skip to main content
September 15, 2014
Question

Can I use REST API to search List?

  • September 15, 2014
  • 5 replies
  • 1174 views
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?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

September 16, 2014
September 16, 2014
Thanks.
September 18, 2014
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?
September 18, 2014
I do not think it's possible to use partial list names. 
September 18, 2014
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.