Hello,
I need to search programs by name using a query parameter that may not be exactly the name of the program.
Example: Program name is "Search test" and the search name parameter is "Search".
Currently it only finds the program when I input exactly the same name, which is odd, because here http://developers.marketo.com/rest-api/assets/programs/#by_name you can clearly see an example with an incomplete parameter given.
Thanks.
Numerous examples don't actually work, unfortunately (it seems like some are just the wild imaginings of the tech writer as opposed to being dropped-in code!).
I don't see your example of the partial match. It seems more like request and response are incorrectly paired.
Request:
GET /rest/asset/v1/program/byName.json?name=Search&includeTags=true
Response:
{
}
Expected response:
{
[
}
What it seems is that Marketo doesn't have any searching feature for programs. Is that correct?
Correct. I'm saying there's no example that specifically shows otherwise (example response is not a partial match to the request, it's a total disjunction).
Oh, ok, I just noticed. Yes, they are not related.
Thanks!