zoho.crm.searchRecords from Salesorders by id

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:

  1. sCriterioBusqueda = "(salesorderid|=|" + input.OrdenDeVenta_ID + ")";
  2. crmResp = zoho.crm.searchRecords("SalesOrders", sCriterioBusqueda);
  3. alert crmResp;

Please help!