//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;