/// <summary> /// To update or modify the records in Zoho CRM /// </summary> /// <param name="PurchaseOrderId">Specify unique ID of the record</param> /// <param name="PurchaseOrder">PurchaseOrder 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 PurchaseOrder. 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 PurchaseOrder. /// 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 PurchaseOrderId, PurchaseOrders PurchaseOrder, Dictionary<string, string> parameters) { List<PurchaseOrders> listPurchaseOrders = new List<PurchaseOrders>(); listPurchaseOrders.Add(PurchaseOrder); return this.updateRecords(module, PurchaseOrderId, listPurchaseOrders, parameters); }
/// <summary> /// To update or modify the records in Zoho CRM /// </summary> /// <param name="PurchaseOrderId">Specify unique ID of the record</param> /// <param name="PurchaseOrder">PurchaseOrder with updated data</param> /// <returns>True if updated successfully or throws an exception if it could not updated properly</returns> public bool updateRecords(long PurchaseOrderId, PurchaseOrders PurchaseOrder) { List<PurchaseOrders> listPurchaseOrders = new List<PurchaseOrders>(); listPurchaseOrders.Add(PurchaseOrder); return this.updateRecords(module, PurchaseOrderId, listPurchaseOrders); }