Old Notation: newRecordInfo = Map(); newRecordInfo.put("Name","Property One"); newRecordInfo.put("sample.Apartment_Name",property.get("sample.Apartment_Name")); newRecordInfo.put("sample.Email",property.get("sample.Email")); newRecordInfo.put("sample__Secondary_Email",property.get("sample__Secondary_Email")); response = zoho.crm.create("sample.Properties",newRecordInfo); info response; New Notation: newRecordInfo = Map(); newRecordInfo.put("Name","Property One"); newRecordInfo.put("sample__Apartment_Name", property.get("sample__Apartment_Name")); newRecordInfo.put("Email",property.get("Email")); newRecordInfo.put("Secondary_Email",property.get("Secondary_Email")); response = zoho.crm.create("sample__Properties", newRecordInfo); info response; |
Old Notation: ZOHO.CRM.CONFIG.getOrgVariable("sample.oauthtoken").then(function(data){ console.log(data); }); var recordData = { "sample.Apartment_Name": "Skyline", "Name": "Property One" } ZOHO.CRM.API.insertRecord({Entity:"sample.Properties", APIData:recordData}) .then(function(data){ console.log(data); }); New Notation: ZOHO.CRM.CONFIG.getOrgVariable("sample__oauthtoken").then(function(data){ console.log(data); }); var recordData = { "sample__Apartment_Name": "Skyline", "Name": "Property One" } ZOHO.CRM.API.insertRecord({Entity:"sample__Properties",APIData:recordData}).then(function(data){ console.log(data); }); |