searchRecord API query with spaces in criteria content and value?
Hi,
Using curl to test a few API queries. Seeing issues when the criteria has space and values in it.
Good -> curl -s '
https://crm.zoho.com/crm/private/json/Tasks/searchRecords?' -d 'scope=crmapi&authtoken=$token&criteria=(Status:In Progress)'
---
{"response":
{"result":
{"Tasks":
{"row":[
{"no":"1","FL":[
....
---
but when I try a query with a space in the term it fails:
curl -s '
https://crm.zoho.com/crm/private/json/Tasks/searchRecords?' -d 'scope=crmapi&authtoken=$token&criteria=(Related To:Virgin Media)'
{"response": {"uri":"/crm/private/json/Tasks/searchRecords","error": {"code":4832,"message":"API call cannot be completed as the Criteria parameter contains empty field name"}}}
When I look up multiple records there is definitely at least one record -> {"content":"Virgin Media","val":"Related To"}
Thanks,
Aaron