leadinfo = {"Last_Name":ln,"Company":cp,"Email":em,"Phone":ph,"City":ci,"Country":cy,"Qty":qty,"Products2":pt,"Ownership":lo,"Lead_Source":ls,"cProduct":cpt,"IP":ip,"Form_URL":fu,"State":st,"First_Name":fn,"Account_Type":at,"Industries":in,"Implementation_Period":imp,"How_many_Customers":hc};
resp = zoho.crm.createRecord("Leads",leadinfo,{"trigger":{"workflow"}});
I would like to know if this is version 2.0 or 1.0.