Search Filtering via API

Search Filtering via API

Hi,

I'm interested in searching for specific file extensions in Zoho WorkDrive via the API (msg) file extensions.

In the API Documentation it says you can filter by any of the resources attributes or metadata.



As we can see the Extension ("extn") is an attribute of the file.


But when I call the API and include the filter[extn]=msg based on the documentation I receive the following error:

{"errors":[{"id":"F6012","title":"Number of parameters is more than specified"}]}

//Prepare query params
queryParams = "search%5Bcontent%5D=Example";
queryParams = queryParams + "&filter%5BparentId%5D=" + workdriveFolderId;
queryParams = queryParams + "&filter%5Bextn%5D=msg";
queryParams = queryParams + "&sort=created_time";
info queryParams;
//
searchClientWorkDriveFolder = invokeurl
[
url :"https://www.zohoapis.com/workdrive/api/v1/teams/rhhtw9f730d9XXXXXXXXXXX5decefc8d8/records?" + queryParams
type :GET
headers:headerMap
connection:"workdrive_connection"
];
info searchClientWorkDriveFolder;

Is there something I'm missing here?

Hugh Marshall