Example #1
0
 public NotifierClient(String conectionString, List <DynamicQueryParam> paramsDynamicTableDataEvent, List <RecipientType> recipientsType, String notificationName)
 {
     ParamsDynamicTableDataEvent = paramsDynamicTableDataEvent;
     RecipientsType  = recipientsType;
     ConectionString = conectionString;
     NotficationName = notificationName;
     Notification    = new ResolverNotify();
     SchemaTables    = new SchemaTables();
 }
Example #2
0
        public void SendNotification()
        {
            String json = JsonConvert.SerializeObject(new ConfigMsMFromContacto()
            {
                Password = "******", User = "******", PthBase = "http://www.appcontacto.com.co", ResourceBase = "wsurl"
            });
            INotify notify = new ResolverNotify();

            Assert.IsTrue(notify.Send("3183913780", "aqui", "puufff", json, TypeNotification.SMS, "Contacto", out String error));
        }