0 Replies Latest reply on Apr 26, 2018 6:56 AM by Brian Miller

    rest api - search email by name byname.json

    Brian Miller

      Is there a way to use the Rest API search by email name using the beginning or middle part of the email's name?

       

      For instance:

      • If the email name is "aaaa bbbb cccc"
        • If I search for the text that's at the end of the name - "cccc" - everything is returned as expected
        • However, if I search for the beginning or middle portion of the name - "aaaa" or "bbbb" - it returns a message of "No assets found for the given search criteria."

       

      This is using the "/rest/asset/v1/email/byName.json?access_token={token}&name={emailname} endpoint.