public class PropertyInfo { public int propertyID { get; set; } public string propValue { get; set; } } [WebMethod] public string UpdatePropertyLMS(int interactionId, string Lead_Status, string Interaction_state) { //int interactionId = 0; string errorMsg = ""; LMSWebRef.InteractionWebService obj = LMSWebRef.InteractionWebService(); List<propertyinfo> propData = new List<propertyinfo>(); PropertyInfo prop1 = new PropertyInfo(); prop1.propertyID = 23329; prop1.propValue = Lead_Status.ToString(); propData.Add(prop1); PropertyInfo prop2 = new PropertyInfo(); prop2.propertyID = 5; prop2.propValue = Interaction_state.ToString(); propData.Add(prop2); obj.UpdatePropertyTab(interactionId, propData.ToArray(), true, true, errorMsg); return errorMsg; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)