zoho.crm.searchRecords from Salesorders by id
Hi,
I'm trying to obtain salesorders data using searchRecords id but I don't know what is the id field name. I have tested with salesorderid, salesordersid, id, ... and a lot of names for the id field but always I get the error {"4832":"Invalid parameter value"}.
I only want to know what is the id field name to get the salesorder data.
I am using this code:
- sCriterioBusqueda = "(salesorderid|=|" + input.OrdenDeVenta_ID + ")";
- crmResp = zoho.crm.searchRecords("SalesOrders", sCriterioBusqueda);
- alert crmResp;
Please help!