Пример #1
0
 /// <summary>
 /// To update or modify the records in Zoho CRM
 /// </summary>
 /// <param name="ContactId">Specify unique ID of the record</param>
 /// <param name="Contact">Contact with updated data</param>
 /// <param name="parameters">
 /// Dictionary:                 key: wfTrigger,         value: Set value as true to trigger the workflow rule while inserting record into CRM Contact. By default, this parameter is false.
 ///                             key: newFormat	        value: (1 or 2)	newFormat=1: To exclude fields with "null" values while fetching data from your CRM Contact.
 ///                             key: version            value: (1 -4 Default value: 1)</param>
 /// <returns>True if updated successfully or throws an exception if it could not updated properly</returns>
 public bool updateRecords(long ContactId, Contacts Contact, Dictionary<string, string> parameters)
 {
     List<Contacts> listContacts = new List<Contacts>();
     listContacts.Add(Contact);
     return this.updateRecords(module, ContactId, listContacts, parameters);
 }
Пример #2
0
 /// <summary>
 /// To update or modify the records in Zoho CRM
 /// </summary>
 /// <param name="ContactId">Specify unique ID of the record</param>
 /// <param name="Contact">Contact with updated data</param>
 /// <returns>True if updated successfully or throws an exception if it could not updated properly</returns>
 public bool updateRecords(long ContactId, Contacts Contact)
 {
     List<Contacts> listContacts = new List<Contacts>();
     listContacts.Add(Contact);
     return this.updateRecords(module, ContactId, listContacts);
 }