Fetch only opened tickets
I am trying creating a custom function to only fetch records with statusType = Open.
orgId = "xxxx";
query = Map();
query.put("statusType","Open");
resp = zoho.desk.searchRecords(orgId,"Tickets",1,200,query);
info resp;
But I am getting this error:
{"errorCode":"UNPROCESSABLE_ENTITY","message":"Extra query parameter 'statusType' is present in the input."}
Is there smth that I have missed ? It’s driving me nuts.
Thanks.