Пример #1
0
        /// <summary>
        ///     Update the details of a manual reminder.
        /// </summary>
        /// <param name="reminder_id">The reminder_id is the identifier of the existing manual reminder.</param>
        /// <param name="update_info">The update_info is the Manualreminder object which contains the updation information.</param>
        /// <returns>System.String.<br></br>The success message is "Your payment reminder preferences have been saved."</returns>
        public ManualReminder UpdateManualReminder(string reminder_id, ManualReminder update_info)
        {
            var url        = baseAddress + "/manualreminders/" + reminder_id;
            var json       = JsonConvert.SerializeObject(update_info);
            var jsonstring = new Dictionary <object, object>();

            jsonstring.Add("JSONString", json);
            var response = ZohoHttpClient.put(url, getQueryParameters(jsonstring));

            return(SettingsParser.getManualReminder(response));
        }